D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-123
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
## Configure IGP (OSPF)
DES-7200(config)# router ospf 1
DES-7200(config-router)# network 1.1.1.1 0.0.0.0 area 0
DES-7200(config-router)# network 192.168.1.0 0.0.0.255 area 0
DES-7200(config-router)# exit
# Configure MP-IBGP neighbor: Here we will take PE1 as the example. The configurations of
PE2 are the same.
DES-7200(config)# router bgp 65001
DES-7200(config-router)# neighbor 2.2.2.2 remote-as 65001
DES-7200(config-router)# neighbor 2.2.2.2 update-source Loopback 0
DES-7200(config-router)# address-family vpnv4
DES-7200(config-router-af)# neighbor 2.2.2.2 activate
DES-7200(config-router-af)# neighbor 2.2.2.2 send-community both
# Configure VRF: Here we will take PE1 as the example. The configurations of PE2 are the
same.
DES-7200(config)# ip vrf vpn1
DES-7200(config-vrf)# rd 65001:20
DES-7200(config-vrf)# route-target both 65001:20
DES-7200(config-vrf)# alloc-label per-route
DES-7200(config-vrf)# exit
DES-7200(config)# interface loopback 1
DES-7200(config-if)# ip vrf forwarding vpn1
DES-7200(config-if)# ip address 10.1.1.1 255.255.255.255
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
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)# 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 vrf forwarding vpn1
DES-7200(config-if)# ip address 172.1.1.1 255.255.255.0
DES-7200(config-if)# no shutdown
# Configure CE to connect with PE: Here we will take CE1 as the example. The configurations of
CE2 are the same.