show ldp session
Use this command to display sessions established between this LSR and other LSRs.
Command Syntax
show ldp session
show ldp session A.B.C.D
show ldp session X:X::X:X
show mpls ldp session
show mpls ldp session A.B.C.D
show mpls ldp session X:X::X:X
Parameter
A.B.C.D
IPv4 address of the peer.
X:X::X:X
IPv6 address of the peer.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#show ldp session 192.168.3.5
Session state : OPERATIONAL
Session role : Passive
TCP Connection : Established
IP Address for TCP : 192.168.3.5
Interface being used : eth1
Peer LDP ID : 10.10.0.18:0
Peer Password : mypwd
Authentication type: MD5
Adjacencies : 192.168.3.5
192.168.4.5
Advertisement mode : Downstream Unsolicited
Label retention mode : Liberal
Keepalive Timeout : 30
Reconnect Interval : 15
Address List received : 192.168.3.5
192.168.4.5
Received Labels : Fec Label Maps To
IPV4:10.10.0.0/24 impl-null none
IPV4:192.168.3.0/24 impl-null none
IPV4:192.168.4.0/24 impl-null none
IPV4:192.168.5.0/24 impl-null none
Sent Labels : Fec Label Maps To
IPV4:10.10.0.0/24 impl-null none
IPV4:192.168.3.0/24 impl-null none
IPV4:192.168.4.0/24 impl-null none
Table 2-45 explains the show command output fields.
Table 2-45: show ldp session output fields details
Field | Description |
---|
Session state | Reports the current session state. |
Session role | Displays the status of the session role. |
TCP Connection | Details of the TCP connection. |
IP Address for TCP | Transmission control protocol IP address for the network. |
Interface | Name of interface used in the network. |
Peer LDP ID | Identifier for the peer LDP. |
Peer Password | Credential details for the neighbor. |
Authentication type | Type of authentication. |
Adjacencies | IP address for the neighbor adjacencies. |
Advertisement mode | Details of the advertisement mode. |
Label retention mode | Details of the label retention mode. |
Keepalive Interval | Used to set the interval for sending keep-alive messages to the peer in order to maintain a session. |
Keepalive Timeout | Time-out value for rejecting a session with a peer. |
Address List received | List of address that is received from neighbor. |
Received Labels | Number of labels received from neighbor session. |
Sent Labels | Number of labels transmitted to neighbor session. |
Last modified date: 10/17/2023