D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-9
DES-7200(config-router)#
neighbor ip-address remote-as
asn-number
Configure a BGP session.
Ruiije(config-router)# neighbor
ip-address update-source
interface-name
Set the interface address used to set up the
MP-IBGP session as the source address. The
address of the loopback interface is generally used
as the source address.
Ruiije(config-router)#
address-family vpnv4
Enter the VPN address family.
DES-7200(config-router-af)#
neighbor ip-address activate
Activate the BGP session to exchange VPN routes.
DES-7200(config-router-af)#
show running-config
View all configuration information.
# Set up an MP-BGP session with the neighboring PE at 1.1.1.1.
DES-7200# configure terminal
DES-7200(config)# router bgp 1
DES-7200(config-router)# neighbor 1.1.1.1 remote-as 1
DES-7200(config-router)# neighbor 1.1.1.1 update-source loopback 0
DES-7200(config-router)# address-family vpnv4
DES-7200(config-router-af)# neighbor 1.1.1.1 activate
2.3.1.4 Configuring Route Exchanging Between
PEs and CEs
Configuring BGP Between PEs and CEs to Transmit Routing Information
To configure a BGP session with a CE, you need to enter the VRF address family mode on the
PE and then configure the routing protocol with the CE. The configuration procedure on the PE is
as follows:
Command Function
DES-7200# configure terminal
Enter the global configuration mode.
DES-7200(config)# router bgp
pe-asn-num
Create a BGP domain and enter the BGP
configuration mode.
DES-7200(config-router)#
address-family ipv4 vrf vrf-name
Configure and enter the BGP VRF address family
configuration mode.