Cloud Native应用交付

  • 首页
  • 关于本站
  • 个人介绍
  • Downloads
  • Repo
    • Github
    • Container
  • F5
    • F5 Python SDK
    • F5-container
    • F5-LBaaS
  • 社交
    • 联系我
    • 微信/微博
    • 公众号
    • 打赏赞助
行至水穷处 坐看云起时
Cloud Native Application Services: cnadn.net
  1. 首页
  2. 交换机技术
  3. 正文

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

2006年09月5日 6500点热度 0人点赞 0条评论

本来是看一个题目觉得奇怪的,于是去查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:

1
Switch#<strong>show run interface FastEthernet0/1</strong>    

1
Building configuration...          

1
Current configuration : 72 bytes    

1
!    

1
interface FastEthernet0/1    

1
<strong>switchport mode access</strong>    

1
no ip address    

1
end          

1
Switch#<strong>show run interface FastEthernet0/2</strong>    

1
Building configuration...          

1
Current configuration : 72 bytes    

1
!    

1
interface FastEthernet0/2    

1
<strong>switchport mode access</strong>    

1
no ip address    

1
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

1
WORKING_Switch#<strong>show spanning-tree interface FastEthernet 0/1 detail</strong>    

1
<strong>Port 1 (FastEthernet0/1) of VLAN0001 is forwarding</strong>    

1
Port path cost 19, Port priority 128, Port Identifier 128.1.    

1
Designated root has priority 32769, address 000a.4107.7400    

1
Designated bridge has priority 32769, address 000a.4107.7400    

1
Designated port id is 128.1, designated path cost 0    

1
Timers: message age 0, forward delay 0, hold 0    

1
Number of transitions to forwarding state: 1    

1
<strong>BPDU: sent 237, received 1</strong>    

1
^^^^^^^^^^^^^^^^^^^^^^^^^^ <strong>Port is forwarding and sending BPDUs correctly.</strong>

1
WORKING_Switch#<strong>show spanning-tree interface FastEthernet 0/2 detail</strong>    

1
<strong>Port 2 (FastEthernet0/2) of VLAN0001 is blocking</strong>    

1
Port path cost 19, Port priority 128, Port Identifier 128.2.    

1
Designated root has priority 32769, address 000a.4107.7400    

1
Designated bridge has priority 32769, address 000a.4107.7400    

1
Designated port id is 128.1, designated path cost 0    

1
Timers: message age 1, forward delay 0, hold 0    

1
Number of transitions to forwarding state: 0    

1
<strong>BPDU: sent 1, received 242</strong>    

1
^^^^^^^^^^^^^^^^^^^^^^^^^^ <strong>Port is blocking and receiving BPDUs correctly.</strong>

On a switch that is experiencing the problem, the number of BPDUs received on each port will stay at 0 (zero),

and both ports will be forwarding.

1
PROBLEM_Switch#<strong>show spanning-tree interface FastEthernet 0/1 detail</strong>    

1
<strong>Port 1 (FastEthernet0/1) of VLAN0001 is forwarding</strong>    

1
Port path cost 19, Port priority 128, Port Identifier 128.1.    

1
Designated root has priority 32769, address 000a.4107.7400    

1
Designated bridge has priority 32769, address 000a.4107.7400    

1
Designated port id is 128.1, designated path cost 0    

1
Timers: message age 0, forward delay 0, hold 0    

1
Number of transitions to forwarding state: 1    

1
<strong>BPDU: sent 24, received 0</strong>    

1
<strong>^^^^^^^^^^^^^^^^^^^^^^^^^^ No BPDUs received. Port is forwarding.</strong>          

1
PROBLEM_Switch#<strong>show spanning-tree interface FastEthernet 0/2 detail</strong>    

1
<strong>Port 2 (FastEthernet0/2) of VLAN0001 is forwarding</strong>    

1
Port path cost 19, Port priority 128, Port Identifier 128.2.    

1
Designated root has priority 32769, address 000a.4107.7400    

