3com S7906E Verweisanleitung
1-35
By default, MPLS capability is not enabled.
Note that:
z
You need to configure the LSR ID before enabling MPLS capability.
z
You need to enable MPLS globally before enabling it for an interface.
Related commands: mpls lsr-id.
Examples
# Enable MPLS globally.
<Sysname> system-view
[Sysname] mpls lsr-id 1.1.1.1
[Sysname] mpls
[Sysname-mpls] quit
# Enable MPLS for interface VLAN-interface 1.
<Sysname> system-view
[Sysname] interface vlan-interface 1
[Sysname-Vlan-interface1] mpls
mpls ldp (system view)
Syntax
mpls ldp [ vpn-instance vpn-instance-name ]
undo mpls ldp [ vpn-instance vpn-instance-name ]
View
System view
Default Level
1: Monitor level
Parameters
vpn-instance-name: Name of the VPN instance, a case-sensitive string of 1 to 31 characters.
Description
Use the mpls ldp command to enable LDP globally and enter MPLS LDP view.
Use the undo mpls ldp command to disable LDP globally and remove all LDP instances.
Use the mpls ldp vpn-instance command to enable LDP for a VPN instance, create an LDP instance,
and enter MPLS LDP VPN instance view.
Use the undo mpls ldp vpn-instance command to disable LDP for a VPN instance and remove the
LDP instance.
By default, MPLS LDP is disabled.
Configure the mpls ldp command after configuring the MPLS LSR ID and enabling MPLS globally.
Examples
# Enable LDP globally and enter MPLS LDP view.