Figure 15 Label advertisement control diagram
A label advertisement policy on an LSR and a label acceptance policy on its upstream LSR can achieve
the same purpose. HP recommends that you use label advertisement policies to reduce network load if
downstream LSRs support label advertisement control.
Before you configure an LDP label advertisement policy, create an IP prefix list. For information about IP
prefix list configuration, see Layer 3—IP Routing Configuration Guide.
To configure a label advertisement policy:
Step
1.
Enter system view.
2.
Enter LDP view or enter
LDP-VPN instance view.
3.
Configure
advertisement policy.
Configuring a label acceptance policy
A label acceptance policy uses an IP prefix list to control the label mappings received from a peer.
As shown in
label mappings from LSR C.
Command
system-view
•
Enter LDP view:
mpls ldp
•
Enter LDP-VPN instance view:
a.
b.
a
label
advertise-label prefix-list prefix-list-name
[ peer peer-prefix-list-name ]
Figure
16, LSR A uses an IP prefix list to filter label mappings from LSR B, and it does not filter
mpls ldp
vpn-instance vpn-instance-name
30
Remarks
N/A
N/A
By default, LDP advertises all
label mappings permitted by the
LSP generation policy to all peers.