故障现象
笔者使用的一台CISCO 4006交换机的全局生成树状态如下:
sh spantree summary
MAC address reduction: disabled
Root switch for vlans: none.
Global loopguard is disabled on the switch.
Global portfast is disabled on the switch.
BPDU skewing detection disabled for the bridge.
BPDU skewed for vlans: none.
Portfast bpdu-guard disabled for bridge.
Portfast bpdu-filter disabled for bridge.
现在想把某一个端口设为portfast,以节省初始化时间。因为使用终端,要求启动后马上连接到服务器,这个时间很短(不到1min),而等生成树收敛的时间肯定超出。所以有这个需求。但是,把一个端口设置portfast后,没有作用。还是要等一段时间网络才通(在一台cisco 2924交换机上设置后,马上有预期的效果)。后来把BPDUfilter也重启,再测试,还是没有效果。
4006交换机设置单个端口portfast和BPDUfilter后结果这样:
sh spantree portfast 2/11
Portfast: Enable
BPDU Filter: Enable
BPDU Guard: Default
Portfast BPDU guard is disabled.
Portfast BPDU filter is disabled.
最后一行显示结果还是disabled(无效)。
诊断过程
笔者查阅相关资料,从cisco网站查到,开机延时来自以下4个因素:
Spanning-Tree Protocol (STP)
EtherChannel negotiation
Trunking negotiation
Link speed/duplex negotiation between the switch and the workstation
于是笔者把trunk mode设为off(原先是auto),解决了问题。
排除心得
这个问题估计越来越实际,因为现在Windows终端比较普及,而终端机的启动仅需40s,如果网络方面不配合,估计连获取DHCP分配的IP地址都有问题;另外为了方便用户(callcenter),一般要求设置开机之后,自动登陆终端服务器。所以在规划网络时最好选用支持端口portfast的交换机。通告:http://www.qqread.com/exchange/h981309108.html
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
相关专题
- 三层交换技术专题 (1708篇文章)
- 交换机与路由器密码恢复 (3943篇文章)
- 交换机的选购 (1634篇文章)
- 常用交换机典型配置 (1634篇文章)
- 交换机故障处理手册 (1693篇文章)
- Cisco交换机专题 (4265篇文章)
- 华为交换机 (2439篇文章)
- 思科交换机配置 (4265篇文章)
- 交换机配置基础知识与实战技巧 (1634篇文章)
- 交换路由知识答疑 (332篇文章)
- 关于思科局域网交换机维护与配置应用技巧 (0次浏览)
- 交换机安全技术 如何架设安全的交换机系统 (0次浏览)
- Juniper出击交换机市场 与老对手思科展开新竞 (0次浏览)
- 智能交换平台迎接存储挑战 (0次浏览)



