CISCO 端口出現(xiàn)err-disabled 現(xiàn)象解決案例.doc_第1頁(yè)
CISCO 端口出現(xiàn)err-disabled 現(xiàn)象解決案例.doc_第2頁(yè)
CISCO 端口出現(xiàn)err-disabled 現(xiàn)象解決案例.doc_第3頁(yè)
CISCO 端口出現(xiàn)err-disabled 現(xiàn)象解決案例.doc_第4頁(yè)
CISCO 端口出現(xiàn)err-disabled 現(xiàn)象解決案例.doc_第5頁(yè)
已閱讀5頁(yè),還剩2頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

CISCO 端口出現(xiàn)err-disabled 現(xiàn)象解決案例兩則1# 發(fā)表于 2010-5-4 13:29 | 只看該作者 | 倒序看帖 | 打印 關(guān)于接口處于err-disable的故障排查 故障癥狀: 線路不通,物理指示燈滅或者顯示為橙色(不同平臺(tái)指示燈狀態(tài)不同) show interface 輸出顯示接口狀態(tài): FastEthernet0/47 is down, line protocol is down (err-disabled) 接口狀態(tài)是err-disable。 sw1#show interfaces status Port Name Status Vlan Duplex Speed Type Fa0/47 err-disabled 1 auto auto 10/100BaseTX 如果出現(xiàn)了接口狀態(tài)為err-disable,show interfaces status err-disabled命令能查看觸發(fā)err-disable的原因。 下面示例原因?yàn)閎pduguard,在連接了交換機(jī)的端口配置了spanning-tree bpduguard enable。 sw1#show interfaces status err-disabled Port Name Status Reason Fa0/47 err-disabled bpduguard 接口產(chǎn)生err-disable的原因可以由以下的命令來查看,系統(tǒng)缺省的配置是所有列出的原因都能導(dǎo)致接口被置為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以及l(fā)oopback等。 具體由什么原因?qū)е庐?dāng)前接口err-disable可以由show interface status err-disable來查看。 在接口模式下采用shutdown,no shutdown進(jìn)行手動(dòng)的激活。 在缺省配置下,一旦接口被置為err-disable,IOS將不會(huì)試圖恢復(fù)接口。 這個(gè)可以由show errdisable recovery來查看,timer status下面所有的值都是disable。 下面的示例中,由于手工配置了bpduguard恢復(fù),所以timer status的值變?yōu)镋nable。 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在一段時(shí)間后試圖恢復(fù)被置為err-disable的接口,這段時(shí)間缺省為300秒。 但是,如果引起err-disable的源沒有根治,在恢復(fù)工作后,接口會(huì)再次被置為err-disable。 調(diào)整err-disable的超時(shí)時(shí)間,可以使用以下命令: sw1(config)#errdisable recovery interval ? timer-interval(sec) 可以調(diào)整在3086400秒,缺省是300秒。 如果產(chǎn)生err-disable的原因是udld,下面有一條命令非常管用: sw1#udld reset No ports are disabled by UDLD. 同時(shí),接口在被置為err-disable的時(shí)候,通常有一系列的日志產(chǎn)生,如下: *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 收集這些日志也非常管用。 所以建議配置一個(gè)syslog server,收集log信息。*sw1#show interfaces status Port Name Status Vlan Du.*開啟errdisable功能,這樣可以使用show errdisable來查看引發(fā)errdisable的原因是什么,再更加信息內(nèi)容進(jìn)行解決。*你要是想不影響使用的話,先用no errdisable detect cause loopback執(zhí)行一下,將已經(jīng)死掉的端口,no sh 一下 如果沒問題,肯定是環(huán)路了,你可再找時(shí)間,對(duì)懷疑有問題的switch用拔插法,一個(gè)一個(gè)拔掉網(wǎng)線去查,當(dāng)然,有更有效的方法,你可查看有問題的switch的所有rj45和gi口的狀態(tài),哪個(gè)有errdisable信息哪個(gè)就有問題。switch#show interfaces status err-disabledPort Name Status ReasonFa0/22 err-disabled link-flapFa0/37 For office in 100K err-disabled link-flapFa0/41 unknow err-disabled link-flapFa0/42 Training Dc066 err-disabled link-flapFa0/45 Production line VM err-disabled link-flapswitch#show errdisable detectErrDisable Reason Detection status- -pagp-flap Enableddtp-flap Enabledlink-flap Enabledl2ptguard Enabledgbic-invalid Enabledloopback Enabledswitch#show interfaces status err-disabledPort Name Status ReasonFa0/22 err-disabled link-flapFa0/37 For office in 100K err-disabled link-flapFa0/41 unknow err-disabled link-flapFa0/42 Training Dc066 err-disabled link-flapFa0/45 Production line VM err-disabled link-flapswitch#sh errdisable flap-valuesErrDisable Reason Flaps Time (sec)- - -pagp-flap 3 30 dtp-flap 3 30 link-flap 5 10 ( link-flap 這就是因?yàn)殒溌焚|(zhì)量不好導(dǎo)致的)關(guān)閉errdisable detectswitch#no errdisable detect cause all有一臺(tái)Catalyst-3560G-24TS連著光纖線,旁邊的端口(Gi0/28)插了一個(gè)光纖模塊備用,過了一段時(shí)間發(fā)現(xiàn)備用端口提示port is error disabled,指示燈顯示為橙色。可能是沒有插緊,重新插拔,然后嘗試激活端口。顯示端口狀態(tài)sw1show interfaces statusPort Name Status Vlan Duplex Speed Type Gi0/1 connected 1 a-fulla-100 10/100/1000BaseTXGi0/2 notconnect 1 auto auto 10/100/1000BaseTXGi0/3 connected 1 a-full a-1000 10/100/1000BaseTX.Gi0/28 err-disabled 1 auto auto 1000BaseSX SFP查看觸發(fā)err-disable的原因sw1show interfaces status err-disabled Port NameStatus Reason Gi0/28 err-disabledgbic-invalid默認(rèn)狀態(tài)下,端口被置為err-disable后,IOS不會(huì)自動(dòng)恢復(fù)端口。 查看各種狀態(tài)下IOS是否會(huì)自動(dòng)恢復(fù)err-disable接口sw1show errdisable recoveryErrDisable Reason Timer Status- -udld Disabledbpduguard Disabledsecurity-violatio Disabledchannel-misconfig Disabledvmps Disabledpagp-flap Disableddtp-flap Disabledlink-flap Disabledl2ptguard Disabledpsecure-violation Disabledgbic-invalid Disableddhcp-rate-limit Disabledunicast-flood Disabledstorm-control Disabledarp-inspection Disabledloopback Disa

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論