BGP and BGP4+ Commands

bgp confederation peers (BGP and BGP4+)

This command configures the Autonomous Systems (AS) that belong to the same confederation as the current switch.

A confederation allows an AS to be divided into several sub-ASs. The overall AS is given a confederation identifier. External routers view only the whole confederation as one AS, whose AS number is the confederation identifier. Each sub-AS is fully meshed within itself and is visible internally to the confederation.

Use the bgp confederation peer command to define the list of AS numbers of the sub-ASs in the confederation containing the current switch.

The no variant of this command removes an autonomous system from the confederation.

Syntax bgp confederation peers <1-4294967295>

no bgp confederation peers <1-4294967295>

Parameter Description

<1-4294967295>AS numbers of eBGP peers that are under same confederation but in a different sub-AS.

Mode Router Configuration

Usage In the following configuration of Router 1 the neighbor 172.210.30.2 and 172.210.20.1 have iBGP connection within AS 100. The neighbor 173.213.30.1 has an BGP connection, but it is within AS 200, which is part of the same confederation. The neighbor 6.6.6.6 has an eBGP connection to external AS 500.

In the configuration of Router 2, neighbor 5.5.5.4 has an eBGP connection to confederation 300. Router2 does not know about the ASs 100 and 200, it only knows about confederation 300.

Router 1

awplus(config)#

router bgp 100

awplus(config-router)#

bgp confederation identifier 300

awplus(config-router)#

bgp confederation peers 200

awplus(config-router)#

neighbor 172.210.30.2 remote-as 100

awplus(config-router)#

neighbor 172.210.20.1 remote-as 100

awplus(config-router)#

neighbor 173.213.30.1 remote-as 200

awplus(config-router)#

neighbor 6.6.6.6 remote-as 300

Router 2

 

awplus(config)#

router bgp 500

awplus(config-router)#

neighbor 5.5.5.4 remote-as 300

 

Software Reference Supplement for SwitchBlade® x8112, x908, x900 and x610 Series Switches

 

3.22

AlliedWare PlusTM Operating System - Software Version 5.4.3-2.6

C613-50032-01 REV D

Page 120
Image 120
Allied Telesis VERSION 5.4.3-2.6 manual Bgp confederation peers BGP and BGP4+