国产精品熟女视频一区二区,国产乱人伦真实精品视频,久久乐国产精品亚洲综合,免费国产 ,67194老司机精品午夜_黄色电影中文字幕免费在线_欧美一级看片免费观看视频在线_老妇

端口狀態(tài)為err-disable時的診斷與恢復(fù)

2014-10-8 11:41| 發(fā)布者: 謝曉新| 查看: 5021| 評論: 0 |來自: csdn

前兩天有客戶打電話來說server不工作,然后我到switch上一看發(fā)現(xiàn)連接server的那個端口變?yōu)閑rr-disable。這樣的情況時有發(fā)生,于是覺得有必要總結(jié)下便于以后查閱。

常見使用Err-disable的IOS平臺

  • Catalyst 2900 / 3500 / 3700系列 (2950,3550,3750 )
  • 三層交換6500


Err-disable 的作用

當(dāng)switch的操作系統(tǒng)發(fā)現(xiàn)某個端口發(fā)生錯誤,系統(tǒng)會把這個端口關(guān)閉,并且把LED指示燈變?yōu)殚冱S色。其目的是保護(hù)網(wǎng)絡(luò)的穩(wěn)定性不受影響,因?yàn)槎丝阱e誤的起因可能由于環(huán)路或者不穩(wěn)定的線路等


Err-disable 的原因

在Err-disable detection開啟的情況下,可能造成端口err-disable的原因如下。

  • Duplex mismatch (雙工不匹配)

  • Port channel misconfiguration

  • BPDU guard violation

  • UniDirectional Link Detection (UDLD) condition

  • Late-collision detection

  • Link-flap detection (線路翻動)

  • Security violation

  • Port Aggregation Protocol (PAgP) flap

  • Layer 2 Tunneling Protocol (L2TP) guard

  • DHCP snooping rate-limit

  • Incorrect GBIC / Small Form-Factor Pluggable (SFP) module or cable

  • Address Resolution Protocol (ARP) inspection

  • Inline power


診斷方法:

  • show interface [port] status
  • show errdisable recovery - 如果你開啟了errdisable recovery功能
  • show log
  • show etherchannel sum
  • show interface satus err-disable


一般來講sys log會提示端口在什么時段變?yōu)閑rrdisable和什么觸發(fā)它的。

底層的問題一般為:松動或者過長的線路 、網(wǎng)卡損壞

配置問題:port-channel配置錯誤造成環(huán)路;開啟portfast和bpdu guard然后連接了兩臺交換機(jī); 違反了端口完全



比較特殊的一種: 環(huán)路報錯

當(dāng)生成樹協(xié)議沒有成功阻擋一個環(huán)路的產(chǎn)生,端口收到它自身發(fā)送的keep alive 包的時候,自動進(jìn)入err-disable

PM-4-ERR_DISABLE: loopback error detected on Gi4/1, putting Gi4/1 in
err-disable state

思科解釋如下:

  • Keepalives are sent on all interfaces by default in Cisco IOS Software Release 12.1EA-based software. In Cisco IOS Software Release 12.2SE-based software and later, keepalives are not sent by default on fiber and uplink interfaces. For more information, refer to Cisco bug ID CSCea46385


重新激活端口

首先要確保造成端口err-disable的根源的到解決(換卡,換網(wǎng)線,光纖,修改配置等)



方法一:shut,no shut

方法二:errdisable recovery / 開啟 timeout選項(xiàng)

  • errdisable recover cause 【選項(xiàng)】
  • errdisable recover interval 【秒數(shù)】 - 默認(rèn)300s

Router#show errdisable recovery
ErrDisable Reason    Timer Status
-----------------    --------------
udld                 Disabled
bpduguard            Enabled
security-violatio    Disabled
channel-misconfig    Disabled
pagp-flap            Disabled
dtp-flap             Disabled
link-flap            Disabled
l2ptguard            Disabled
psecure-violation    Disabled
gbic-invalid         Disabled
dhcp-rate-limit      Disabled
mac-limit            Disabled
unicast-flood        Disabled
arp-inspection       Disabled
<
>
在培訓(xùn)行業(yè)極度市場化的今天,在網(wǎng)絡(luò)工程師魚目混珠的時代,帆聯(lián)科技扎根技術(shù)的理念從來沒有改變,帆聯(lián)科技從不提倡短線功利性考證培訓(xùn),嚴(yán)格要求教師和學(xué)員,要為自己的未來做出辛苦的努力。一分辛勞,一份收獲。

聯(lián)系我們

南寧市大學(xué)東路162號東盟財(cái)經(jīng)廣場1402

0771-3185755(服務(wù)時間:9:00-17:30)

admin@sail-lab.net

在線咨詢新浪微博官方微信官方微信

部門熱線

前   臺:0771-3185755
培訓(xùn)部:15994437962
認(rèn)證部:15994437962
技術(shù)部:15578317196

培訓(xùn)服務(wù) 考試認(rèn)證 校企合作 聯(lián)系電話0771-3185755 返回頂部
返回頂部