DES-7200 Configuration Guide Chapter 1 MPLS Configuration
1-32
assigned an IP address, which also serves as the router ID, to the loopback interface on each
device.
Configurations on LER_A:
Command Function
DES-7200(config)# mpls ip
Enable MPLS globally.
DES-7200(config)# mpls router ldp
Enable LDP and enter the LDP mode.
DES-7200(config-mpls-router)# ldp
router-id interface loopback 0
force
Configure the LDP router ID. The loopback address
is generally used as the router ID.
DES-7200 (config-mpls-router)#
exit
Quit the LDP mode and enter the global
configuration mode.
DES-7200(config)# interface
gigabitEthernet 2/2
Enter the interface mode of GigabitEthernet 2/2.
DES-7200(config-if-GigabitEthernet
2/2)# mpls ip
Enable LDP on the interface.
DES-7200(config-if-GigabitEthernet
2/2)# label-switching
Enable MPLS on the interface.
DES-7200(config-if-GigabitEthernet
2/2)# exit
Quit the interface mode and enter the global
configuration mode.
DES-7200 (config)# router ospf 10
Enable OSPF and enter the OSPF mode.
DES-7200 (config-router)# network
192.168.100.0 0.0.0.255 area 0
DES-7200 (config-router)# network
192.168.0.1 0.0.0.0 area 0
DES-7200 (config-router)# network
192.168.1.0 0.0.0.255 area 0
Add routing information to OSPF.
DES-7200(config-router)# end
End
Configurations on LER_B:
Command Function
DES-7200 (config)# mpls ip
Enable MPLS globally.
DES-7200 (config)# mpls router
ldp
Enable LDP and enter the LDP mode.