DES-7200 Configuration Guide Chapter 1 MPLS Configuration
1-11
DES-7200(config)# no mpls ip
Disable MPLS globally.
Caution
This command is not applicable for controlling switch chip forwarding.
1.2.1.2 Enabling LDP Globally
In the global configuration mode, you can first use the mpls router ldp [vrf-name] command to
enable LDP for a VRF instance and enter the LDP configuration mode.
Run the no mpls router ldp [vrf-name] command to disable LDP for a VRF instance.
Command Function
DES-7200(config)# mpls router ldp
[vrf-name]
Enable LDP for a VRF instance and enter the
LDP configuration mode.
DES-7200(config-mpls-router)# ldp
router-id interface loopback id force
Configure the LDP router ID. The loopback
address is generally used as the router ID.
DES-7200(config)# no mpls router ldp
[vrf-name]
Disable LDP for a VRF instance.
Caution
1. After LDP is enabled globally, you still need to run the mpls ip
command in the interface mode to enable LDP for an interface.
2. If no vrf-name is entered, LDP is globally enabled for all VRF
instances.
3. You are generally required to specify the router ID for an LDP when
you enable LDP.
1.2.1.3 Enabling Label Switching on an Interface
By default, interfaces do not forward MPLS packets. In the global configuration mode, you can
use the mpls ip command to enable MPLS on a device. You should also use the
label-switching command to explicitly enable MPLS on a specified interface.
Command Function