D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 3 MPLS Reliability Configuration
3-24
## Configure the IP address of interface (Gi 2/2).
DES-7200(config)#interface gigabitEthernet 2/2
## Execute the following command on the switch (not applicable to a router).
DES-7200(config-if-GigabitEthernet 2/2)#no switchport
DES-7200(config-if-GigabitEthernet 2/2)#ip address 192.168.2.1 255.255.255.0
## Activate OSPF protocol and enter OSPF mode.
DES-7200(config)#router ospf 10
DES-7200(config-router)#network 192.168.1.0 255.255.255.0 area 0
DES-7200(config-router)#network 192.168.2.0 255.255.255.0 area 0
DES-7200(config-router)#network 192.168.0.2 255.255.255.255 area 0
DES-7200(config-router)#end
# Configure PE2. The configurations of PE2 are the same as that of PE1.
3) Configure global and interface MPLS capability on respective devices.
# Configure PE1.
DES-7200#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)#mpls ip
DES-7200(config)#interface gigabitEthernet 2/2
DES-7200(config-if-GigabitEthernet 2/2)#label-switching
## Configurations on the switch.
DES-7200(config-if-GigabitEthernet 2/2)#mpls ip
Router(config-if-GigabitEthernet 2/2)#exit
## Configurations on the router. You need to execute one more command: enable fast
forwarding.
DES-7200(config-if-GigabitEthernet 2/2)#mpls ip
DES-7200(config-if-GigabitEthernet 2/2)#ip ref
Router(config-if-GigabitEthernet 2/2)#exit
# Configure P device.
DES-7200#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)#mpls ip
DES-7200(config)#interface gigabitEthernet 2/1
DES-7200(config-if-GigabitEthernet 2/1)#label-switching
## Configurations on the switch.