64
display mpls ldp peer
Description
Use the display mpls ldp peer command to display information about specified peers or all peers.
Related commands: mpls ldp (interface view) and mpls ldp (system view).
Syntax
display mpls ldp peer [ all [ verbose ] | [ vpn-instance vpn-instance-name ] [ peer-id | verbose ] ] [ |
{ begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
all: Displays information about all peers.
verbose: Displays detailed information.
vpn-instance vpn-instance-name: Displays information about all peers of a VPN instance. vpn-instance-
name is the name of the VPN instance, which is a case-sensitive string of 1 to 31 characters.
peer-id: Displays information about a peer. peer-id is the LSR ID of the peer.
|: 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 80
characters.
Examples
# Display brief information about all peers.
<Sysname> display mpls ldp peer
LDP Peer Information in Public network
Total number of peers: 3
--------------------------------------------------------------
Peer-ID Transport-Address Discovery-Source
--------------------------------------------------------------
172.17.1.2:0 172.17.1.2 Vlan-interface1
168.1.1.1:0 168.1.1.1 Vlan-interface2
100.10.1.1:0 100.10.1.1 Vlan-interface3
--------------------------------------------------------------