STP实验
版权声明:原创作品,允许转载,转载时请务必以超链接形式标明文章 原始出处 、作者信息和本声明。否则将追究法律责任。http://xuguoquan.blog.51cto.com/144413/49580 |
STP协议
实验要求:
1. 设S1为根网桥。
2. 设S3为从根网桥。
3. 使S2的f0/1为阻塞状态。
4. 将f0/1端口设为速端口。
5. 先用A ping B加-t,然后将S3的f0/24 down。
6. 将S2 设为上行速链路(查看端口变化)。
拓扑图:
![]() 实验步骤:
1. S1(config)#spanning-tree vlan 1 root primary
2. S3(config)#spanning-tree vlan 1 root secondary
3. S2(config)#int f0/1
S2(config-if)#spanning-tree vlan 1 cost 39
4. S1(config)#int f0/10
S1(config-if)#spanning-tree portfast
S2、S3同理!
注:将水晶头插入f0/10端口会立即变绿色。
5. 在各主机配好IP的条件下,在A机运行cmd下输入ping –t 192.168.1.2,能ping通!
将S3的f0/24 down掉。
S3(config)#int f0/24
S3(config-if)#shut
发现无法通(丢包)!
S3(config-if)#no shut
这时又能ping通了!
6. S2(config)#spanning-tree uplinkfast
重复(第5题)的操作,发现在S2上启用上行速链路后,S3的f0/24端口down掉后,再次up,发现:间隔时间缩短,丢包有所变化! 本文出自 “菜鸟网管的新博客” 博客,请务必保留此出处http://xuguoquan.blog.51cto.com/144413/49580 本文出自 51CTO.COM技术博客 |



xuguoquan
博客统计信息
热门文章
最新评论
友情链接