The display mpls ldp session command displays information about LDP sessions between LDP peers.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display mpls ldp session
LDP Session(s) in Public Network
Codes: LAM(Label Advertisement Mode), SsnAge Unit(DDDD:HH:MM)
An asterisk (*) before a session means the session is being deleted.
--------------------------------------------------------------------------
PeerID Status LAM SsnRole SsnAge KASent/Rcv
--------------------------------------------------------------------------
2.2.2.9:0 Operational DU Passive 0000:07:00 1676/1676
3.3.3.9:0 Operational DU Passive 0001:02:53 6435/6433
--------------------------------------------------------------------------
TOTAL: 2 Session(s) Found.
Item | Description |
---|---|
PeerID | Peer LDP identifier in the format: <LSR ID>:<label space>. The label space value can be:
|
Status | LDP session status:
If the Initialized state remains, an LDP session has been Down. For information about the reasons and troubleshooting procedure, see "LDP Session Goes Down" in VRP Troubleshooting - MPLS - MPLS LDP Troubleshooting. |
LAM | Label advertisement mode:
|
SsnRole | Role that an LSR plays in an LDP session:
|
SsnAge | Times elapsed since an LDP session was established, in the format of DDDD:HH:MM. |
KASent/Rcv | Number of Keepalive messages sent or received by an LDP session. |