Configure a BGP4 Confederation

  1. Access global configuration mode.
    device# configure terminal
  2. Access BGP configuration mode.
    device(config)# router bgp
  3. Identify the sub-autonomous system (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
    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

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