Mpls Ldp Advertise-Labels Old-Style - Zte ZXR10 8900 Series Command Reference Manual

10 gigabit routing switch
Hide thumbs Also See for ZXR10 8900 Series:
Table of Contents

Advertisement

ZXR10 8900 Series Command Reference (MPLS)
Example
Related
Commands
Purpose
16
Confidential and Proprietary Information of ZTE CORPORATION
iii. In the case that one (prefix acl, peer acl) pair "applied to"
the prefix, the label is not advertised to any neighbor if
prefix acl denies the prefix.
iv. If prefix acl permits the prefix and there is no peer acl
(namely none), the label is advertised to all neighbors.
v. If prefix acl permits the prefix and there is one peer acl, the
label is advertised to all neighbors permitted by peer acl.
Tip:
This command takes effect immediately after its configuration.
The command can be configured only when the network in sta-
ble status. Otherwidse, it could not take effect immediately. Do
not use this command frequently.
1. This example describes how to forbid the router from advertis-
ing any label to any neighbor.
ZXR10(config)#no mpls ldp advertise-labels
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.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents