Configuring Multiple Autonomous Systems

If an Autonomous System (AS) has multiple BGP routers, the AS can serve as a transit service for other ASs. When BGP runs between routers in different ASs, it uses exterior BGP (eBGP). When BGP runs between routers in the same AS, it uses interior BGP (iBGP).

In the following diagram, AS 200 is a transit AS for AS 100 and AS 300.

Multiple Autonomous Systems Configuration

To configure multiple ASs as shown in the above diagram, configure routers RTA, RTB, and RTC as follows:

On RTA:
router bgp 100
: neighbor 129.213.1.1 remote−as 200
address-family ipv6
: redistribute connected
: neighbor 129.213.1.1 activate
On RTB:
router bgp 200
: neighbor 129.213.1.2 remote−as 100
: neighbor 175.220.1.2 remote−as 200
address-family ipv6
: redistribute connected
: neighbor 129.213.1.2 activate
: neighbor 175.220.1.2 activate
On RTC:
router bgp 200
: neighbor 175.220.212.1 remote−as 200
address-family ipv6
: neighbor 175.220.212.1 activate
: neighbor 175.220.212.1 activate