< Home

display device

Function

The display device command displays the type and status of the components on a device.

Format

display device [ slot slot-id ]

Parameters

Parameter

Description

Value

slot slot-id

Specifies a slot ID.

The value depends on the device configuration.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If you need to check whether a switch is working properly, run the display device command to view hardware information of the components and device registration status on the switch.

This command can also display the working status of the battery or redundant power supply (RPS) used for a device.

The following product models support the use of an RPS:
  • S5720S-SI: S5720S-28P-SI-AC, S5720S-52X-SI-AC, S5720S-28X-SI-AC, S5720S-52P-SI-AC, S5720S-28X-SI-DC, S5720S-52X-SI-DC
  • S5720-SI: S5720-28X-SI-24S-AC, S5720-28X-SI-24S-DC
  • S5720-EI series: S5720-32X-EI-24S-AC, S5720-50X-EI-46S-AC, S5720-32X-EI-AC, S5720-52X-EI-AC, S5720-50X-EI-AC, S5720-32P-EI-AC, S5720-52P-EI-AC, S5720-32X-EI-DC, S5720-50X-EI-DC, S5720-32X-EI-24S-DC, S5720-50X-EI-46S-DC
  • S5720-LI series: S5720-28X-LI-AC, S5720-28X-LI-DC, S5720-28X-PWR-LI-AC, S5720-52X-LI-AC, S5720-52X-LI-DC, S5720-52X-PWR-LI-AC, S5720-28X-LI-24S-AC, S5720-28X-LI-24S-DC, S5720-28X-PWH-LI-AC, S5720-52X-PWR-LI-ACF, S5720-52X-LI-48S-AC, S5720-28X-PWR-LI-ACF
  • S5720S-LI series: S5720S-28X-LI-24S-AC
  • S6720-LI series: all models
  • S6720S-LI series: all models

Example

# Display information about the components on a device (with a built-in power supply unit or power module).

<<HUAWEI> display device
S5720-52P-LI-AC's Device status:             
Slot Sub  Type                Online    Power      Register     Status   Role   
------------------------------------------------------------------------------- 
0    -    S5720-52P-LI        Present   PowerOn    Registered   Normal   Master 

# Display information about components on a device (connected to an RPS).

<HUAWEI> display device
S5720-28X-LI-AC's Device status:
Slot  Sub  Type               Online    Power      Register     Status   Role
--------------------------------------------------------------------------------
0     -    S5720-28X-LI       Present   PowerOn    Registered   Normal   Master
           RPS                Present   PowerOn    Registered   Self-powered

# Display information about components on a device (where ports on the device panel and ports on subcards cannot be used together).

<HUAWEI> display device
S6720-32C-PWH-SI-AC's Device status:                                                                                                
Slot Sub  Type                  Online    Power    Register     Status   Role                                                       
-------------------------------------------------------------------------------                                                     
0    -    S6720-32C-PWH-SI      Present   PowerOn  Registered   Normal   Master                                                     
     1    -                     Present   PowerOn  Unregistered -        NA                                                         
     PWR1 POWER                 Present   PowerOn  Registered   Normal   NA                                                         
     FAN1 FAN                   Present   PowerOn  Registered   Normal   NA                                                         
Info: Slot 0 is in the port-on-card disable mode, so subcard 1 is unavailable and unregistered.
# Display information about the component in slot 0.
<HUAWEI> display device slot 0
*down: administratively down

S5720-52P-LI-AC's Device status:
Slot Sub  Type                Online    Power      Register     Status   Role
-------------------------------------------------------------------------------
0    -    S5720-52P-LI        Present   PowerOn    Registered   Normal   Master
-------------------------------------------------------------------------------
  Board Type        : S5720-52P-LI
  Board Description : 48 Ethernet 10/100/1000 ports,4 Gig SFP,AC 110/220V
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Port      Port     Optic     MDI     Speed   Duplex  Flow-    Port   PoE
          Type     Status            (Mbps)          Ctrl     State  State
