R211x-HP Flexfabric 11900 MPLS Command Reference

49
Views
Interface view
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.
An up MPLS TE tunnel interface enabled with LDP sends Targeted Hellos to the tunnel destination and
establishes a session with the tunnel peer.
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, and the
Keepalive interval is 15 seconds.
Views
Interface view, LDP peer view