Parameter |
Description |
Value |
---|---|---|
slot slot-id |
Specifies a slot ID. |
The value depends on the device configuration. |
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.
# 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.
<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 -
Item |
Description |
---|---|
Slot |
Slot ID. |
Sub |
Card ID. The value can be:
|
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.
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:
|
Register |
Whether the device is registered:
|
Status |
Status of the component. The value can be:
If the device is connected to an RPS power supply, the following values may be displayed:
|
Role |
Role of a component.
|
Board Type |
Device type. |
Board Description |
Device description. |
Port |
Number of an interface on a device. |
Port Type |
Type of an interface.
|
Optic Status |
Whether an optical module is available on an interface.
|
MDI |
Medium dependent interface (MDI) type, which can be any of the following:
If this field displays -, the MDI type of the interface cannot be obtained. |
Speed (Mbps) |
Interface speed. |
Duplex |
Duplex mode of an interface.
To set the duplex mode for an interface, run the duplex command. |
Flow-Ctrl |
Flow control status on an interface.
To configure flow control, run the flow-control command. |
Port State |
Status of an interface:
|
PoE State |
Status of the PoE function on an interface.
|