实验八、九生成树配置—生成树协议STP和快速生成树协议RSTP
生成树协议STP、快速生成树RSTP
理解生成树协议STP和快速生成树协议RSTP
某学校为了开展计算机教学和网络办公,建立了一个计算机教室和一个校办公区,这两处的计算机网络通过两台交换机互联组成内部校园网,为了提高网络的可靠性,网络管理员用2条链路将交换机互联,现要在交换机上做适当配置,使网络避免环路。
本实验以2台S3550-24交换机为例,2台交换机分别命名为SwitchA和SwitchB。PC1和PC2在同一个网段,,,。
使网络在有冗余链路的情况下避免环路的产生,避免广播风暴等。
。
SwitchA>enable 14
Password:
SwitchA#configure terminal
Enter mands, one per line. End TL/Z.
SwitchA(config)#spanning-tree
2009-10-16 19:10:41 ***@5-CONFIG:Configured from outband
SwitchA(config)#end
2009-10-16 19:10:43 ***@5-CONFIG:Configured from outband
验证测试:验证生成树协议已经开启
SwitchA#show spanning-tree
StpVersion : MSTP
SysStpStatus : Enabled
BaseNumPorts : 24
MaxAge : 20
HelloTime : 2
ForwardDelay : 15
BridgeMaxAge : 20
BridgeHelloTime : 2
BridgeForwardDelay : 15
MaxHops : 20
TxHoldCount : 3
PathCostMethod : Long
BPDUGuard : Disabled
BPDUFilter : Disabled
###### MST 0 vlans mapped : All
BridgeAddr :
Priority : 32768
TimeSinceTopologyChange : 0d:0h:6m:47s
TopologyChanges : 0
DesignatedRoot : 800000D0F8FF837C
RootCost : 0
RootPort : 0
CistRegionRoot : 800000D0F8FF837C
CistPathCost : 0
SwitchA#show spanning-tree interface 0/1
PortAdminPortfast : Disabled
PortOperPortfast : Disabled
PortAdminLinkType : auto
PortOperLinkType : point
计算机网络生成树实验报告 来自淘豆网m.daumloan.com转载请标明出处.