Predefined user roles
network-admin
mdc-admin
Usage guidelines
Before you enable LDP on an interface, use the mpls ldp command in system view to enable LDP globally.
Disabling LDP on an interface terminates all LDP sessions on the interface, and removes all LSPs
established through the sessions.
If the interface is bound to a VPN instance, you must also use the vpn-instance command to enable LDP
for the VPN instance.
An up interface enabled with LDP and MPLS sends Link Hellos for neighbor discovery.
Examples
# Enable LDP on interface VLAN-interface 2.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-ldp] quit
[Sysname] interface vlan-interface 2
[Sysname-Vlan-interface2] mpls ldp enable
Related commands
display mpls ldp interface
•
mpls enable
•
mpls ldp
•
mpls ldp timer
Use mpls ldp timer to configure the Hello hold time, Hello interval, Keepalive hold time, and Keepalive
interval.
Use undo mpls ldp timer to restore the default.
Syntax
mpls ldp timer { hello-hold timeout | hello-interval interval | keepalive-hold timeout | keepalive-interval
interval }
undo mpls ldp timer { hello-hold | hello-interval | keepalive-hold | keepalive-interval }
Default
The Link Hello hold time is 15 seconds.
The Link Hello interval is 5 seconds.
The Targeted Hello hold time is 45 seconds.
The Targeted Hello interval is 15 seconds.
The Keepalive hold time is 45 seconds.
The Keepalive interval is 15 seconds.
Views
Interface view, LDP peer view
50