A BGP4 confederation consists of multiple sub-autonomous (sub-AS) systems.
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
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