< Home

stack slot priority

Function

The stack slot priority command sets a stack priority for a member switch in a stack.

By default, the stack priority of a member switch is 100.

Format

stack slot slot-id priority priority

Parameters

Parameter

Description

Value

slot-id

Specifies the stack ID of a member switch.

The value is an integer that ranges from 0 to 8.

priority

Specifies a stack priority.

The value is an integer that ranges from 1 to 255.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To set a stack priority for a member switch in a stack, run the stack slot priority command. A larger priority indicates a higher priority, meaning that a switch is more likely to be selected as a master switch.

Example

# Set the stack priority of the member switch with stack ID 4 to 150.

<HUAWEI> system-view
[HUAWEI] stack slot 4 priority 150
Warning: Do not frequently modify the priority because it will make the stack split. Continue? [Y/N]:y
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >