Configure a BGP4+ Confederation

A BGP4 confederation consists of multiple sub-autonomous (sub-AS) systems.

Procedure

  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP configuration mode.
    device(config)# router bgp
  3. Identify the sub-AS in which your device resides.
    device(config-bgp-router)# local-as 65520
  4. Assign an ASN as a BGP confederation identifier.
    device(config-bgp-router)# confederation identifier 100
    In this example, sub-AS 65520 is now part of a confederation that belongs to autonomous system 100.
  5. Specify the ASNs of all BGP peers that you want to add to the confederation.
    device(config-bgp-router)# confederation peers 65520 65521 65522

Example

The following example summarizes the commands in this procedure.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# local-as 65520
device(config-bgp-router)# confederation identifier 100
device(config-bgp-router)# confederation peers 65520 65521 65522