3com 8807 Verweisanleitung
LDP Configuration Commands
697
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; Peer LDP ID: 4.4.4.9:0
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 Peer PV Limit: 0
LDP Basic Discovery Source((A) means active):
Inter vlan113(A) Inter vlan112
Inter vlan111
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