#
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 SwitchC
#
sysname
SwitchC
#
vlan batch 2 to
10
#
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
10
#
interface Ethernet0/0/2
port link-type trunk
port trunk allow-pass vlan 2 to
10
stp disable
#
interface Ethernet0/0/3
port link-type trunk
port trunk allow-pass vlan 2 to
10
stp disable
#
interface Ethernet0/0/4
port link-type trunk
port trunk allow-pass vlan 2 to
10
stp instance 1 cost
200000
#
return
l Configuration file of SwitchD
#
sysname
SwitchD
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.
263