R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide

61
Examples
# Check the connectivity of the LSP to destination 3.3.3.9/32.
<Sysname> ping lsp ipv4 3.3.3.9 32
LSP Ping FEC: IPV4 PREFIX 3.3.3.9/32 : 100 data bytes, press CTRL_C to break
Reply from 100.1.2.1: bytes=100 Sequence=0 time = 31 ms
Reply from 100.1.2.1: bytes=100 Sequence=1 time = 62 ms
Reply from 100.1.2.1: bytes=100 Sequence=2 time = 62 ms
Reply from 100.1.2.1: bytes=100 Sequence=3 time = 62 ms
Reply from 100.1.2.1: bytes=100 Sequence=4 time = 62 ms
--- FEC: IPV4 PREFIX 3.3.3.9/32 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 31/55/62 ms
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