preemption mode

Use preemption mode to configure a preemption mode.

Use undo preemption mode to disable preemption.

Syntax

preemption mode { role | speed [ threshold threshold-value ] }

undo preemption mode

Default

Preemption is disabled.

Views

Smart link group view

Predefined user roles

network-admin

Parameters

role: Specifies the role preemption mode, which enables the primary port to transition to forwarding state after the primary link recovers.

speed: Specifies the speed preemption mode.

threshold threshold-value: Specifies the speed preemption threshold in percentage. The value range for the threshold-value argument is 1 to 10000.

Usage guidelines

If you specify the speed preemption mode, the following conditions occur when the primary link recovers:

Examples

# Configure the role preemption mode.

<Sysname> system-view
[Sysname] smart-link group 1
[Sysname-smlk-group1] preemption mode role