The as name command adds an AS with a specified name to an AS group.
The as name-include command adds an AS of which the name contains a specified string to an AS group.
The undo as name command deletes an AS with a specified name from an AS group.
The undo as name-include command deletes an AS of which the name contains a specified string from an AS group.
By default, no AS is added to an AS group.
This command can only be executed on a parent switch.
Parameter | Description | Value |
---|---|---|
as-name | Specifies the name of an AS. |
The value must have an existing AS name. |
string | Specifies the string contained in an AS name. |
The value is a string of 1 to 31 case-insensitive characters without spaces. |
Usage Scenario
After creating an AS group, add the ASs that need to be configured in a batch to the AS group. You can only add created ASs to an AS group.
Precautions
An AS can be added to only one AS group.
After an AS is added to an AS group, to change the AS group, run the as name command to add the AS to another AS group.