By default, all routers in the confederation comply with RFC 3065.
All devices should be configured with this command to interact with those nonstandard devices in the
confederation.
Related commands: confederation id and confederation peer-as.
Examples
# AS 100 contains routers not compliant with RFC 3065 and comprises two sub-ASs, 64000 and
65000.
<Sysname> system-view
[Sysname] bgp 64000
[Sysname-bgp] confederation id 100
[Sysname-bgp] confederation peer-as 65000
[Sysname-bgp] confederation nonstandard
confederation peer-as
Syntax
confederation peer-as as-number-list
undo confederation peer-as [ as-number-list ]
View
BGP view
Default level
2: System level
Parameters
as-number-list: Sub-AS number list. Up to 32 sub-ASs can be configured in one command line. The
expression is as-number-list = as-number &<1-32>, in which as-number specifies a sub-AS number, and
&<1-32> indicates up to 32 numbers can be specified.
Description
Use confederation peer-as to specify confederation peer sub-ASs.
Use undo confederation peer-as to remove specified confederation peer sub-ASs.
By default, no confederation peer sub-ASs are configured.
Before this configuration, you must use the confederation id command to specify the confederation for the
sub-ASs.
If the undo confederation peer-as command without the as-number-list argument is used, all
confederation peer sub-ASs are removed.
Related commands: confederation nonstandard and confederation id.
Examples
# Specify confederation peer sub ASs 2000 and 2001.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] confederation id 10
[Sysname-bgp] confederation peer-as 2000 2001
133