D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 1 MPLS Configuration
1-34
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)# router ospf 10
Enable OSPF and enter the OSPF mode.
DES-7200 (config-router)# network
192.168.200.0 0.0.0.255 area 0
DES-7200 (config-router)# network
192.168.0.3 0.0.0.0 area 0
DES-7200 (config-router)# network
192.168.2.0 0.0.0.255 area 0
Add routing information to OSPF.
DES-7200 (config-router)# end
End
1.2.4.2 Configuring a Static LSP
You can configure a static LSP without IPv4 routes.
Consider an example. Set up two LSPs between No.1 interface at the 192.168.100.0/24 network
segment on LER_A and No.2 interface at the 192.168.200.0/24 network segment on LER_C to
connect the two network segments. You need to configure one LSP from LER_A to LER_C and
the other LSP from LER_C to LER_A. This is because the LSP is uni-directional.
Configurations on LER_A:
Command Function
DES-7200 (config)# mpls ip
Enable MPLS globally.
DES-7200 (config)# interface
gigabitEthernet 2/2
Enter the interface mode of GigabitEthernet
2/2.