DES-7200 Configuration Guide Chapter 2 Configuring BGP IP VPN
2-34
Setting Up an IBGP Session Between a PE and ASBR to Distribute Labels for IPv4 Routes
This scheme differs from Scheme 1 mainly in this configuration procedure. In this scheme, the
PE routes that are learnt by EBGP from another AS are not redistributed to the IGP in the local
AS. Instead, the IBGP session between an ASBR and PE is used to transmit the PE routes of
another AS and the BGP module is used to assign labels to the PE routes.
Enter the privilege mode and perform the following configuration procedure:
Command Function
DES-7200# config 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
peer-address remote-as asn-number
Set up an IBGP session with an ASBR (PE).
DES-7200(config-router)# neighbor
peer-address update-source
interface-name
Configure the device to use the loopback address
as the source address to set up the BGP session
with an ASBR (PE) peer.
DES-7200(config-router)#
address-family ipv4
Enter the IPv4 address family.
DES-7200(config-router-af)#
neighbor peer-address send-label
Configure the device to exchange labeled IPv4
routes with an ASBR (PE) peer.
DES-7200(config-router-af)# show
running-config
View all configuration information.
Caution
Before you enable the label exchanging of IPv4 routes for an IBGP session
with an IBGP peer, run the neighbor update-source command to specify the
source address of the IBGP session. This source address must be the
address of the loopback interface; otherwise, the inter-AS LSP cannot be set
up.
# Configure a PE to set up an MP-IBGP session with the ASBR at 10.10.10.2.
DES-7200# configure terminal
DES-7200(config)# router bgp 1
DES-7200(config-router)# neighbor 10.10.10.2 remote-as 1
DES-7200(config-router)# neighbor 10.10.10.2 update-source loopback 0
DES-7200(config-router)# address-family ipv4
DES-7200(config-router-af)# neighbor 10.10.10.2 activate
DES-7200(config-router-af)# neighbor 10.10.10.2 send-label