< Home

set device fault-light

Function

The set device fault-light command sets the fault indicator status on a device.

The undo set device fault-light command restores the default fault indicator status.

By default, the fault indicator status of the device is not set. The fault indicator status is displayed based on the current device running status.

S5720-HI do not support this command.

Format

set device fault-light { normal | under-repair [ keeptime time ] } [ slot slot-id ]

undo set device fault-light [ slot slot-id ]

Parameters

Parameter

Description

Value

normal

Displays the fault indicator status based on the current device running status.

-

under-repair

Configures the fault indicator to indicate that the device is faulty.

-

keeptime time

Sets the time during which the fault indicator indicates that the device is faulty.

The value is an integer that ranges from 45 to 600, in seconds. The default value is 45.

slot slot-id

Specifies a slot ID.

If not slot ID is specified in a stack, this command sets the fault indicator status of the stack master.

The value range depends on the device configuration.

Views

System view

Default Level

3: Management level

Usage Guidelines

If a switch is faulty, run the set device fault-light command to set the mode indicators or system indicator to the faulty state so that O&M personnel can find the faulty switch onsite.
  • For the S5735-S, S5735S-S, S5735-L, S5735S-L, S5735S-L-M, S5731S-H, S5732-H, S5731-S, S5731S-S, S6730-S, S6730S-S, S6720-HI, S6730-H, S6730S-H, and S6731H

    When the set device fault-light under-repair command is executed, the ID indicator is steady blue and turns off after it is steady blue for the time specified by keeptime time (the default time is 45s if this parameter is not specified). The set device fault-light normal command and the undo set device fault-light command have the same functions. That is, after either of the two commands is executed, the ID indicator turns off.

  • For the S5720I-6X-PWH-SI-AC and S5720I-10X-PWH-SI-AC

    The switch has only one fault indicator, WiFi indicator. When the set device fault-light under-repair command is executed, the WiFi indicator blinks red fast and turns off after it blinks red fast for the time specified by keeptime time (the default time is 45s if this parameter is not specified). The set device fault-light normal and undo set device fault-light commands have the same functions. That is, after either of the two commands is executed, the WiFi indicator turns off.

  • For the S5735-S-I

    The switch has only one fault indicator, SYS indicator. When the set device fault-light under-repair command is executed, the SYS indicator blinks red fast and turns off after it blinks red fast for the time specified by keeptime time (the default time is 45s if this parameter is not specified). The set device fault-light normal and undo set device fault-light commands have the same functions. That is, after either of the two commands is executed, the SYS indicator turns off.

  • For other switches that support this command

    When the set device fault-light under-repair command is executed, the SYS indicator and mode indicators (STAT, SPED, PoE, and STCK) blink red fast. After these indicators blink red fast for the time specified by keeptime time (the default time is 45s if this parameter is not specified), the SYS indicator returns to the previous state, and the STAT indicator is steady on.

    The set device fault-light normal and undo set device fault-light commands have the same functions. That is, after either of the two commands is executed, the SYS indicator returns to the previous state, and the STAT indicator is steady on.

    If slot slot-id is not specified in a stack, the configuration takes effect on indicators on the master switch.

Example

# Configure the fault indicator to indicate that the device is faulty.
<HUAWEI> system-view
[HUAWEI] set device fault-light under-repair
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >