D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 6 BGP
Configuration
71
DES-7200(config-vrf)# route-target both 123:123
DES-7200(config-vrf)# mdt default 232.1.1.1
DES-7200(config-vrf)# exit
# Associate Gi0/1 with VRF1
DES-7200(config)# interface gigabitEthernet 0/1
DES-7200(config-GigabitEthernet 0/1)# ip vrf forwarding VRF1
DES-7200(config-GigabitEthernet 0/1)# ip address 10.1.1.1 255.255.255.0
DES-7200(config-GigabitEthernet 0/1)# exit
The configurations of R2 and R3 are the same as that of R1.
2, Configure BGP routing protocol to advertise routes of MDT address family
R1
# Configure MDT address family
DES-7200# configure terminal
DES-7200(config)# router bgp 100
# Configure R2 and R3 as BGP neighbors
DES-7200(config-router)# neighbor 10.0.0.2 remote-as 100
DES-7200(config-router)# neighbor 10.0.0.2 update-source loopback 0
DES-7200(config-router)# neighbor 10.13.0.3 remote-as 200
# Activate R2 and R3 under MDT address family
DES-7200(config-router)# address-family ipv4 mdt
DES-7200(config-router-af)# neighobr 10.0.0.2 activate
DES-7200(config-router-af)# neighobr 10.13.0.3 activate
# Activate R2 and R3 under VPNv4 address family
DES-7200(config-router)# address-family vpnv4
DES-7200(config-router-af)# neighobr 10.0.0.2 activate
DES-7200(config-router-af)# neighobr 10.13.0.3 activate
# Bind VRF to BGP
DES-7200(config-router)# address-family ipv4 vrf VRFi
DES-7200(config-router)# exit
The configurations of R2 and R3 are the same as that of R1.
Verification
Execute the following steps to verify configurations:
1, Verify the state of interfaces bound to VRF. Execute "show ip vrf interface" to