------------------------------------------------------------------------------
0/0/1     GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/2     GE(C)    Absent    Auto    1000    Full    Disable  Up     -
0/0/3     GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/4     GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/5     GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/6     GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/7     GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/8     GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/9     GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/10    GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/11    GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/12    GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/13    GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/14    GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/15    GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/16    GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/17    GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/18    GE(C)    Absent    Auto    1000    Full    Disable  Down   -
0/0/19    GE(C)    Absent    Auto    1000    Full    Disable  Down   - 
Choose Columns...
Table 1 Description of the display device command output

Item

Description

Slot

Slot ID.

Sub

Card ID. The value can be:
  • –: indicates that the component is a device, not a card.
  • 1: indicates card 1.
  • 2: indicates card 2.
  • FANn: indicates a fan module. n indicates the serial number of the fan module.
  • PWRn: indicates a power module . n indicates the serial number of the power module.

Type

Component type. A component can be a device, RPS, or a card.

The device types are displayed as S5720-52P-LI. The -AC or -DC field is not displayed.

Subcards are classified into the front subcard, rear subcard, power subcard and fan subcard.
  • Front card: The command displays the PCB model of a front card. For card classification and details about different cards, see the Hardware Description.
  • Rear card: The command displays the PCB model of a rear card. For card classification and details about different cards, see the Hardware Description.
  • Fan subcards include FAN.
  • Power subcard is POWER.
  • Lead-acid battery board: PBB-12AHA

Redundant power supply: RPS

Online

Whether a component is available. If the component is available, this field displays Present. If the component is unavailable, it is not displayed in the command output.

Power

Power supply status. The value can be:
  • PowerOn
  • PowerOff

Register

Whether the device is registered:
  • Registered: indicates that the component is registered.
  • Unregistered: indicates that the component is unregistered.

Status

Status of the component. The value can be:
  • Abnormal: indicates that the component is running abnormally or the component does not match the device model.
  • Normal: indicates that the component is running normally.
  • WarmingUp: indicates that a subcard is performing configuration restoration.
If the device is connected to an RPS power supply, the following values may be displayed:
  • Non-powered: The RPS power supply is not supplying power to the local device.
  • Other-powered: The RPS power supply is supplying power to another device and cannot supply power to the local device.
  • Self-powered: The RPS power supply is supplying power to the local device.
  • –: The RPS power supply is initializing and has not registered.

Role

Role of a component.
  • In a stack, the value can be:

    Master: The component is the master switch.

    Standby: The component is the standby switch.

    Slave: The component is a slave switch.

  • On a standalone device, this field displays Master.
  • The value NA indicates a card.

Board Type

Device type.

Board Description

Device description.

Port

Number of an interface on a device.

Port Type

Type of an interface.
  • If the field value contains (C), this interface is an electrical interface.
  • If the field value contains (F), this interface is an optical interface.

Optic Status

Whether an optical module is available on an interface.
  • Present: An optical module is present on the interface.
  • Absent: No optical module is present on the interface.
  • -: Optical module information cannot be obtained.

MDI

Medium dependent interface (MDI) type, which can be any of the following:
  • Auto
  • Normal
  • Across

If this field displays -, the MDI type of the interface cannot be obtained.

Speed (Mbps)

Interface speed.

Duplex

Duplex mode of an interface.
  • Half: The interface works in half-duplex mode.
  • Full: The interface works in full-duplex mode.
  • -: The interface duplex mode cannot be obtained.

To set the duplex mode for an interface, run the duplex command.

Flow-Ctrl

Flow control status on an interface.
  • Disable: The flow control function is disabled on the interface.
  • Enable: The flow control function is enabled on the interface.
  • -: The flow control status cannot be obtained.

To configure flow control, run the flow-control command.

Port State

Status of an interface:
  • down: The interface is physically Down.
  • *down: The interface is manually shut down.
  • up: The interface is in Up state.

PoE State

Status of the PoE function on an interface.
  • Enable: The PoE function is enabled.
  • Disable: The PoE function is disabled.
  • -: PoE information cannot be obtained.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >