NOTE
By default, STP is enabled on a Layer 2 interface. Before adding an interface to a SEP segment,
disable STP on the interface.
# On Router1, configure GE7/0/1 as the primary edge interface and GE7/0/3 as the
secondary edge interface.
[Router1]
interface gigabitethernet 7/0/1
[Router1-GigabitEthernet7/0/1]
stp disable
[Router1-GigabitEthernet7/0/1]
sep segment 1 edge primary
[Router1-GigabitEthernet7/0/1]
quit
[Router1]
interface gigabitethernet 7/0/3
[Router1-GigabitEthernet7/0/3]
stp disable
[Router1-GigabitEthernet7/0/3]
sep segment 1 edge secondary
[Router1-GigabitEthernet7/0/3]
quit
# Configure Router2.
[Router2]
interface gigabitethernet 7/0/1
[Router2-GigabitEthernet7/0/1]
stp disable
[Router2-GigabitEthernet7/0/1]
sep segment 1
[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
# Configure Router4.
[Router4]
interface gigabitethernet 7/0/1
[Router4-GigabitEthernet7/0/1]
stp disable
[Router4-GigabitEthernet7/0/1]
sep segment 1
[Router4-GigabitEthernet7/0/1]
quit
[Router4]
interface gigabitethernet 7/0/2
[Router4-GigabitEthernet7/0/2]
stp disable
[Router4-GigabitEthernet7/0/2]
sep segment 1
[Router4-GigabitEthernet7/0/2]
quit
# Configure Router5.
[Router5]
interface gigabitethernet 7/0/1
[Router5-GigabitEthernet7/0/1]
stp disable
[Router5-GigabitEthernet7/0/1]
sep segment 1
[Router5-GigabitEthernet7/0/1]
quit
[Router5]
interface gigabitethernet 7/0/3
[Router5-GigabitEthernet7/0/3]
stp disable
[Router5-GigabitEthernet7/0/3]
sep segment 1
[Router5-GigabitEthernet7/0/3]
quit
3.
Specify an interface to block.
# On Router1 where the primary edge interface is located, specify the interface with the
highest priority to block.
[Router1]
sep segment 1
[Router1-sep-segment1]
block port optimal
4.
Set the priority of GE7/0/2 on Router3.
[Router3]
interface gigabitethernet 7/0/2
[Router3-GigabitEthernet7/0/2]
sep segment 1 priority 128
[Router3-GigabitEthernet7/0/2]
quit
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.
316