D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 1 MPLS Configuration
1-35
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)# mpls static ftn
192.168.200.0/24 out-label 16 nexthop
gigabitEthernet 2/2 192.168.1.2
Create an FTN that binds 192.168.200.0/24 to
label 16, specify the next hop of the FTN as
192.168.1.2 and the outgoing interface as
GigabitEthernet 2/2.
DES-7200(config-router)# end
End
Configurations on LER_B:
Command Function
DES-7200 (config)# mpls ip
Enable MPLS globally.
DES-7200 (config)# interface
gigabitEthernet 2/1
Enter the interface mode of GigabitEthernet
2/1.
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)#
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)# mpls static ilm
in-label 16 forward-action swap-label 3
nexthop gigabitEthernet 2/2
192.168.2.2 fec
192.168.200.0/24
Create an ILM that maps the incoming label 16
to the outgoing label 3 (implicit null label) on
GigabitEthernet 2/2. Specify the next hop
address as 192.168.2.2 and the FEC as
192.168.200.0/24.
DES-7200 (config)# mpls static ilm
in-label 17 forward-action swap-label 3
nexthop gigabitEthernet 2/1
192.168.1.1 fec
192.168.100.0/24
Create an ILM that maps the incoming label 17
to the outgoing label 3 (implicit null label) on
GigabitEthernet 2/1. Specify the next hop
address as 192.168.1.1 and the FEC as
192.168.100.0/24.
DES-7200 (config-router)# end
End