Configuring the Preemption Mode
Context
Preemption Mode |
Advantage |
Disadvantage |
|
---|---|---|---|
Non-preemption mode |
SEP is in non-preemption mode by default. In this mode, blocking an interface does not disconnect any link in a SEP segment. |
The blocked interface is one of the two interfaces that complete neighbor negotiations last. |
|
Preemption mode |
Delayed preemption |
Each time a fault is rectified, the system automatically completes preemption and ensures that the specified interface is blocked. |
|
Manual preemption |
Whether the specified interface will be blocked can be controlled manually. |
|
The following conditions must be met to trigger preemption:
The SEP segment topology is complete.
The primary edge interface or no-neighbor primary edge interface has been elected in the SEP segment.
The function of flexibly specifying a blocked interface is enabled on the device where the primary edge interface or no-neighbor primary edge interface resides.
Perform the following operations on the Layer 2 switching device where the primary edge interface or no-neighbor primary edge interface resides.
Procedure
- Run:
system-view
The system view is displayed.
- Run:
sep segment segment-id
A SEP segment is created and the view of the SEP segment is displayed.
- Run:
preempt { manual | delay seconds }
The preemption mode is configured on the primary edge interface.
By default, no preemption mode is configured on the primary edge interface, that is, the non-preemption mode is used.