3com S7906E Guida Di Riferimento
1-8
display mpls ldp peer
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: Display information about all peers.
verbose: Displays detailed information.
vpn-instance-name: Name of the VPN instance, a case-sensitive string of 1 to 31 characters.
peer-id: LSR ID of the peer.
|: Uses a regular expression to filter the output information. For details about regular expression, refer to
Basic System Configuration in the System Volume.
begin: Displays all lines starting with the line that matches the regular expression.
exclude: Displays all lines other than those matching the regular expression..
include: Displays all lines matching the regular expression.
regular-expression: Regular expression, a case-sensitive string of 1 to 80 characters.
Description
Use the display mpls ldp peer command to display information about specified peers or all peers.
Related commands: mpls ldp (system view), mpls ldp (interface view).
Examples
# Display 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
--------------------------------------------------------------
# Display detailed information about all peers.
<Sysname> display mpls ldp peer verbose
LDP Peer Information in Public network
---------------------------------------------------------------