1
Designated bridge has priority 32769, address 000a.4107.7400    

1
Designated port id is 128.2, designated path cost 0    

1
Timers: message age 0, forward delay 0, hold 0    

1
Number of transitions to forwarding state: 1    

1
<strong>BPDU: sent 26, received 0     </strong>

1
<strong>^^^^^^^^^^^^^^^^^^^^^^^^^^ No BPDUs received. Port is forwarding.</strong>

1
考811的战友应该对这个不陌生了

1
<a target="_blank" href="http://www.cisco.com/en/US/products/hw/switches/ps646/products_field_notice09186a00800c81fc.shtml">原文点这里</a>

相关文章

  • 简单记录
  • 2960 Configuring DHCP Features(IOS12.2)
  • [原创]VLAN间访问控制的几种方法总结.
  • show vlan里的一些状态提示[831]
  • 双工问题
本作品采用 知识共享署名-非商业性使用 4.0 国际许可协议 进行许可
标签: spanning-tree interface FastEthernet X detail BPDU
最后更新:2006年09月5日

纳米

linjing.io

打赏 点赞
< 上一篇
下一篇 >

文章评论

取消回复

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据。

纳米

linjing.io

☁️迈向Cloud Native ADC ☁️

认证获得:
TOGAF: ID 152743
Kubernetes: CKA #664
Microsoft: MCSE MCDBA
Cisco: CCNP
Juniper: JNCIS
F5:
F5 Certified Solution Expert, Security
F5 Certified Technology Specialist, LTM/GTM/APM/ASM
F5 Certified BIG-IP Administrator
  • 点击查看本博技术要素列表
  • 归档
    分类
    • Automation
    • Avi Networks
    • Cisco ACI
    • CISCO资源
    • F5 with ELK
    • F5-Tech tips
    • F5技术
    • Juniper
    • Linux
    • NGINX
    • SDN
    • ServiceMesh
    • WEB编程
    • WINDOWS相关
    • 业界文章
    • 交换机技术
    • 化云为雨/Openstack
    • 协议原理
    • 容器/k8s
    • 我的工作
    • 我的生活
    • 网站技术
    • 路由器技术
    • 项目案例
    标签聚合
    istio neutron envoy docker irule flannel openstack DNS api k8s network nginx F5 bigip gtm
    最近评论
    TomCruz 发布于 6 个月前(10月12日) 2022-18:30:24 请提供下密码,谢谢您
    lili 发布于 6 个月前(09月26日) 11:53分 请查收
    lili 发布于 6 个月前(09月26日) 打赏
    厚嘴唇 发布于 1 年前(02月08日) ces部署之前要提前安装kube-ovn吧?
    厚嘴唇 发布于 1 年前(02月08日) ces部署必须是在kube-ovn网络安装好之后才可以吗
    浏览次数
    • Downloads - 81,301 views
    • Github - 80,761 views
    • 迄今为止最全最深入的BIGIP-DNS/GTM原理及培训资料 - 73,864 views
    • 联系我 - 71,741 views
    • F5常见log日志解释 - 61,257 views
    • Sniffer Pro 4 70 530抓包软件 中文版+视频教程 - 51,136 views
    • 这篇文档您是否感兴趣 - 43,985 views
    • 迄今为止最全最深入的BIGIP-DNS/GTM原理及培训资料 - 38,070 views
    • F5利用Elastic stack(ELK)进行应用数据挖掘系列(2)-DNS - 31,112 views
    • F5利用Elastic stack(ELK)进行应用数据挖掘系列(1)-HTTP - 30,301 views
    链接表
    • Jimmy Song‘s Blog
    • SDNap
    • SDNlab
    • SDN论坛
    • Service Mesh社区
    • 三斗室
    • 个人profile

    COPYRIGHT © 2022 Cloud Native应用交付. ALL RIGHTS RESERVED.

    Theme Kratos Made By Seaton Jiang

    京ICP备14048088号-1

    京公网安备 11010502041506号