D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-156
DES-7200(config-if-Loopback 10)# ip vrf forwarding VPNA
DES-7200(config-if-Loopback 10)# ip address 192.168.0.1 255.255.255.255
# Configure BGP protocol to establish MP-IBGP session with PE2
DES-7200# configure terminal
DES-7200(config)# router bgp 1
DES-7200(config-router)# neighbor 172.168.0.2 remote-as 1
DES-7200(config-router)# neighbor 172.168.0.2 update-source loopback 0
DES-7200(config-router)# address-family vpnv4
DES-7200(config-router-af)# neighbor 172.168.0.2 activate
DES-7200(config-router-af)# end
# Exchange routes with CE via OSPF protocol, and establish sham-link with the OSPF instance
on PE2
DES-7200# configure terminal
DES-7200(config)# router ospf 10 VPNA
DES-7200(config-router)# network 192.168.10.0 255.255.255.0 area 0
DES-7200(config-router)# redistribute bgp subnets
DES-7200(config-router)# area 0 sham-link 192.168.0.1 192.168.0.2
DES-7200(config-router)# exit
DES-7200(config)# router bgp 1
DES-7200(config-router)# address-family ipv4 vrf VPNA
DES-7200(config-router-af)# redistribute ospf 10
DES-7200(config-router-af)# redistribute connected
DES-7200(config-router-af)# end
# Configure MPLS signaling protocol for backbone network. Enable MPLS capability on WAN
interface.
DES-7200# configure terminal
DES-7200(config)# mpls ip
DES-7200(config)# mpls router ldp
DES-7200(config-mpls-router)# ldp router-id interface loopback 0 force
DES-7200(config-mpls-router)# 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-GigabitEthernet 1/1)# no switchport
# In case of a router, enable fast forwarding on the interface (not applicable to a switch)
DES-7200(config-if-GigabitEthernet 1/1)# ip ref
DES-7200(config-if-GigabitEthernet 1/1)# ip address 172.168.10.1 255.255.255.0