注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
热点文章 利用手机和电池实现反地心..
 帮助

Portfast & Uplinkfast


2006-12-21 05:54:29
 标签:路由   [推送到技术圈]

版权声明:原创作品,谢绝转载!否则将追究法律责任。
 
 
sw1# show spanning-tree brief
VLAN1
  Spanning tree enabled protocol ieee
  Root ID    Priority    32768
             Address     cc00.0394.0000
            
This bridge is the root
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
  Bridge ID  Priority    32768
             Address     cc00.0394.0000
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300
Interface                                   Designated
Name                 Port ID Prio Cost  Sts Cost  Bridge ID            Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/8      128.9    128    19 FWD     0 32768 cc00.0394.0000 128.9 
FastEthernet0/9      128.10   128    19 FWD     0 32768 cc00.0394.0000 128.10
 
 
sw2#sh span br
VLAN1
  Spanning tree enabled protocol ieee
  Root ID    Priority    32768
             Address     cc00.0394.0000
             Cost        19
             Port        9 (FastEthernet0/8)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
  Bridge ID  Priority    32768
             Address     cc00.082c.0000
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec
             Aging Time 300
Interface                                   Designated
Name                 Port ID Prio Cost  Sts Cost  Bridge ID            Port ID
-------------------- ------- ---- ----- --- ----- -------------------- -------
FastEthernet0/8      128.9    128    19 FWD     0 32768 cc00.0394.0000 128.9 
FastEthernet0/9      128.10   128    19 BLK     0 32768 cc00.0394.0000 128.10
 
1, portfast
在R3上使用扩展的PING命令
R3#ping
Protocol [ip]:
Target IP address: 10.1.1.1
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
在SW2的F0/3端口上启用PORTFAST前,
sw2(config)#int f 0/3
sw2(config)#shut
sw2(config)#no shut
上面黄色区域就是在关闭再启用F0/3端口后,R3PING通R1所用的时间间隔
在SW2的F0/3端口上启用PORTFAST
sw2(config-if)#spanning-tree portfast
sw2(config-if)#shut
sw2(config-if)#no shut
上面红色区域就是在关闭再启用F0/3端口后,R3PING通R1所用的时间间隔
 
 
2,UPLINKFAST
在R3上使用扩展的PING命令
R3#ping
Protocol [ip]:
Target IP address: 10.1.1.1
Repeat count [5]: 1000
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 1000, 100-byte ICMP Echos to 10.1.1.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...................!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!...!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
启用UPLINKFAST前
sw2(config)#int f 0/8
sw2(config-if)#shut
sw2(config)-if#no shut
上面的黄色区域表示在关闭再启用F0/8端口后,R3PING通R1所用的时间间隔
启用UPLINKFAST
sw2(config)#spanning-tree uplinkfast
sw2(config)#int f 0/8
sw2(config-if)#shut
sw2(config-if)#no shut
上面的红色区域表示在关闭再启用F0/8端口后,R3PING通R1所用的时间间隔
 
 
 
 
实验拓扑
 
点击在新窗口查看全图

本文出自 “穿过地狱去看海” 博客,谢绝转载!





    文章评论
 
2006-12-22 13:50:09
很有帮助

但是文章里面的中文字体太小了吧。。。

近视眼儿的我,看起来好费劲儿哦

博猪下次要改进呦~~   ^00^

2006-12-22 14:03:33
沙发没有了。好文章,赞一下!飘过。。。

2006-12-22 14:10:58
学习中。。。怎么做不出楼主的效果?

2006-12-22 14:29:14
你可以把你的配置贴出来,一起讨论一下

2007-04-18 13:20:32
最好把原理再说一下!

2007-06-29 22:47:55
还可以详细点,,。。。

 

发表评论

昵   称:
验证码:  点击图片可刷新验证码  博客过2级,无需填写验证码
内   容: