D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-127
DES-7200(config-if)# ip address 10.0.3.1 255.255.255.0
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
DES-7200(config)# router bgp 65010
DES-7200(config-router)# neighbor 10.0.3.2 remote-as 100
DES-7200(config-router)# exit
## On the edge router of user network 1
DES-7200(config)# interface gigabitEthernet 0/0
# In case of a switch, configure the interface to RoutedPort interface (not applicable to a
router)
DES-7200(config-if)# no switchport
# In case of a router, enable fast forwarding on the interface (not applicable to a switch)
DES-7200(config-if)# ip ref
DES-7200(config-if)# ip address 10.0.3.2 255.255.255.0
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
DES-7200(config)# interface gigabitEthernet 0/1
# In case of a switch, configure the interface to RoutedPort interface (not applicable to a
router)
DES-7200(config-if)# no switchport
# In case of a router, enable fast forwarding on the interface (not applicable to a switch)
DES-7200(config-if)# ip ref
DES-7200(config-if)# ip address 64.21.33.9 255.255.255.0
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
DES-7200(config)# router bgp 100
DES-7200(config-router)# neighbor 10.0.3.1 remote-as 65010
DES-7200(config-router)# network 64.21.33.0 mask 255.255.255.0
2.5.9.5 Verification
# Display VRF routes and labels on PE: Here we will take PE1 as the example. The
configurations of PE2 are the same.
// In the VRF routing table of PE, there are only internal routes of the Second Carrier. There is
no external route (i.e.: 64.30.4.0/24).
DES-7200# show ip route vrf vpn1
Routing Table: vpn1
Codes: C - connected, S - static, R - RIP, B - BGP
O - OSPF, IA - OSPF inter area