3Com S7902E Command Reference Manual - page 1568
1-36
[Sysname] mpls lsr-id 1.1.1.1
[Sysname] mpls
[Sysname-mpls] quit
[Sysname] mpls ldp
[Sysname-mpls-ldp]
# Enable LDP for VPN instance vpn1 and enter MPLS LDP VPN instance view.
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1]
mpls ldp (interface view)
Syntax
mpls ldp
undo mpls ldp
View
Interface view
Default Level
1: Monitor level
Parameters
None
Description
Use the
mpls ldp
command to enable LDP on an interface.
Use the
undo mpls ldp
command to disable LDP on an interface.
By default, LDP is disabled on an interface.
After you enable LDP on an interface, the interface will periodically send Hello messages.
Before enabling LDP in interface view, be sure to complete the following tasks:
z
Use the
mpls lsr-id
command in system view to configure the LSR ID.
z
Use the
mpls
command in system view to enable MPLS.
z
Use the
mpls ldp
command in system view to enable MPLS LDP globally.
z
Use the
mpls
command in interface view to enable MPLS for the interface.
If the interface is bound to a VPN instance, you need to use the
mpls ldp vpn-instance
command to
enable LDP for the VPN instance before enabling LDP on the interface.
Currently, this command supports only VLAN interface.