59
1.1.1.9:0 2.2.2.9/32 NULL/1027 -------/Vlan2
2.2.2.9:0 1.1.1.9/32 1027/NULL Vlan2/-------
----------------------------------------------------------------
The Total LDP CR-LSP(s): 2
display mpls ldp fec
Description
Use the display mpls ldp fec command to display the label advertisement information of a specified FEC.
Syntax
display mpls ldp fec [ vpn-instance vpn-instance-name ] dest-addr mask-length [ | { begin | exclude |
include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
vpn-instance vpn-instance-name: Displays the label advertisement information of the specified VPN
instance. The VPN instance name is a case-sensitive string of 1 to 31 characters.
dest-addr mask-length: Displays the label advertisement information of the specified FEC. dest-addr is the
destination address of the FEC. mask-length is the mask length of the FEC destination address, ranging
from 0 to 32.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
• begin: Displays the first line that matches the specified regular expression and all lines that follow.
• exclude: Displays all lines that do not match the specified regular expression.
• include: Displays all lines that match the specified regular expression.
• regular-expression: Specifies a regular expression, which is a case-sensitive string of 1 to 256
characters.
Examples
# Display the label advertisement information of FEC 3.3.3.9/32.
<Sysname> display mpls ldp fec 3.3.3.9 32
-------------------------------------------------------------------------
LDP FEC Information
-------------------------------------------------------------------------
Label Advertisement Policy:
------------------------------------------------------------------
FEC IP-prefix : prefix-from-rt1
Peer IP-prefix : peer-to-rt2
Upstream Info:
------------------------------------------------------------------
No. : 1
Upstream peer : 3.3.3.9