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.

In this test, DUT0 and DUT1 are configured in the same sub-AS (65001) with confederation identifier 100 and confederation peer 65002. The test verifies that the confederation parameters are correctly applied to FRR by checking the neighbor link type in show ip bgp neighbors. With confederation configured, FRR reports the peer as confed-internal link instead of the standard internal link.