Alcatel-Lucent 6850-48 参考指南
MPLS LDP Commands
OmniSwitch CLI Reference Guide
September 2009
page 24-73
show router ldp session
Displays configuration information and statistics for LDP sessions.
show router ldp session [ip-address[:label-space]] [detail | statistics [packet-type]]
Syntax Definitions
ip-address
The IP address of an LDP peer.
:label-space
The label space ID number that the router advertises on the LDP inter-
face. This value is appended to the LDP router ID address. The valid
range is 0–65535.
face. This value is appended to the LDP router ID address. The valid
range is 0–65535.
detail
Displays detailed information for the specified sessions.
packet-type
Displays session information for a specific packet type. Valid packet
type entries for this parameter are hello, keepalive, init, label, notifica-
tion, and address.
type entries for this parameter are hello, keepalive, init, label, notifica-
tion, and address.
Defaults
By default, information is displayed for all LDP sessions.
Platforms Supported
OmniSwitch 9000E
Usage Guidelines
• Use the ip-address and :label-space parameters to display information for a specific LDP session. Note
that entering a label-space value is not required when specifying an IP address.
• The detail parameter is available for use with the base command (show router ldp session) and in
combination with the ip-address parameter to show additional information for a specific LDP session.
• The statistics parameter is available for use with the base command (show router ldp session), but is
not used in combination with the ip-address parameter. Note that specifying a packet type with this
parameter is optional; if no type is specified, statistics are displayed for all types.
parameter is optional; if no type is specified, statistics are displayed for all types.
Examples
->show router ldp session
LDP Sessions
Peer LDP Id Adj Type State Msg Sent Msg Recv Up Time
------------------+----------+-------------+---------+---------+-------------
10.11.0.6:0 Both Established 73211 73213 1d 23:00:59
10.11.0.66:0 Targeted Established 2417 2419 0d 03:40:28
No. of Sessions: 2
->show router ldp session 10.11.0.66
LDP Sessions