取消
显示结果 
搜索替代 
您的意思是: 
cancel
4563
查看次数
0
有帮助
9
回复

百试不得其解的交换机端口问题

cccccccc88865
Level 1
Level 1
这几天快要被这交换机逼疯了。
情况描述:
一台2960交换机原本一直工作正常。前几天因为某种原因,所有下联网口凡是接了设备的均亮黄灯(或称琥珀色灯),闪烁方式与平时正常使用时是一样的。登控制口看 log 也能看到正常上下线的内容,如:
00:00:35: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/12, changed state to up
00:00:58: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/37, changed state to down
00:01:00: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/37, changed state to up
但所有联机设备均收不到数据,也ping不通交换机,就象断线了一样。
起初从指示灯来看,怀疑是被STP阻塞。
但在关闭上联口的前提下,关闭生成树:
switch(config)#no spanning-tree mode pvst
switch(config)#no spanning-tree extend system-id
后,保存、重启,仍然是老样子。
实在想不出为什么了,特来此求教各位_{}_
9 条回复9

YilinChen
Spotlight
Spotlight
1、注意交换机MOD键是不是按过了
2、以下命令查看状态
show interface status
show errdisable detect
show spanning-tree
3、断开所有log报UP/DOWN的接口,再观察
4、交换机硬件本身损坏了

cccccccc88865
Level 1
Level 1
YilinChen 发表于 2019-11-26 08:38
1、注意交换机MOD键是不是按过了
2、以下命令查看状态
show interface status

非常感谢你的回复,按照提示我试了一下:
1、MOD键没按过,我还试着切换了一下,一切依旧;
2、show interface status 显示正常

Port Name Status Vlan Duplex Speed Type
Fa0/1 connected 60 a-full a-100 10/100BaseTX
Fa0/2 connected 60 a-full a-100 10/100BaseTX
Fa0/3 connected 60 a-full a-100 10/100BaseTX
Fa0/4 notconnect 60 auto auto 10/100BaseTX
Fa0/5 notconnect 60 auto auto 10/100BaseTX
show errdisable detect 显示如下:
ErrDisable Reason Detection status
----------------- ----------------
udld Enabled
bpduguard Enabled
security-violatio Enabled
channel-misconfig Enabled
psecure-violation Enabled
unicast-flood Enabled
vmps Enabled
loopback Enabled
unicast-flood Enabled
pagp-flap Enabled
dtp-flap Enabled
link-flap Enabled
sfp-config-mismat Enabled
gbic-invalid Enabled
dhcp-rate-limit Enabled
storm-control Enabled
arp-inspection Enabled
community-limit Enabled
invalid-policy Enabled
show spanning-tree 显示大概是这样,每个VLAN一段,每段除了VLAN不同,其它都差不多。
VLAN0001
Spanning tree enabled protocol ieee
Root ID Priority 32769
Address 001e.14eb.b180
Cost 3008
Port 49 (GigabitEthernet0/1)
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 49153 (priority 49152 sys-id-ext 1)
Address 001e.4980.1f80
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Uplinkfast enabled
Interface Role Sts Cost Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Gi0/1 Root FWD 3004 128.49 P2p
3、还在试,感觉所有的设备都要断开了。
4、希望不是这样。

YilinChen
Spotlight
Spotlight
errdisable 看起来全开了,有没有触发的?

cccccccc88865
Level 1
Level 1
本帖最后由 cccccccc88865 于 2019-11-26 14:52 编辑
YilinChen 发表于 2019-11-26 13:50
errdisable 看起来全开了,有没有触发的?

请问从哪儿可以看触发的?
我只会show log,没发现异常。

YilinChen
Spotlight
Spotlight
cccccccc88865 发表于 2019-11-26 14:50
请问从哪儿可以看触发的?
我只会show log,没发现异常。

show errdisable 开头的命令,自己试一下

cccccccc88865
Level 1
Level 1
#show errdisable fla
ErrDisable Reason Flaps Time (sec)
----------------- ------ ----------
pagp-flap 3 30
dtp-flap 3 30
link-flap 5 10
#show errdisable recover
ErrDisable Reason Timer Status
----------------- --------------
udld Disabled
bpduguard Disabled
security-violatio Disabled
channel-misconfig Disabled
vmps Disabled
pagp-flap Disabled
dtp-flap Disabled
link-flap Disabled
psecure-violation Disabled
sfp-config-mismat Disabled
gbic-invalid Disabled
dhcp-rate-limit Disabled
unicast-flood Disabled
storm-control Disabled
arp-inspection Disabled
loopback Disabled
Timer interval: 300 seconds
Interfaces that will be enabled at the next timeout:
看不出什么特别的。

Rockyw
Spotlight
Spotlight
楼主可以参考一下下面的文档
Solved: Cisco 2960 switch ports flapping - Urgent
https://community.cisco.com/t5/switching/cisco-2960-switch-ports-flapping-urgent/td-p/1844522
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

Rockyw
Spotlight
Spotlight
下面这两个文档也可以参考一下
Cisco交换机端口假死(err-disable)解决方法
https://blog.csdn.net/hawht/article/details/22685119
排除交换机端口及接口问题
https://www.cisco.com/c/zh_cn/support/docs/switches/catalyst-6500-series-switches/12027-53.html
另外检查一下端口下边有设备或端口有没有环路,或者端口模块是否有故障
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rockyw | If it solves your problem, please mark as answer. Thanks !

Wubin2010
Spotlight
Spotlight
bpdugrad和portfast组合开起来看看是
入门指南

使用上面的搜索栏输入关键字、短语或问题,搜索问题的答案。

我们希望您在这里的旅程尽可能顺利,因此这里有一些链接可以帮助您快速熟悉思科社区:









快捷链接