D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-155
DES-7200(config)# interface gigabitethernet 1/1
# In case of a switch, configure the interface to RoutedPort interface (not applicable to a
router)
DES-7200(config-if-GigabitEthernet 1/1)# no switchport
# In case of a router, enable fast forwarding on the interface (not applicable to a switch)
DES-7200(config-if-GigabitEthernet 1/1)# ip ref
DES-7200(config-if-GigabitEthernet 1/1)# ip address 192.168.20.1 255.255.255.0
DES-7200(config-if-GigabitEthernet 1/1)# ip ospf cost 200
PE1:
# Configure Loopback interface
DES-7200# configure terminal
DES-7200(config)# interface loopback 0
DES-7200(config-if-Loopback 0)# ip address 172.168.0.1 255.255.255.255
# Configure VRF
Create a VRF of " VPNA", define RD value and RT value, and associate VRF with the
corresponding interface.
DES-7200# configure terminal
DES-7200(config)# ip vrf VPNA
DES-7200(config-vrf)# rd 1:100
DES-7200(config-vrf)# route-target both 1:100
DES-7200(config-vrf)# end
# Associate the CE-connecting interface with VRF
DES-7200# configure terminal
DES-7200(config)# interface gigabitethernet 1/2
# In case of a switch, configure the interface to RoutedPort interface (not applicable to a
router)
DES-7200(config-if-GigabitEthernet 1/2)# no switchport
# In case of a router, enable fast forwarding on the interface (not applicable to a switch)
DES-7200(config-if-GigabitEthernet 1/2)# ip ref
DES-7200(config-if-GigabitEthernet 1/2)# ip vrf forwarding VPNA
DES-7200(config-if-GigabitEthernet 1/2)# ip address 192.168.10.1 255.255.255.0
DES-7200(config-if-GigabitEthernet 1/2)# end
# Configure VRF Loopback interface to establish sham-link
DES-7200# configure terminal
DES-7200(config)# interface loopback 10