D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-97
DES-7200(config-router)# address-family ipv4 vrf from-spoke
DES-7200(config-router-af)# neighbor 192.168.30.2 remote-as 65004
DES-7200(config-router-af)# neighbor 192.168.30.2 as-override
DES-7200(config-router-af)# exit
DES-7200(config-router)# address-family ipv4 vrf from-hub
DES-7200(config-router-af)# neighbor 192.168.40.2 remote-as 65004
DES-7200(config-router-af)# neighbor 192.168.40.2 allows-in
DES-7200(config-router-af)# exit
# Configure the MPLS signaling on the backbone network and enable MPLS on the public
network 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
# 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 address 172.168.30.2 255.255.255.0
DES-7200(config-if-GigabitEthernet 1/1)# label-switching
DES-7200(config-if-GigabitEthernet 1/1)# mpls ip
DES-7200(config-if-GigabitEthernet 1/1)# end
# Configure routing protocols on the backbone network.
DES-7200# configure terminal
DES-7200(config)# router ospf 10
DES-7200(config-router)# network 172.168.30.0 0.0.0.255 area 0
DES-7200(config-router)# network 172.168.0.2 0.0.0.0 area 0
DES-7200(config-router)# end
VPNA-SITEA:
# Configure a PE session through EBGP.
DES-7200# configure terminal
DES-7200(config)# router bgp 65004
DES-7200(config-router)# neighbor 192.168.100.2 remote-as 1