R3303-HP HSR6800 Routers MPLS Command Reference
65
prefix-label advertise
Use prefix-label advertise to configure LDP to advertise prefix-based labels through remote sessions.
Use undo prefix-label advertise to restore the default.
Syntax
prefix-label advertise
undo prefix-label advertise
Default
LDP does not advertise prefix-based label through a remote session.
Views
MPLS LDP remote peer view
Default command level
2: System level
Usage guidelines
A device can advertise prefix-based labels to its remote peers through remote sessions only after you
have configured the prefix-label advertise command. However, a device can receive labels advertised
by its remote peers no matter whether you have configured this command or not.
After the device receives labels advertised by the peer, the corresponding LDP LSP can be established if
the following conditions are met:
• The FEC's outgoing interface is the MPLS TE tunnel interface.
• The destination address of the MPLS TE tunnel, the remote peer address specified through the
remote-ip command, and the LSR ID of the remote peer are the same.
• The MPLS TE tunnel interface is enabled with the MPLS capability.
Examples
# Configure LDP to advertise prefix-based labels through a remote session.
<Sysname> system-view
[Sysname] mpls ldp remote-peer bji
[Sysname-mpls-ldp-remote-bji] prefix-label advertise
remote-ip
Use remote-ip to configure the remote peer IP address.
Use undo remote-ip to remove the configuration.
Syntax
remote-ip ip-address
undo remote-ip
Views
MPLS LDP remote peer view










