NOTE
l
The control VLAN must be a VLAN that has not been created or used, but the configuration file
automatically displays the command for creating the VLAN.
l
Each SEP segment must be configured with a control VLAN. After an interface is added to the
SEP segment configured with a control VLAN, the interface is automatically added to the control
VLAN.
2.
Add Router1 to Router3 to SEP segment 1 and configure interface roles.
# Configure Router1.
[Router1]
interface gigabitethernet 7/0/1
[Router1-GigabitEthernet7/0/1]
sep segment 1 edge no-neighbor primary
[Router1-GigabitEthernet7/0/1]
quit
[Router1]
interface gigabitethernet 7/0/2
[Router1-GigabitEthernet7/0/2]
stp disable
[Router1-GigabitEthernet7/0/2]
sep segment 1
[Router1-GigabitEthernet7/0/2]
quit
# Configure Router2.
[Router2]
interface gigabitethernet 7/0/1
[Router2-GigabitEthernet7/0/1]
sep segment 1 edge no-neighbor secondary
[Router2-GigabitEthernet7/0/1]
quit
[Router2]
interface gigabitethernet 7/0/2
[Router2-GigabitEthernet7/0/2]
stp disable
[Router2-GigabitEthernet7/0/2]
sep segment 1
[Router2-GigabitEthernet7/0/2]
quit
# Configure Router3.
[Router3]
interface gigabitethernet 7/0/1
[Router3-GigabitEthernet7/0/1]
stp disable
[Router3-GigabitEthernet7/0/1]
sep segment 1
[Router3-GigabitEthernet7/0/1]
quit
[Router3]
interface gigabitethernet 7/0/2
[Router3-GigabitEthernet7/0/2]
stp disable
[Router3-GigabitEthernet7/0/2]
sep segment 1
[Router3-GigabitEthernet7/0/2]
quit
3.
Specify an interface to block.
# On Router1 where the no-neighbor primary edge interface of SEP segment 1 is located,
specify the interface in the middle of the SEP segment as the interface to block.
[Router1]
sep segment 1
[Router1-sep-segment1]
block port middle
4.
Configure the preemption mode.
# Configure the manual preemption mode on Router1.
[Router1-sep-segment1]
preempt manual
5.
Configure the topology change notification function.
# Configure devices in SEP segment 1 to notify the MSTP network of topology changes.
# Configure Router1.
[Router1-sep-segment1]
tc-notify stp
[Router1-sep-segment1]
quit
# Configure Router2.
[Router2]
sep segment 1
[Router2-sep-segment1]
tc-notify stp
[Router2-sep-segment1]
quit
Step 2
Configure basic MSTP functions.
1.
Configure an MST region.
# Configure PE1.
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.
333