DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-20
Setting Up an MP-EBGP Session Between ASBRs
Set up directly-connected single-hop MP-EBGP sessions between inter-AS ASBRs to advertise
VPN routes.
Enter the privilege mode and perform the following configuration procedure:
Command Function
DES-7200# configure terminal
Enter the global configuration mode.
DES-7200(config)# router bgp
asn-number
Enable BGP and enter the BGP configuration
mode.
DES-7200(config-router)# neighbor
asbr-address remote-as
asbr-asn-number
Configure an ASBR EBGP session.
DES-7200(config-router)#
address-family vpnv4
Enter the BGP VPN address family.
DES-7200(config-router-af)#
neighbor asbr-address activate
Enable the VPN route exchange with the peer.
DES-7200(config-router-af)# show
running-config
View all configuration information.
# Configure an EBGP neighbor at 20.20.20.2 and activate the VPN address family.
DES-7200# configure terminal
DES-7200(config)# router bgp 2
DES-7200(config-router)# neighbor 20.20.20.2 remote-as 1
DES-7200(config-router)# address-family vpnv4
DES-7200(config-router-af)# neighbor 20.20.20.2 activate
Caution
1. You must run the label-switching command on the interface that
connects two ASBRs to enable MPLS on the interface so that the links
between the ASBRs can forward MPLS packets.
2. If the ASBRs do not use directly connected addresses to set up an
MP-EBGP session and use the loopback address with 32-bit mask
length as the source address to set up an MP-EBGP session, you
must use the neighbor ebgp-multihop command to enable multi-hop
EBGP. At the same time, you must configure static routes on the
ASBR to the loopback address on the peer, enable LDP or configure a
static FTN (with an outgoing label as 3, indicating that the ASBR is the
second but last hop).