Displaying Device Information
Context
If a fault occurs on the device, you can view device information to check the status of device components.
How Can I Determine Whether the Device Status Is Normal?
This command displays the hardware management status only and does not provide service running status.
<HUAWEI> display device
S5720-28X-PWR-SI-AC's Device status:
Slot Sub Type Online Power Register Status Role
-------------------------------------------------------------------------------
0 - S5720-28X-PWR-SI Present PowerOn Registered Normal Master
How Can I View the Device Type and Subcard Type?
Run the display device [ slot slot-id ] command to view component information and device status. The Type field indicates the device type and subcard type.
<HUAWEI> display device
S5720-56C-PWR-EI-AC's Device status:
Slot Sub Type Online Power Register Status Role
-------------------------------------------------------------------------------
0 - S5720-56C-PWR-EI Present PowerOn Registered Normal Master
1 ES5D21X02T01 Present PowerOn Registered Normal NA
PWR1 POWER Present PowerOn Registered Normal NA
FAN1 FAN Present PowerOn Registered Normal NA
How Can I Determine Whether the Port on the Device Is an Optical or Electrical Port?
Run the display device slot slot-id command to view device information. The Port Type field indicates the port type, in which F indicates an optical port and C indicates an electrical port.
<HUAWEI> display device slot 0 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 Down - 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 - 0/0/20 GE(C) Absent Auto 1000 Full Disable Down - 0/0/21 GE(C) Absent Auto 1000 Full Disable Down - 0/0/22 GE(C) Absent Auto 1000 Full Disable Down - 0/0/23 GE(C) Absent Auto 1000 Full Disable Down - 0/0/24 GE(C) Absent Auto 1000 Full Disable Down - 0/0/25 GE(C) Absent Auto 1000 Full Disable Down - 0/0/26 GE(C) Absent Auto 1000 Full Disable Down - 0/0/27 GE(C) Absent Auto 1000 Full Disable Down - 0/0/28 GE(C) Absent Auto 1000 Full Disable Down - 0/0/29 GE(C) Absent Auto 1000 Full Disable Down - 0/0/30 GE(C) Absent Auto 1000 Full Disable Down - 0/0/31 GE(C) Absent Auto 1000 Full Disable Down - 0/0/32 GE(C) Absent Auto 1000 Full Disable Down - 0/0/33 GE(C) Absent Auto 1000 Full Disable Down - 0/0/34 GE(C) Absent Auto 1000 Full Disable Down - 0/0/35 GE(C) Absent Auto 1000 Full Disable Down - 0/0/36 GE(C) Absent Auto 1000 Full Disable Down - 0/0/37 GE(C) Absent Auto 1000 Full Disable Down - 0/0/38 GE(C) Absent Auto 1000 Full Disable Down - 0/0/39 GE(C) Absent Auto 1000 Full Disable Down - 0/0/40 GE(C) Absent Auto 1000 Full Disable Down - 0/0/41 GE(C) Absent Auto 1000 Full Disable Down - 0/0/42 GE(C) Absent Auto 1000 Full Disable Down - 0/0/43 GE(C) Absent Auto 1000 Full Disable Down - 0/0/44 GE(C) Absent Auto 1000 Full Disable Down - 0/0/45 GE(C) Absent Auto 1000 Full Disable Down - 0/0/46 GE(C) Absent Auto 1000 Full Disable Down - 0/0/47 GE(C) Absent Auto 1000 Full Disable Down - 0/0/48 GE(C) Absent Auto 100 Full Disable Up - 0/0/49 GE(F) Present Normal 1000 Full Disable Up - 0/0/50 GE(F) Absent Normal 1000 Full Disable Down - 0/0/51 GE(F) Absent Normal 1000 Full Disable Down - 0/0/52 GE(F) Absent Normal 1000 Full Disable Down - -------------------------------------------------------------------------------
How Can I Determine Whether a Device Supports PoE?
Run the display device [ slot slot-id ] command to view information about the device.
- The device name contains PWR or PWH.
- The switch is released in V200R013C02 or later versions and provides new downlink interface types UM, P or U.
<HUAWEI> display device
S5720-28X-SI-AC's Device status: //Does not support PoE.
Slot Sub Type Online Power Register Status Role
-------------------------------------------------------------------------------
0 - S5720-28X-SI Present PowerOn Registered Normal Master
<HUAWEI> display device
S5720-28X-PWR-SI-AC's Device status: //Support PoE.
Slot Sub Type Online Power Register Status Role
-------------------------------------------------------------------------------
0 - S5720-28X-PWR-SI Present PowerOn Registered Normal Master
How Can I Determine Whether a Device Is an AC or DC Model?
Run the display device [ slot slot-id ] command to view information about the device. If the device name displayed in the first line of the command output contains AC, the device is an AC model. If the device name contains DC, the device is a DC model. For details about the power supply configuration of the device, see "Power Supply" in the Hardware Description - Chassis.
<HUAWEI> display device
S5720-28X-PWR-SI-AC's Device status:
Slot Sub Type Online Power Register Status Role
-------------------------------------------------------------------------------
0 - S5720-28X-PWR-SI Present PowerOn Registered Normal Master