Configuring BGP4 confederations
BGP4 confederations, composed of
multiple sub-autonomous systems, can be created.
- Enter the
configure terminalcommand to access global configuration mode. - Enter the
router bgpcommand to enable BGP routing. - Enter the
local-ascommand to configure the autonomous system number (ASN) in which your device resides. - Enter the
confederation identifiercommand and specify an ASN to configure a BGP confederation identifier. - Enter the
confederation peerscommand and specify as many ASNs as needed to list all BGP peers that will belong to the confederation.
The following example creates a confederation with the confederation ID “100” and adds three sub-autonomous systems to the confederation.
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