Configuration Files
l Configuration file of SwitchA
#
sysname SwitchA
#
stp mode
rstp
stp instance 0 root
primary
#
interface
GigabitEthernet1/0/1
stp root-
protection
#
interface
GigabitEthernet1/0/2
stp root-
protection
#
return
l Configuration file of SwitchB
#
sysname SwitchB
#
stp mode
rstp
#
interface
GigabitEthernet1/0/2
stp disable
#
return
l Configuration file of SwitchC
#
sysname SwitchC
#
stp mode
rstp
#
interface
GigabitEthernet1/0/1
stp instance 0 cost
20000
#
interface
GigabitEthernet1/0/2
stp
disable
#
return
l Configuration file of SwitchD
#
sysname SwitchD
#
stp mode
rstp
stp instance 0 root
secondary
#
return
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 8 STP/RSTP Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
416