Qtech QSW-2870 Руководство пользователя онлайн [205/230] 481606

Qtech QSW-2870 Руководство пользователя онлайн [205/230] 481606
Chapter8 Reliability Configuration
8-23
SwitchA(config-stp)#stp config-name Domain1
SwitchA(config-stp)#stp instance 1 vlan 1-10
SwitchA(config-stp)#stp revision-level 1
//Configure priority to be 0 of SwitchA in instance 0 to guarantee SwitchA to be
as the CIST root.
SwitchA(config-stp)#stp priority 0
//Configure priority to be 0 of SwitchA in instance 1 to guarantee SwitchA to be
as domain root of instance 1.
SwitchA(config-stp)#stp instance 1 priority 0
//Create VLAN2~VLAN 20 and add interface fe1/1 and fe1/2 of SwitchA to
VLAN1~VLAN20, enable interface STP function and enable interface root
protection function.
SwitchA(config)#vlan 2-20
SwitchA(config)#interface fastethernet1/1
SwitchA(config-fe1/1)#port link-type trunk
SwitchA(config-fe1/1)#port trunk allow-pass vlan 1-20
SwitchA(config-fe1/1)#stp enable
SwitchA(config-fe1/1)#quit
SwitchA(config)#stp
SwitchA(config-stp)#stp instance 1 root-protection enable
SwitchA(config-stp)#stp root-protection enable
SwitchA(config)#interface fastethernet1/2
SwitchA(config-fe1/2)#port link-type trunk
SwitchA(config-fe1/2)#port trunk allow-pass vlan 1-20
SwitchA(config-fe1/2)#stp enable
SwitchA(config-fe1/2)#quit
SwitchA(config)#stp
SwitchA(config-stp)#stp instance 1 root-protection enable
SwitchA(config-stp)#stp root-protection enable
SwitchA(config-stp)#
2. Configure SwitchB.
//Add SwitchB to Domain2.
SwitchB#configure
%Enter configuration commands.End with Ctrl+Z or command "quit" & "end"
SwitchB(config)#stp
SwitchB(config-stp)#stp mode mstp

Содержание

Скачать
Случайные обсуждения