Mpls Ldp Advertise-Labels Old-Style - Zte ZXR10 Command Manual

Router/ethernet switch
Hide thumbs Also See for ZXR10:
Table of Contents

Advertisement

ZXR10 Command Manual (MPLS Volume)
Related
Commands
Purpose
Command Modes
Syntax
Defaults
Instructions
14
Confidential and Proprietary Information of ZTE CORPORATION
2. This example describes how to make the router advertise labels
of networks 10.101.0.0 and 10.221.0.0 to all neighbors.
ZXR10(config)#ip access-list standard 10
ZXR10(config-std-nacl)#permit 10.101.0.0 0.0.255.255
ZXR10(config-std-nacl)#permit 10.221.0.0 0.0.255.255
ZXR10(config-std-nacl)#exit
ZXR10(config)#mpls ldp advertise-labels for 10
ZXR10(config)#no mpls ldp advertise-labels
3. This example describes how to make the router advertise
the 59.0.0.0 label to LSR 155.0.0.55 only and advertise the
35.0.0.0 label to LSR 133.0.0.33 only.
ZXR10(config)#ip access-list standard 10
ZXR10(config-ext-nacl)#permit 59.0.0.0 0.255.255.255
ZXR10(config-ext-nacl)#exit
ZXR10(config)#ip access-list standard 11
ZXR10(config-ext-nacl)#permit 155.0.0.55 0.0.0.0
ZXR10(config-ext-nacl)#exit
ZXR10(config)#ip access-list standard 20
ZXR10(config-ext-nacl)#permit 35.0.0.0 0.255.255.255
ZXR10(config-ext-nacl)#exit
ZXR10(config)#ip access-list standard 21
ZXR10(config-ext-nacl)#permit 133.0.0.33 0.0.0.0
ZXR10(config-ext-nacl)#exit
ZXR10(config)#mpls ldp advertise-labels for 10 to 11
ZXR10(config)#mpls ldp advertise-labels for 20 to 21

mpls ldp advertise-labels old-style

mpls ldp advertise-labels
old-style
Use this command to allow the <prefix-access-list> argument af-
ter the keyword for in the mpls ldp advertise-labels command
to be interpreted according to the earlier Cisco IOS software re-
leases. To disable this feature, use the no form of this command.
Global configuration

mpls ldp advertise-labels old-style

no mpls ldp advertise-labels old-style
By default, ZXR10 interprets the parameter <prefix-access-list>
after the keyword for according to the rule described in the in-
struction of the mpls ldp advertise-labels command.
Generally, the parameter <prefix-access-list> after the keyword
for conforms to the following rules:
One (prefix acl, peer acl) pair "applies to" a prefix only when the
prefix ACL "matches" the prefix, and the match condition is that
the prefix ACL permits the prefix. This is the general processing
method of access list.
In the early Cisco IOS version, however, the parameter <prefix-ac
cess-list> after the keyword for in the mpls ldp advertise-labels
command is interpreted in a different way as follows:
One (prefix acl, peer acl) pair "applies to" a prefix only when the
prefix ACL "matches" the prefix, and the match condition is that

Advertisement

Table of Contents
loading

Table of Contents