< Home

stack timer mac-address switch-delay

Function

The stack timer mac-address switch-delay command sets a period after which a stack changes its system MAC address.

The undo stack timer mac-address switch-delay command configures a stack to change the system MAC address immediately after the owner of the original system MAC address leaves the stack.

By default, a stack changes the system MAC address after 10 minutes.

When a stack is configured to switch the system MAC address immediately, the system begins using the MAC address of the new master switch the moment the previous master switch fails or leaves the stack. This may cause protocols such as LACP and STP to flap, thereby affecting services.

Format

stack timer mac-address switch-delay delay-time

undo stack timer mac-address switch-delay

Parameters

Parameter

Description

Value

delay-time

Specifies a period after which a stack changes the system MAC address.

The value ranges from 0 to 60, in minutes.

Views

System view

Default Level

3: Management level

Usage Guidelines

When a member switch leaves a stack, if you specify the MAC address of the leaving switch as the stack MAC address and it does not rejoin the stack within the time specified by delay-time, the master switch changes the stack MAC address to its own MAC address.

The stack MAC address switchover delay time of any member switch in a stack is the same as that of the master switch.

If the value of the MAC address switchover timer is set to 0, no stack MAC address switchover will be performed.

This command can be used only after the stack function is enabled (default status).

Example

# Set the MAC address switchover delay of the local switch to 4 minutes.

<HUAWEI> system-view
[HUAWEI] stack timer mac-address switch-delay 4
Warning: Do not frequently modify the MAC switching time 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 >