confederation id
Use confederation id to configure a confederation ID.
Use undo confederation id to remove the specified confederation ID.
Syntax
confederation id as-number
undo confederation id
Default
No confederation ID is configured.
Views
BGP view
Predefined user roles
network-admin
mdc-admin
Parameters
as-number: Specifies an AS number that identifies the confederation, in the range of 1 to 4294967295.
Usage guidelines
You can split an AS into several sub-ASs, and each sub-AS remains fully meshed. These sub-ASs form a confederation. Key path attributes of a route, such as the Next_HOP, MED, and LOCAL_PREF, are not discarded when crossing each sub-AS. The sub-ASs still look like one AS from the perspective of other ASs. The AS number is the confederation ID.
Confederation can ensure the integrity of the former AS, and solve the problem of too many IBGP connections in the AS.
Configure the same confederation ID for all routers in one confederation.
On a member outside of a confederation, to establish a BGP connection to a specific router in that confederation, specify the AS number of the router as the confederation ID.
Examples
# Confederation 9 consists of four sub-ASs numbered 38, 39, 40 and 41. The peer 10.1.1.1 is a member of sub-AS 38. The peer 200.1.1.1 is a member outside of confederation 9, which belongs to AS 98. Confederation 9 looks like one AS (with AS number 9) from the perspective of the peer 200.1.1.1. This example uses a router in sub-AS 41.
<Sysname> system-view [Sysname] bgp 41 [Sysname-bgp] confederation id 9 [Sysname-bgp] confederation peer-as 38 39 40 [Sysname-bgp] group Confed38 external [Sysname-bgp] peer Confed38 as-number 38 [Sysname-bgp] peer 10.1.1.1 group Confed38 [Sysname-bgp] group Remote98 external [Sysname-bgp] peer Remote98 as-number 98 [Sysname-bgp] peer 200.1.1.1 group Remote98
Related commands
confederation nonstandard
confederation peer-as