分享
分销 收藏 举报 申诉 / 6
播放页_导航下方通栏广告

类型CISCO-端口出现err-disabled-现象解决案例.doc

  • 上传人:仙人****88
  • 文档编号:11253582
  • 上传时间:2025-07-10
  • 格式:DOC
  • 页数:6
  • 大小:41.50KB
  • 下载积分:10 金币
  • 播放页_非在线预览资源立即下载上方广告
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    CISCO 端口 出现 err disabled 现象 解决 案例
    资源描述:
    CISCO 端口出现err-disabled 现象解决案例两则 1# 发表于 2010-5-4 13:29 | 只看该作者 | 倒序看帖 | 打印 关于接口处于err-disable的故障排查 故障症状: 线路不通,物理指示灯灭或者显示为橙色(不同平台指示灯状态不同) show interface 输出显示接口状态: FastEthernet0/47 is down, line protocol is down (err-disabled) 接口状态是err-disable。 sw1#show interfaces status Port Name Status Vlan Duplex Speed Type Fa0/47 err-disabled 1 auto auto 10/100BaseTX 如果出现了接口状态为err-disable,show interfaces status err-disabled命令能查看触发err-disable的原因。 下面示例原因为bpduguard,在连接了交换机的端口配置了spanning-tree bpduguard enable。 sw1#show interfaces status err-disabled Port Name Status Reason Fa0/47 err-disabled bpduguard 接口产生err-disable的原因可以由以下的命令来查看,系统缺省的配置是所有列出的原因都能导致接口被置为err-disable。 sw1#show errdisable detect ErrDisable Reason Detection status ----------------- ---------------- udld Enabled bpduguard Enabled security-violatio Enabled channel-misconfig Enabled psecure-violation Enabled dhcp-rate-limit Enabled unicast-flood Enabled vmps Enabled pagp-flap Enabled dtp-flap Enabled link-flap Enabled l2ptguard Enabled gbic-invalid Enabled loopback Enabled dhcp-rate-limit Enabled unicast-flood Enabled 从列表中,我们可以看出常见的原因有udld,bpduguard,link-flap以及loopback等。 具体由什么原因导致当前接口err-disable可以由show interface status err-disable来查看。 在接口模式下采用shutdown,no shutdown进行手动的激活。 在缺省配置下,一旦接口被置为err-disable,IOS将不会试图恢复接口。 这个可以由show errdisable recovery来查看,timer status下面所有的值都是disable。 下面的示例中,由于手工配置了bpduguard恢复,所以timer status的值变为Enable。 sw1#show errdisable recovery ErrDisable Reason Timer Status ----------------- -------------- udld Disabled bpduguard Enabled security-violatio Disabled channel-misconfig Disabled vmps Disabled pagp-flap Disabled dtp-flap Disabled link-flap Disabled l2ptguard Disabled psecure-violation Disabled gbic-invalid Disabled dhcp-rate-limit Disabled unicast-flood Disabled loopback Disabled Timer interval: 300 seconds Interfaces that will be enabled at the next timeout: Interface Errdisable reason Time left(sec) --------- ----------------- -------------- Fa0/47 bpduguard 217 配置IOS重新激活errdisable的接口,使用以下命令: sw1(config)#errdisable recovery cause bpduguard sw1(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 配置完上述命令后,IOS在一段时间后试图恢复被置为err-disable的接口,这段时间缺省为300秒。 但是,如果引起err-disable的源没有根治,在恢复工作后,接口会再次被置为err-disable。 调整err-disable的超时时间,可以使用以下命令: sw1(config)#errdisable recovery interval ? <30-86400> timer-interval(sec) 可以调整在30-86400秒,缺省是300秒。 如果产生err-disable的原因是udld,下面有一条命令非常管用: sw1#udld reset No ports are disabled by UDLD. 同时,接口在被置为err-disable的时候,通常有一系列的日志产生,如下: *Mar 15 15:47:19.984: %SPANTREE-2-BLOCK_BPDUGUARD: Received BPDU on port FastEthernet0/47 with BPDU Guard enabled. Disabling port. sw1# *Mar 15 15:47:19.984: %PM-4-ERR_DISABLE: bpduguard error detected on Fa0/47, putting Fa0/47 in err-disable state sw1# *Mar 15 15:47:21.996: %LINK-3-UPDOWN: Interface FastEthernet0/47, changed state to down 收集这些日志也非常管用。 所以建议配置一个syslog server,收集log信息。 ************************* sw1#show interfaces status Port Name Status Vlan Du... *************** 开启errdisable功能,这样可以使用show errdisable来查看引发errdisable的原因是什么,再更加信息内容进行解决。 ****************** 你要是想不影响使用的话,先用 no errdisable detect cause loopback 执行一下,将已经死掉的端口,no sh 一下 如果没问题,肯定是环路了,你可再找时间,对怀疑有问题的switch用拔插法,一个一个拔掉网线去查,当然,有更有效的方法,你可查看有问题的switch的所有rj45和gi口的状态,哪个有errdisable信息哪个就有问题。 switch#show interfaces status err-disabled Port     Name           Status     Reason Fa0/22               err-disabled link-flap Fa0/37   For office in 100K err-disabled link-flap Fa0/41   unknow         err-disabled link-flap Fa0/42   Training Dc066   err-disabled link-flap Fa0/45   Production line VM err-disabled link-flap switch#show errdisable detect ErrDisable Reason   Detection status -----------------   ---------------- pagp-flap         Enabled dtp-flap         Enabled link-flap         Enabled l2ptguard         Enabled gbic-invalid       Enabled loopback         Enabled switch#show interfaces status err-disabled Port     Name           Status     Reason Fa0/22               err-disabled link-flap Fa0/37   For office in 100K err-disabled link-flap Fa0/41   unknow         err-disabled link-flap Fa0/42   Training Dc066   err-disabled link-flap Fa0/45   Production line VM err-disabled link-flap switch#sh errdisable flap-values ErrDisable Reason   Flaps   Time (sec) -----------------   ------   ---------- pagp-flap         3     30 dtp-flap           3     30 link-flap         5     10 ( link-flap 这就是因为链路质量不好导致的) 关闭errdisable detect switch#no errdisable detect cause all 有一台Catalyst-3560G-24TS连着光纤线,旁边的端口(Gi0/28)插了一个光纤模块备用,过了一段时间发现备用端口提示port is error disabled,指示灯显示为橙色。 可能是没有插紧,重新插拔,然后尝试激活端口。 显示端口状态 sw1>show interfaces status Port Name Status Vlan Duplex Speed Type Gi0/1                        connected    1          a-full  a-100 10/100/1000BaseTX Gi0/2                        notconnect   1            auto   auto 10/100/1000BaseTX Gi0/3                        connected    1          a-full a-1000 10/100/1000BaseTX ... Gi0/28                              err-disabled 1                auto   auto 1000BaseSX SFP 查看触发err-disable的原因 sw1>show interfaces status err-disabled Port Name  Status Reason Gi0/28 err-disabled  gbic-invalid 默认状态下,端口被置为err-disable后,IOS不会自动恢复端口。 查看各种状态下IOS是否会自动恢复err-disable接口 sw1>show errdisable recovery 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 l2ptguard            Disabled psecure-violation    Disabled gbic-invalid         Disabled dhcp-rate-limit      Disabled unicast-flood        Disabled storm-control        Disabled arp-inspection       Disabled loopback             Disabled 现在把gbic-invalid状态置为自动恢复就行了。 进入configure终端模式:  sw1>en Password: sw1#conf t Enter configuration commands, one per line. End with CNTL/Z. 配置IOS自动激活gbic-invalid导致的errdisable端口 sw1(config)#errdisable recovery cause gbic-invalid 确认配置是否成功 sw1>show errdisable recovery 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 l2ptguard            Disabled psecure-violation    Disabled gbic-invalid         Enabled dhcp-rate-limit      Disabled unicast-flood        Disabled storm-control        Disabled arp-inspection       Disabled loopback             Disabled IOS每隔300秒会试图恢复因gbic-invalid导致err-disable的端口。
    展开阅读全文
    提示  咨信网温馨提示:
    1、咨信平台为文档C2C交易模式,即用户上传的文档直接被用户下载,收益归上传人(含作者)所有;本站仅是提供信息存储空间和展示预览,仅对用户上传内容的表现方式做保护处理,对上载内容不做任何修改或编辑。所展示的作品文档包括内容和图片全部来源于网络用户和作者上传投稿,我们不确定上传用户享有完全著作权,根据《信息网络传播权保护条例》,如果侵犯了您的版权、权益或隐私,请联系我们,核实后会尽快下架及时删除,并可随时和客服了解处理情况,尊重保护知识产权我们共同努力。
    2、文档的总页数、文档格式和文档大小以系统显示为准(内容中显示的页数不一定正确),网站客服只以系统显示的页数、文件格式、文档大小作为仲裁依据,个别因单元格分列造成显示页码不一将协商解决,平台无法对文档的真实性、完整性、权威性、准确性、专业性及其观点立场做任何保证或承诺,下载前须认真查看,确认无误后再购买,务必慎重购买;若有违法违纪将进行移交司法处理,若涉侵权平台将进行基本处罚并下架。
    3、本站所有内容均由用户上传,付费前请自行鉴别,如您付费,意味着您已接受本站规则且自行承担风险,本站不进行额外附加服务,虚拟产品一经售出概不退款(未进行购买下载可退充值款),文档一经付费(服务费)、不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
    4、如你看到网页展示的文档有www.zixin.com.cn水印,是因预览和防盗链等技术需要对页面进行转换压缩成图而已,我们并不对上传的文档进行任何编辑或修改,文档下载后都不会有水印标识(原文档上传前个别存留的除外),下载后原文更清晰;试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓;PPT和DOC文档可被视为“模板”,允许上传人保留章节、目录结构的情况下删减部份的内容;PDF文档不管是原文档转换或图片扫描而得,本站不作要求视为允许,下载前可先查看【教您几个在下载文档中可以更好的避免被坑】。
    5、本文档所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用;网站提供的党政主题相关内容(国旗、国徽、党徽--等)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
    6、文档遇到问题,请及时联系平台进行协调解决,联系【微信客服】、【QQ客服】,若有其他问题请点击或扫码反馈【服务填表】;文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“【版权申诉】”,意见反馈和侵权处理邮箱:1219186828@qq.com;也可以拔打客服电话:0574-28810668;投诉电话:18658249818。

    开通VIP折扣优惠下载文档

    自信AI创作助手
    关于本文
    本文标题:CISCO-端口出现err-disabled-现象解决案例.doc
    链接地址:https://www.zixin.com.cn/doc/11253582.html
    页脚通栏广告

    Copyright ©2010-2025   All Rights Reserved  宁波自信网络信息技术有限公司 版权所有   |  客服电话:0574-28810668    微信客服:咨信网客服    投诉电话:18658249818   

    违法和不良信息举报邮箱:help@zixin.com.cn    文档合作和网站合作邮箱:fuwu@zixin.com.cn    意见反馈和侵权处理邮箱:1219186828@qq.com   | 证照中心

    12321jubao.png12321网络举报中心 电话:010-12321  jubao.png中国互联网举报中心 电话:12377   gongan.png浙公网安备33021202000488号  icp.png浙ICP备2021020529号-1 浙B2-20240490   


    关注我们 :微信公众号  抖音  微博  LOFTER               

    自信网络  |  ZixinNetwork