Advertise-Label - HP FlexFabric 12500 Command Reference Manual

Routing switch series, mpls
Table of Contents

Advertisement

Related commands
display mpls ldp peer verbose
ip prefix-list (Layer 3—IP Routing Command Reference)

advertise-label

Use advertise-label to configure a label advertisement policy.
Use undo advertise-label to delete a label advertisement policy.
Syntax
advertise-label prefix-list prefix-list-name [ peer peer-prefix-list-name ]
undo advertise-label prefix-list prefix-list-name
Default
No label advertisement policy is configured. The device advertises label mappings permitted by the LSP
generation policy to all peers.
Views
LDP view, LDP-VPN instance view
Predefined user roles
network-admin
mdc-admin
Parameters
prefix-list prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63
characters. This prefix list filters advertised label mappings.
peer peer-prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63
characters. This prefix list filters LDP peers. If you do not specify this option, the device advertises label
mappings to all peers.
Usage guidelines
Use a label advertisement policy to filter label mappings advertised to peers.
You can configure multiple label advertisement policies by executing this command multiple times.
LDP follows these rules to control label advertisement:
LDP advertises a label mapping to its peers only if the IP prefix in the mapping matches a permit rule
in any advertisement policy.
If the IP prefix of a label mapping passes an advertisement policy that has no peer IP prefix list (peer
peer-prefix-list-name not specified), LDP advertises the label mapping to all peers.
If the IP prefix of a label mapping passes an advertisement policy that has a peer IP prefix list, LDP
advertises the label mapping to the peers permitted by the peer IP prefix list.
If the IP prefix of a label mapping passes multiple advertisement policies, LDP advertises the label
mapping according to the first configured policy.
Using a label advertisement policy on an LSR or using a label acceptance policy on its upstream LSR can
achieve the same purpose. HP recommends that you use the label advertisement policy to reduce
network load.
26

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flexfabric 12500e

Table of Contents