< Home

display as

Function

The display as command displays information about access switches (ASs).

This command can only be executed on a parent switch.

Format

display as { all | name as-name | mac-address mac-address | vpn-instance information }

Parameters

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.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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.

Example

# 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
--------------------------------------------------------------------------------
Table 1 Description of the display as all command output

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

Status of an AS:
  • idle: The AS is in initial state.

  • normal: The AS has gone online and connected to an SVF system.

  • fault: The AS does not connect to an SVF system.

  • version mismatch: The V, R, or C versions of the AS and parent are inconsistent.

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
------------------------------------------------------------------------------
Table 2 Description of the display as name command output

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

Status of an AS:
  • idle: The AS is in initial state.

  • normal: The AS has gone online and connected to an SVF system.

  • fault: The AS does not connect to an SVF system.

  • version mismatch: The V, R, or C versions of the AS and parent are inconsistent.

Mode

Service configuration mode of an AS:

  • centralized: indicates the centralized mode.
  • independent: indicates the independent mode.

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)                              
--------------------------------------------------------------------------------
Table 3 Description of the display as vpn-instance information command output

Item

Description

Total

Number of ASs.

No.

AS number.

VPN-Instance

VPN instance name.

AS Name

AS name.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >