20
stp root-
protection
#
return
l Configuration file of SwitchA
#
sysname
SwitchA
#
vlan batch 2 to
20
#
stp instance 1 root
secondary
stp pathcost-standard
legacy
#
stp region-
configuration
region-name
RG1
instance 1 vlan 2 to
10
instance 2 vlan 11 to
20
active region-
configuration
#
interface Ethernet0/0/1
port link-type trunk
port trunk allow-pass vlan 2 to
20
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to
20
#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 2 to
20
#
return
l Configuration file of SwitchB
#
sysname
SwitchB
#
vlan batch 2 to
20
#
stp instance 2 root
secondary
stp pathcost-standard
legacy
#
stp region-
configuration
region-name
RG1
instance 1 vlan 2 to
10
instance 2 vlan 11 to
20
active region-
configuration
Huawei AR3200 Series Enterprise Routers
Configuration Guide - LAN 8 MSTP Configuration
Issue 02 (2012-03-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
262