preemption mode
Use preemption mode to configure a preemption mode for a smart link group.
Use undo preemption mode to restore the default.
Syntax
preemption mode { role | speed [ threshold threshold-value ] }
undo preemption mode
Default
No preemption mode is configured for a smart link group.
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:
If you specify the threshold threshold-value option, the primary port transitions to forwarding state when the difference between the primary port speed and the secondary port speed equals or exceeds the threshold value (in percentage) of the secondary port speed.
If you do not specify the threshold threshold-value option, the primary port transitions to forwarding state when the primary port speed exceeds the secondary port speed.
Examples
# Configure the role preemption mode.
<Sysname> system-view [Sysname] smart-link group 1 [Sysname-smlk-group1] preemption mode role