confederation peer-as
Use confederation peer-as to specify confederation peer sub-ASs.
Use undo confederation peer-as to remove the specified confederation peer sub-ASs.
Syntax
confederation peer-as as-number-list
undo confederation peer-as [ as-number-list ]
Default
No confederation peer sub-ASs are specified.
Views
BGP instance view
Predefined user roles
network-admin
Parameters
as-number-list: Specifies a sub-AS number list. A maximum of 32 sub-ASs can be configured in one command line. The expression is as-number-list = as-number &<1-32>. The as-number argument specifies a sub-AS number in the range of 1 to 4294967295, and &<1-32> indicates that a maximum of 32 numbers can be specified.
Usage guidelines
Before this configuration, use the confederation id command to specify the confederation ID for the sub-ASs.
If the undo confederation peer-as command is executed without the as-number-list argument, all confederation peer sub-ASs are removed.
Examples
# In BGP instance view, specify confederation peer sub-ASs 2000 and 2001.
<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp-default] confederation id 10 [Sysname-bgp-default] confederation peer-as 2000 2001
Related commands
confederation id
confederation nonstandard