D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-158
DES-7200(config-if-GigabitEthernet 1/1)# ip ospf cost 200
PE2:
# Configure Loopback interface
DES-7200# configure terminal
DES-7200(config)# interface loopback 0
DES-7200(config-if-Loopback 0)# ip address 172.168.0.2 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)# exit
# 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.30.1
255.255.255.0
DES-7200(config-if-GigabitEthernet 1/2)# exit
# Configure VRF Loopback interface to establish sham-link
DES-7200# configure terminal
DES-7200(config)# interface loopback 10
DES-7200(config-if-Loopback 10)# ip vrf forwarding VPNA
DES-7200(config-if-Loopback 10)# ip address 192.168.0.2 255.255.255.255
# Configure BGP protocol to establish MP-IBGP session with PE2 and PE3