D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-80
DES-7200(config-vrf)# route-target both 1:200
DES-7200(config-vrf)# exit
# Associate the VRF with an interface.
DES-7200# configure terminal
DES-7200(config)# interface gigabitethernet 1/0
# The no switchport command is used to switch the port mode on switches to routed port mode.
It is not applicable to routers. You are not required to run this command on routers.
DES-7200(config-if-GigabitEthernet 1/0)# no switchport
DES-7200(config-if-GigabitEthernet 1/0)# ip vrf forwarding VPNB
DES-7200(config-if-GigabitEthernet 1/0)# ip address 192.168.10.1 255.255.255.0
DES-7200(config-if-GigabitEthernet 1/0)# exit
DES-7200(config)# interface gigabitethernet 1/1
# The no switchport command is used to
switch the port mode on switches to routed port mode.
It is not applicable to routers. You are not required to run this command on routers.
DES-7200(config-if-GigabitEthernet 1/1)# no switchport
DES-7200(config-if-GigabitEthernet 1/1)#ip vrf forwarding VPNA
DES-7200(config-if-GigabitEthernet 1/1)#ip address 192.168.20.1
255.255.255.0
DES-7200(config-if-GigabitEthernet 1/1)# exit
# Enable BGP and set up MP-IBGP sessions with PE2 and PE3.
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)# neighbor 172.168.0.3 remote-as 1
DES-7200(config-router)# neighbor 172.168.0.3 update-source loopback 0
DES-7200(config-router)# address-family vpnv4
DES-7200(config-router-af)# neighbor 172.168.0.1 activate
DES-7200(config-router-af)# neighbor 172.168.0.3 activate
DES-7200(config-router-af)# end
# Configure CE neighbors through EBGP.
DES-7200# configure terminal
DES-7200(config)# router bgp 1
DES-7200(config)# address-family ipv4 vrf VPNA
DES-7200(config-router-af)# neighbor 172.168.20.2 remote-as 65003
DES-7200(config-router-af)# exit