Qtech QSW-2800v2 Руководство пользователя онлайн [207/230] 481607

Qtech QSW-2800v2 Руководство пользователя онлайн [207/230] 481607
Chapter8 Reliability Configuration
8-25
SwitchC(config-fe2/1)#port trunk allow-pass vlan 1-20
SwitchC(config-fe2/1)#stp enable
SwitchC(config-fe2/1)#quit
SwitchC(config)#interface fastethernet1/2
SwitchC(config-fe1/2)#port link-type trunk
SwitchC(config-fe1/2)#port trunk allow-pass vlan 1-20
SwitchC(config-fe1/2)#stp enable
SwitchC(config-fe1/2)#quit
SwitchC(config)#interface fastethernet1/1
SwitchC(config-fe1/1)#stp enable
SwitchC(config-fe1/1)#edged-port enable
SwitchC(config-fe1/1)#port hybrid pvid 20
SwitchC(config-fe1/1)#port hybrid vlan 20 untagged
SwitchC(config-fe1/1)#quit
SwitchC(config)#
4. Configure SwitchD.
//Add SwitchD to Domain2.
SwitchD#configure
%Enter configuration commands.End with Ctrl+Z or command "quit" & "end"
SwitchD(config)#stp
SwitchD(config-stp)#stp mode mstp
SwitchD(config-stp)#stp config-name Domain2
SwitchD(config-stp)#stp instance 1 vlan 1-10
SwitchD(config-stp)#stp revision-level 2
//Configure priority to be 0 of SwitchD in instance 1 to guarantee SwitchD to be
as domain root of instance 1.
SwitchD(config-stp)#stp instance 1 priority 0
//Enable BPDU protection function.
SwitchD(config-stp)#stp bpdu-gurad enable
//Create VLAN2~VLAN20, add fe1/2 and fe2/1 of SwitchD to VLAN1~VLAN20,
enable interface STP function, configure fe1/1 to be edge port.
SwitchD(config)#vlan 2-20
SwitchD(config)#interface fastethernet2/1
SwitchD(config-fe2/1)#port link-type trunk
SwitchD(config-fe2/1)#port trunk allow-pass vlan 1-20

Содержание

Скачать