Ebgp for route exchange, Assigning an as number to a pe, Assigning a loopback interface – Brocade Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide (Supporting R05.6.00) User Manual

Page 734: Configuring an ibgp neighbor on a pe

Advertising
background image

710

Multi-Service IronWare Multiprotocol Label Switch (MPLS) Configuration Guide

53-1003031-02

BGP or MPLS VPN sample configurations

6

3.

“Configuring an IBGP neighbor on a PE”

Assigning an AS number to a PE

In the IBGP configuration used in a BGP or MPLS VPN, all PEs are configured with the same AS
number. To assign the local AS number 1 to the PE 1 router as shown in

Figure

73

, enter the

following commands.

Brocade(config)# router bgp

Brocade(config-bgp)# local-as 1

Assigning a loopback interface

A loopback interface is used as the termination for address for BGP sessions. This allows BGP to
stay up even when the outbound interface is down as long as an alternate path is available. To
install the loopback interface on PE 1 as shown in

Figure

73

, enter the following commands.

Brocade(config)# interface loopback 1

Brocade(config-lbif-1)# ip address 10.2.2.1/32

Configuring an IBGP neighbor on a PE

Other PEs that the user wants to exchange IBGP routes with must be configured as BGP neighbors.
In addition, the neighbor must be set to enable the BGP to update the loopback address. To assign
an IBGP neighbor with the IP address 10.33.35.1, a remote AS number of 1, and an update-source
to loopback 1 of the PE 1 router shown in

Figure

73

, enter the following commands.

Brocade(config-bgp)# neighbor 10.2.2.2 remote-as 1

Brocade(config-bgp)# neighbor 10.2.2.2 update-source loopback 1

Brocade(config-bgp)# address-family vpnv4 unicast

Brocade(config-bgp-vpnv4u)# neighbor 10.2.2.2 activate

EBGP for route exchange

EBGP can be used to exchange routes for CE routers to PE routers. In this situation, a BGP neighbor
must be configured on CE and PE routers. In the example shown in

Figure

74

, the CE 1 router is

configured to exchange routes with the PE 1 router and the CE 5 router is configured to exchange
routes with the PE 4 router.

Advertising