< Home

as name (AS group view)

Function

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.

Format

as name as-name

as name-include string

undo as name as-name

undo as name-include string

Parameters

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.

Views

AS group view

Default Level

3: Management level

Usage Guidelines

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.

Example

# Add the AS as_1 to the AS group group_1.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] as-group name group_1
[HUAWEI-um-as-group-group_1] as name as_1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >