Confederation

Scenario to verify BGP confederation parameter configuration.

BGP confederations allow dividing an autonomous system into multiple sub-autonomous systems while presenting a single AS to external peers. The confederation identifier defines the public AS number visible to the outside, while each router runs BGP with its sub-AS number. The confederation peers command lists the other sub-AS numbers that belong to the same confederation.

The scenario covers three cases by checking the neighbor link type reported by FRR in show ip bgp neighbors:

  • confed-internal link — both DUTs in the same sub-AS (65001) with confederation parameters configured.

  • confed-external link — DUTs in different sub-ASes (65001 and 65002) that declare each other as confederation peers under the same identifier 100.

  • internal link — same topology without confederation, used as baseline to confirm that the confed-* results above are caused by the confederation configuration.