D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-137
# On PE3
DES-7200(config)# ip vrf customer_vpn1
DES-7200(config-vrf)# rd 65010:1
DES-7200(config-vrf)# route-target both 65010:1
DES-7200(config-vrf)# exit
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)# no switchport
# In case of a router, enable MPLS fast forwarding on the interface (not applicable to a
switch)
DES-7200(config-if)# ip ref
DES-7200(config-if)# ip vrf forwarding customer_vpn1
DES-7200(config-if)# ip address 10.0.1.1 255.255.255.0
DES-7200(config-if)# no shutdown
DES-7200(config-if)# exit
DES-7200(config)# router ospf 10 vrf customer_vpn1
DES-7200(config-router)# network 10.0.1.0 0.0.0.255 area 0
DES-7200(config-router)# redistribute bgp 65010 subnets
DES-7200(config-router)# exit
DES-7200(config)# router bgp 65010
DES-7200(config-router)# address-family ipv4 vrf customer_vpn1
DES-7200(config-router-af)# redistribute ospf 10 vrf customer_vpn1
DES-7200(config-router-af)# exit
DES-7200(config-router)# exit
# On CE3
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.1.2 255.255.255.0
DES-7200(config-if)# no shutdown
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)