D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 1 MPLS Configuration
1-33
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/1
Enter the interface mode of GigabitEthernet 2/1.
DES-7200(config-if-GigabitEthernet
2/1)# mpls ip
Enable LDP on the interface.
DES-7200(config-if-GigabitEthernet
2/1)# label-switching
Enable MPLS on the interface at the public network
side.
DES-7200(config-if-GigabitEthernet
2/1)# exit
Quit the interface 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 at the public network
side.
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.1.0 0.0.0.255 area 0
DES-7200 (config-router)# network
192.168.2 .0 0.0.0.255 area 0
DES-7200 (config-router)# network
192.168.0.2 0.0.0.0.0 area 0
Add routing information to OSPF.
DES-7200 (config-router)# end
End
Configurations on LER_C:
Command Function
DES-7200 (config)# mpls ip
Enable MPLS globally.
DES-7200 (config)# mpls router
ldp
Enable LDP and enter the LDP mode.