R3303-HP HSR6800 Routers MPLS Command Reference
17
Related commands
display mpls ldp
display mpls ldp peer
Use display mpls ldp peer to display information about specified peers or all peers.
Syntax
display mpls ldp peer [ all [ verbose ] | [ vpn-instance vpn-instance-name ] [ peer-id | verbose ] ] [ |
{ begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
all: Display information about all peers.
verbose: Displays detailed information.
vpn-instance vpn-instance-name: Displays information about all peers on the specified VPN. The
vpn-instance-name argument specifies the instance name of an MPLS L3VPN, 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 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, a case-sensitive string of 1 to 256 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 GigabitEthernet2/1/1
168.1.1.1:0 168.1.1.1 GigabitEthernet2/1/1
100.10.1.1:0 100.10.1.1 Serial3/1/0
--------------------------------------------------------------










