• 软件测试技术
  • 软件测试博客
  • 软件测试视频
  • 开源软件测试技术
  • 软件测试论坛
  • 软件测试沙龙
  • 软件测试资料下载
  • 软件测试杂志
  • 软件测试人才招聘
    暂时没有公告

字号: | 推荐给好友 上一篇 | 下一篇

一个关于IOS软件引起的SPT 端口问题

发布: 2007-6-23 19:14 | 作者:   | 来源:   | 查看: 15次 | 进入软件测试论坛讨论

领测软件测试网

下一页 1 2 

   

本来是看一个题目觉得奇怪的,于是去查CISCO 文档,结果发现那个题目就是CISCO 文档上的东西.

只是这个文档本来是发布IOS  bug的一个通告,下面是关键内容.

Loopback Test: Test for a spanning-tree BPDU error. A crossover cable should be connected between two unused access ports. In this case, FastEthernet0/1 and FastEthernet0/2 are configured as access ports and are connected by a crossover cable. See RJ-45 Cables for information on Ethernet RJ-45 crossover pinouts. The interface configuration is shown below:

Switch#show run interface FastEthernet0/1     
Building configuration...          
Current configuration : 72 bytes     
!     
interface FastEthernet0/1     
switchport mode access     
no ip address     
end          
Switch#show run interface FastEthernet0/2     
Building configuration...          
Current configuration : 72 bytes     
!     
interface FastEthernet0/2     
switchport mode access     
no ip address     
end

If, after 30 seconds, one of the port LEDs turns amber and the other stays green, the switch is working correctly, either because it does not have the problem or already has the Cisco IOS software upgrade that corrects the problem. If, after 30 seconds, both of the LEDs turn green and flash rapidly, the Cisco IOS software will need to be upgraded. This can also be verified by looking at the output from the following commands. If the switch is working correctly, the number of BPDUs received on the blocked port will be a non-zero number and will increase every two seconds, using the default timers

WORKING_Switch#show spanning-tree interface FastEthernet 0/1 detail     
Port 1 (FastEthernet0/1) of VLAN0001 is forwarding     
Port path cost 19, Port priority 128, Port Identifier 128.1.     
Designated root has priority 32769, address 000a.4107.7400     
Designated bridge has priority 32769, address 000a.4107.7400     
Designated port id is 128.1, designated path cost 0     
Timers: message age 0, forward delay 0, hold 0     
Number of transitions to forwarding state: 1     
BPDU: sent 237, received 1     
^^^^^^^^^^^^^^^^^^^^^^^^^^ Port is forwarding and sending BPDUs correctly. 
WORKING_Switch#show spanning-tree interface FastEthernet 0/2 detail     

延伸阅读

文章来源于领测软件测试网 https://www.ltesting.net/


关于领测软件测试网 | 领测软件测试网合作伙伴 | 广告服务 | 投稿指南 | 联系我们 | 网站地图 | 友情链接
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073

软件测试 | 领测国际ISTQBISTQB官网TMMiTMMi认证国际软件测试工程师认证领测软件测试网