The display as command displays information about access switches (ASs).
This command can only be executed on a parent switch.
Parameter | Description | Value |
---|---|---|
all |
Displays information about all ASs. |
- |
name as-name |
Specifies the name of an AS. |
The value must have an existing AS name. |
mac-address mac-address |
Specifies the 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. |
vpn-instance information |
Displays VPN instance information. |
The value must be an existing VPN instance name. |
You can run the display as command to view information about ASs in an SVF system, including the AS device type, VPN instance information, and access status.
# Display information about all ASs.
<HUAWEI> display as all
Total: 1, Normal: 1, Fault: 0, Idle: 0, Version mismatch: 0
--------------------------------------------------------------------------------
No. Type MAC IP State Name
--------------------------------------------------------------------------------
0 S5720-P-LI aaaa-bbbb-cc92 192.168.11.254 normal as1
--------------------------------------------------------------------------------
Item |
Description |
---|---|
Total |
Total number of ASs. |
Normal |
Number of ASs that are running normally. |
Fault |
Number of ASs in abnormal running status. |
Idle |
Number of ASs that have been configured but no gone online. |
Version mismatch |
Number of ASs of which the software versions do not match the software version of the parent. |
No. |
Sequence number. |
Type |
Device type of an AS. |
MAC |
Management MAC address of an AS. |
IP |
IP address of an AS. |
State |
|
Name |
Name of an AS. |
# Display information about the AS as1.
<HUAWEI> display as name as1
------------------------------------------------------------------------------
Management-mac : aaaa-bbbb-cc92
System MAC : aaaa-bbbb-cc92
ESN : 210235317310xxxxxxxx
Name : as1
Model : S5720-28P-LI-AC
Device Type : S5720-P-LI
State : normal
Mode : centralized
Slot : 0
As group : group1
Port group : group2
------------------------------------------------------------------------------
Item |
Description |
---|---|
Management-mac |
Management MAC address of an AS. In a Super Virtual Fabric (SVF) system, each AS has a unique management MAC address to identify itself. To set a management MAC address for an AS, run the as access manage-mac command. If no management MAC address is configured for an AS, the system MAC address of the AS is used as the management MAC address. |
System MAC |
System MAC address of an AS, which is the physical MAC address of this AS. |
ESN |
Sequence number of an AS. |
Name |
Name of an AS. |
Model |
Device model of an AS. |
Device Type |
Device type of an AS. |
State |
|
Mode |
Service configuration mode of an AS:
|
Slot |
Stack ID of an AS in a stack. |
As group |
AS group to which an AS belongs. |
Port group |
Port group to which an AS port belongs. |
# Display VPN instance information of ASs.
<HUAWEI> display as vpn-instance information
Total: 5
--------------------------------------------------------------------------------
No. VPN-Instance AS Name
--------------------------------------------------------------------------------
0 VPN1 e-10005(1-1)
1 -- t-10018(2-2)
2 VPN2 s-10021(1-1)
3 -- 6-10023(2-1)
4 -- 11-t-16(x-s)
--------------------------------------------------------------------------------
Item |
Description |
---|---|
Total |
Number of ASs. |
No. |
AS number. |
VPN-Instance |
VPN instance name. |
AS Name |
AS name. |