Board logo

标题: [其他] 下午碰到个CISCO交换机问题,来咨询下大家 [打印本页]

作者: couger    时间: 2015-3-20 18:22     标题: 下午碰到个CISCO交换机问题,来咨询下大家

下午去做点私活,帮一个公司折腾网络。

结果我也没动什么线路(没有插拔,顶多有可能碰到松动),两台交换机之间就不能级联了。

现象是接了路由的那台交换机A正常上网,级联过来的那台交换机B,级联口是灭的。于是我把级联口的网线换了一根,不行;交换机B上面换一个口,橙色闪烁一阵子,又灭了。
B上面的口,只要和A连接,试一个灭一个,灭了之后再也起不来了,貌似shutdown掉了。但是直接接电脑就正常。
重启一下B,接口恢复了,再试,又是一个接一个的shutdown。

我想着是不是有环路,就把B上面的线全拔了,只剩一个级联的线,故障依然。

最后没办法只好把要用的线全接到A上面去,勉强够用。

由于没登CONSOLE口,跟交换机也不经常打交道,所以来问问这里有高人能给我分析分析么?
作者: lin    时间: 2015-3-20 18:24

posted by wap, platform: Galaxy Note III
交换机上show spanning vlan xx,show logging ,show inter xx 看看有没有问题橙色闪有可能是bpdu guard起作用了

本帖最后由 lin 于 2015-3-20 18:27 通过手机版编辑
作者: mas_sun    时间: 2015-3-20 18:31

posted by wap, platform: Galaxy Mega
端口输入 noshut
作者: mas_sun    时间: 2015-3-20 18:32

posted by wap, platform: Galaxy Mega
还有就是有没有配到truck口
作者: Ravanelli    时间: 2015-3-20 18:33

posted by wap, platform: 华为
不登交换机光靠拔线去找问题,你这一直玩的非网管交换机吧?这样也敢去接私活……
去要来密码登上去把配置贴出来,才好帮你分析
作者: kmp1987    时间: 2015-3-20 19:43

............

[ 本帖最后由 kmp1987 于 2015-3-21 20:45 编辑 ]
作者: couger    时间: 2015-3-20 20:47

引用:
原帖由 Ravanelli 于 2015-3-20 18:33 发表
posted by wap, platform: 华为
不登交换机光靠拔线去找问题,你这一直玩的非网管交换机吧?这样也敢去接私活……
去要来密码登上去把配置贴出来,才好帮你分析
嘿嘿,人家也是一直当傻瓜交换机用的。今天是去处理别的事情,没随身带电脑和串口线。
作者: shiny    时间: 2015-3-20 20:56

曾经有一次,帮人折腾个H3C的防火墙,插上电源后发现电源线没理好,又拔了下电源插头,那SB设备就这么挂了,联系厂家,问过是否不正常掉电,然后直接让返厂了
作者: Acme    时间: 2015-3-20 21:09

给我1000块,远程协助你救回来。
作者: b0207191    时间: 2015-3-20 21:35

http://blog.163.com/ygw_923581/b ... 641720103241612891/


进入交换机全局配置模式,执行errdisable recovery cause ?,会看到如下信息:
    Switch(config)#errdisable recovery cause ?
     all Enable timer to recover from all causes
     bpduguard Enable timer to recover from BPDU Guard error disable state
     channel-misconfig Enable timer to recover from channel misconfig disable state
     dhcp-rate-limit Enable timer to recover from dhcp-rate-limit error disable state
     dtp-flap Enable timer to recover from dtp-flap error disable state
     gbic-invalid Enable timer to recover from invalid GBIC error disable state
     l2ptguard Enable timer to recover from l2protocol-tunnel error disable state
     link-flap Enable timer to recover from link-flap error disable state
     loopback Enable timer to recover from loopback detected disable state
     pagp-flap Enable timer to recover from pagp-flap error disable state
     psecure-violation Enable timer to recover from psecure violation disable state
     security-violation Enable timer to recover from 802.1x violation disable state
     udld Enable timer to recover from udld error disable state
     unicast-flood Enable timer to recover from unicast flood disable state
     vmps Enable timer to recover from vmps shutdown error disable state
    从列出的选项中,我们可以看出,有非常多的原因会引起端口被置于错误状态
作者: Acme    时间: 2015-3-21 16:30

errdisable recovery cause all
errdisable recovery interval 180

把这个命令做到交换机上,下次起码接口能在180秒后自动恢复。
作者: Redfield    时间: 2015-3-21 18:28

关闭bpduguard  关闭两台交换机级联口上的portfast
作者: greatcoat    时间: 2015-3-21 20:45

posted by wap, platform: Windows
都是高手




欢迎光临 TGFC Lifestyle (http://bbs.tgfcer.com/) Powered by Discuz! 6.0.0