< Home

as name (uni-mng view)

Function

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.

Format

as name as-name [ model as-model mac-address mac-address ]

undo as { all | name as-name }

Parameters

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.

-

Views

uni-mng view

Default Level

3: Management level

Usage Guidelines

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.

You can change the name of an AS that has connected to an SVF system when the following conditions are met:
  1. The AS is not bound to any service profile.
  2. The AS is not added to any AS group.
  3. Ports of the AS are not added to any port group.

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.

  • If the message "A port instance in the AS (xxx) has been added to the PM. Please delete the configuration first." is displayed when you delete an AS, run the undo binding command in the PM statistics task view to delete the configuration. This command ensures that the AS can be deleted successfully.

Example

# Configure an AS name.

<HUAWEI> system-view
[HUAWEI] uni-mng
[HUAWEI-um] as name as1 model S5720-28P-LI-AC mac-address 0200-0000-0022
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >