By default, it displays the session between peer entities.
Related command: mpls ldp enable.
Example
# Display the session between peer entities.
<SW8800> display mpls ldp session
Displaying information about all sessions
Local LDP ID: 1.1.1.9:5;
mpls ldp
Syntax
mpls ldp
undo mpls ldp
View
System view
Parameter
None
Description
Use the mpls ldp command to enable LDP.
Use the undo mpls ldp command to disable LDP.
By default, LDP is disabled.
Before enabling LDP, you must enable MPLS and configure LSR ID first.
Related command: mpls lsr-id.
Example
# Enable LDP.
<SW8800> system-view
[SW8800] mpls ldp
mpls ldp enable
Syntax
mpls ldp enable
mpls ldp disable
TCP Connection: 1.1.1.9 <- 4.4.4.9
Session State: Operational
Session Role: Passive
Session existed time:
Basic Hello Packets Sent/Received: 85/67
KeepAlive Packets Sent/Received: 1/1
Negotiated Keepalive hold time: 60
LDP Basic Discovery Source((A) means active):
Inter vlan113(A)
Inter vlan111
LDP Configuration Commands
Peer LDP ID: 4.4.4.9:0
Peer PV Limit: 0
Inter vlan112
697