BGP confederations

About this task

Perform the following steps to configure a BGP confederation.

Procedure

  1. Configure the autonomous system number of the confederation using the confederation command in the config>router context.
  2. Configure the BGP confederation members using the confederation command in the config>router context.
  3. Configure IBGP peering within the (local) sub-confederation.
  4. Configure one or more confed-EBGP peerings to peers in other neighboring sub-confederations.
    Example

    Figure: Confederation network diagram example shows a confederation network diagram example.

    Figure: Confederation network diagram example

    The following configuration displays the minimum BGP configuration for routers in sub-confederation AS 65001 described in Figure: Confederation network diagram example.

    ALA-A
        config router 
            autonomous-system 65001
            confederation 100 members 65001 65002 65003
            bgp
                group confed1
                    peer-as 65001
                    neighbor 2.2.2.2
                    exit
                    neighbor 3.3.3.3
                    exit
                    neighbor 4.4.4.4
                    exit
                exit
                group external_confed
                    neighbor 5.5.5.5
                        peer-as 65002
                    exit
                    neighbor 9.9.9.9
                        peer-as 65003
                    exit
                exit
            exit
        exit
    
    ALA-D
        config router
            autonomous-system 65001
            confederation 100 members 65001 65002 65003
            bgp
                group confed1
                    peer-as 65001
                    neighbor 1.1.1.1
                    exit
                    neighbor 2.2.2.2
                    exit
                    neighbor 3.3.3.3
                    exit
                exit
            exit
        exit
    
    ROUTER 1
        config router
            autonomous-system 65003
            confederation 100 members 65001 65002 65003
            bgp
                group confed1
                    peer-as 65001
                    neighbor 1.1.1.1
                    exit
                    neighbor 5.5.5.5
                        peer-as 65002
                    exit
                exit
            exit
        exit