5.
Configure the preemption mode.
# Configure delayed preemption on Router1.
[Router1-sep-segment1]
preempt delay 30
[Router1-sep-segment1]
quit
NOTE
l
You must set the preemption delay when delayed preemption is used because there is no default
delay time.
l
When the last faulty interface recovers, edge interfaces do not receive any fault notification
packet. If the primary edge interface does not receive any fault notification packet, it starts the
delay timer. When the delay timer expires, nodes in the SEP segment start blocked interface
preemption.
To implement delayed preemption in this example, simulate a port fault and then rectify the fault.
For example:
Run the
shutdown
command on GE7/0/1 of Router2 to simulate an interface fault, and then run
the
undo shutdown
command on GE7/0/2 to rectify the fault.
Step 2
Configure the Layer 2 forwarding function on CE1 and Router1 to Router5.
For details about the configuration, see the configuration files.
Step 3
Verify the configuration.
l
Run the
shutdown
command on GE7/0/1 of Router3 to simulate an interface fault, and then
run the
display sep interface
command on Router3 to check whether GE7/0/2 of Router3
has switched from the Discarding state to the Forwarding state.
<Router3>
display sep interface gigabitethernet 7/0/2
SEP segment 1
----------------------------------------------------------------
Interface Port Role Neighbor Status Port Status
----------------------------------------------------------------
GE7/0/2 common up forwarding
----End
Configuration Files
l
Configuration file of Router1
#
sysname Router1
#
vlan batch 10 100 200
#
sep segment 1
control-vlan 10
block port optimal
preempt delay 30
protected-instance 0 to 4094
#
interface GigabitEthernet7/0/1
port hybrid tagged vlan 10 100
stp disable
sep segment 1 edge primary
#
interface GigabitEthernet7/0/2
port hybrid pvid vlan 200
port hybrid tagged vlan 100
port hybrid untagged vlan 200
#
interface GigabitEthernet7/0/3
port hybrid tagged vlan 10 100 200
Huawei AR530&AR550 Series Industrial Switch Routers
Configuration Guide - Ethernet Switching
8 SEP Configuration
Issue 01 (2014-11-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
317