< Home

stack led enable

Function

The stack led enable command enables a service port indicator to indicate the stack ID of a stack switch.

The stack led disable command disables a service port indicator from indicating the stack ID of a stack switch.

By default, a service port indicator does not indicate the stack ID of a stack switch.

Format

stack led enable [ duration duration-value ]

stack led disable

Parameters

Parameter

Description

Value

duration duration-value

Specifies how long a service port indicator indicates the stack ID of a stack switch.

The value is an integer that ranges from 30 to 600, in seconds. By default, a stack ID indicator stays on for 45 seconds.

Views

All views

Default Level

2: Configuration level

Usage Guidelines

Stack IDs can be allocated by the master switch when a stack is set up, or you can configure them yourself. If stack IDs are allocated by the master switch, you cannot identify which ID a device maps to. To enable a service port indicator to indicate the stack ID of a stack switch, run the stack led enable command.

A service port indicator indicates the stack ID of a stack switch as follows:
  • For a switch whose stack ID ranges from 1 to 8: Only the indicator whose serial number matches the stack ID is on. For example, if the stack ID is 1, the first indicator is on. If the stack ID is 2, the second indicator is on.
  • For a switch whose stack ID is 0: If the stack contains N stack switches, the first N indicators are on. For example, if the stack contains 9 stack switches, the first 9 indicators are on, indicating the stack ID is 0.
  • After service port indicators are configured to indicate the stack IDs, the service port indicator of the master switch blinks, and that of the slave switch is steady on.

The configuration of this command becomes invalid when port indicators show stack IDs of member switches for the specified time.

Example

# Enable a service port indicator to indicate the stack ID of a stack device for a period of 30s.

<HUAWEI> stack led enable duration 30
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >