The as name command configures an AS name or displays the AS view.
The undo as name command deletes an AS.
By default, system default name-device MAC address is used as the AS name, for example, huawei-000a-123d-2200.
This command can only be executed on a parent switch.
Parameter | Description | Value |
---|---|---|
as-name | Specifies the name of an AS. |
The value is a string of 1 to 31 case-insensitive characters without spaces. |
model as-model | Specifies the device model of an AS. |
The value is of enumerated type. You can enter a question mark (?) and select a value from the displayed value range. |
mac-address mac-address | Specifies the management MAC address of an AS. |
The value is in H-H-H format, where H is a hexadecimal number of 1 to 4 digits. The value cannot be all 0s, all Fs, or a multicast MAC address. |
all | Deletes all ASs. |
- |
Usage Scenario
You can configure a name for an AS and use the name to uniquely identify the AS. This configuration facilitates AS identification and management.
If no AS name is configured, system default name-device MAC address is used as the AS name after the AS connects to an SVF system.
Precautions
If the model as-model mac-address mac-address parameter is not specified, the AS view is displayed. You can enter the view of an AS only when the AS has been created.
If an AS has connected to an SVF system, the AS leaves the SVF system and restarts after being deleted.