< Home

set l2-traffic fast-recover

Function

The set l2-traffic fast-recover enable command enables fast recovery of Layer 2 traffic.

The undo set l2-traffic fast-recover enable command disables fast recovery of Layer 2 traffic.

By default, fast recovery of Layer 2 traffic is disabled.

Format

set l2-traffic fast-recover enable

undo set l2-traffic fast-recover enable

Parameters

None

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After fixed switches set up a stack and the standby switch starts, the standby switch restores configurations and then implements batch backup from the master switch.

By default, interfaces on the standby switch become Up when batch backup is complete. In this case, Layer 2 and Layer 3 traffic can be normally forwarded but there is a delay in Layer 2 traffic recovery. To enable fast recovery of Layer 2 traffic, run the set l2-traffic fast-recover enable command. Interfaces on the standby switch then immediately go Up when configuration restoration is complete. This way, however, cannot ensure Layer 3 traffic forwarding through the Up interfaces.

Example

# Enable fast recovery of Layer 2 traffic.

<HUAWEI> system-view
[HUAWEI] set l2-traffic fast-recover enable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >