69
Label advertisement control
Label advertisement control is for filtering label bindings to be advertised. A downstream LSR advertises
only the label bindings of the specified FECs to the specified upstream LSR. As shown in Figure 20,
do
wnstream device LSR A advertises to upstream device LSR B only label bindings with FEC destinations
permitted by prefix list B, and advertises to upstream device LSR C only label bindings with FEC
destinations permitted by prefix list C.
Figure 20 Network diagram of label advertisement control
Configuration prerequisites
Before you configure LDP label filtering policies, create an IP prefix list. For information about IP prefix list
configuration, see Layer 3—IP Routing Configuration Guide.
Configuration procedure
For two neighboring LSRs, configuring a label acceptance control policy on the upstream LSR and
configuring a label advertisement control policy on the downstream LSR have the same effect. To reduce
network traffic, HP recommends configuring only label advertisement control policies.
To configure LDP label filtering policies:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter MPLS LDP view.
mpls ldp N/A
3. Configure a label acceptance
control policy.
accept-label peer peer-id ip-prefix
ip-prefix-name
Optional.
Not configured by
default.
4. Configure a label advertisement
control policy.
advertise-label ip-prefix ip-prefix-name
[ peer peer-ip-prefix-name ]
Not configured by
default.
Configuring a DSCP for outgoing LDP packets
The DSCP is carried in the ToS field of the IP header. It marks the priority of the packet. Perform this task
to configure a DSCP value for outgoing LDP packets.
Adv
e
rtis
e
label
bindings
per
mit
t
ed
b
y
p
refix list C