D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-150
# Configure to run OSPF with PE2
DES-7200# configure terminal
DES-7200(config)# router ospf 10
DES-7200(config-router)# network 192.168.30.0 255.255.255.0 area 0
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/0)# exit
# Configure BGP protocol to establish MP-IBGP session with PE2
DES-7200# configure terminal
DES-7200(config)# router bgp 1
DES-7200(config-router)# neighbor 172.168.0.1 remote-as 1
DES-7200(config-router)# neighbor 172.168.0.1 update-source loopback 0
DES-7200(config-router)# address-family vpnv4