
62
•
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 80
characters.
Examples
# Display the brief LDP information of all LDP-enabled interfaces.
<Sysname> display mpls ldp interface
LDP Interface Information in Public Network
------------------------------------------------------------------------
IF-Name Status LAM Transport-Address Hello-Sent/Rcv
------------------------------------------------------------------------
Vlan2 Inactive DU 1.1.1.1 0/0
------------------------------------------------------------------------
LAM: Label Advertisement Mode IF-Name: Interface name
# Display the detailed LDP information of all LDP-enabled interfaces.
<Sysname> display mpls ldp interface verbose
LDP Interface Information in Public Network
--------------------------------------------------------------
Interface Name : Vlan-interface2
LDP ID : 1.1.1.1:0 Transport Address : 1.1.1.1
Entity Status : Active Interface MTU : 1500
Configured Hello Timer : 15 Sec
Negotiated Hello Timer : 15 Sec
Configured Keepalive Timer : 45 Sec
Label Advertisement Mode : Downstream Unsolicited
Hello Message Sent/Rcvd : 591/1033 (Message Count)
-------------------------------------------------------------
Table 24
Command output
Field Description
LDP ID
LDP identifier. It identifies the label space of an LSR.
An LDP ID consists of the LSR ID and label space ID. Now, the
label space ID can only be 0, which indicates that the entire
LSR uses one label space.
Transport Address
LDP transport address. The device uses this address to
establish a TCP connection with an LDP peer.
Entity Status
Entity status, Active or Inactive.
Hello Message Sent/Rcvd
Counts of hello messages sent/received on the interface.
display mpls ldp lsp
Description
Use the
display mpls ldp lsp
command to display information about LSPs established by LDP.