學習啦>學習電腦>網(wǎng)絡(luò)知識>路由器>路由器設(shè)置>cisco思科>

如何解決cisco的端口顯示err-disable1

時間: 權(quán)威724 分享

  Cisco依靠自身的技術(shù)和對網(wǎng)絡(luò)經(jīng)濟模式的深刻理解,成為了網(wǎng)絡(luò)應用的成功實踐者之一,那么你知道如何解決cisco的端口顯示err-disable1嗎?下面是學習啦小編整理的一些關(guān)于如何解決cisco的端口顯示err-disable1的相關(guān)資料,供你參考。

  解決cisco的端口顯示err-disable1的方法

  導致這樣的情況可能是因為線路不通,物理指示燈滅或者顯示為橙色(不同平臺指示燈狀態(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的原因。

  下面示例原因為bpduguard,在連接了交換機的端口配置了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)缺省的配置是所有列出的原因都能導致接口被置為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ū)е庐斍敖涌趀rr-disable可以由show interface status err-disable來查看。

  在接口模式下采用shutdown,no shutdown進行手動的激活。

  在缺省配置下,一旦接口被置為err-disable,IOS將不會試圖恢復接口。

  這個可以由show errdisable recovery來查看,timer status下面所有的值都是disable.

  下面的示例中,由于手工配置了bpduguard恢復,所以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在一段時間后試圖恢復被置為err-disable的接口,這段時間缺省為300秒。

  但是,如果引起err-disable的源沒有根治,在恢復工作后,接口會再次被置為err-disable.

  調(diào)整err-disable的超時時間,可以使用以下命令:

  sw1(config)#errdisable recovery interval ?

  <30-86400> timer-interval(sec)

  可以調(diào)整在30-86400秒,缺省是300秒。

  如果產(chǎn)生err-disable的原因是udld,下面有一條命令非常管用:

  sw1#udld reset

  No ports are disabled by UDLD.

  解決端口出現(xiàn)err-disabled問題

  關(guān)于接口處于err-disable的故障排查

  故障癥狀:

  線路不通,物理指示燈滅或者顯示為橙色(不同平臺指示燈狀態(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的原因。

  下面示例原因為bpduguard,在連接了交換機的端口配置了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)缺省的配置是所有列出的原因都能導致接口被置為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ū)е庐斍敖涌趀rr-disable可以由show interface status err-disable來查看。

  在接口模式下采用shutdown,no shutdown進行手動的激活。

  在缺省配置下,一旦接口被置為err-disable,IOS將不會試圖恢復接口。

  這個可以由show errdisable recovery來查看,timer status下面所有的值都是disable.

  下面的示例中,由于手工配置了bpduguard恢復,所以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在一段時間后試圖恢復被置為err-disable的接口,這段時間缺省為300秒。

  但是,如果引起err-disable的源沒有根治,在恢復工作后,接口會再次被置為err-disable.

  調(diào)整err-disable的超時時間,可以使用以下命令:

  sw1(config)#errdisable recovery interval ?

  <30-86400> timer-interval(sec)

  可以調(diào)整在30-86400秒,缺省是300秒。

  如果產(chǎn)生err-disable的原因是udld,下面有一條命令非常管用:

  sw1#udld reset

  No ports are disabled by UDLD.

  看過文章“思科48口交換機如何配置ACL"的人還看了:

  1.思科配置常見問題及其解決方法

  2.思科路由器控制端口連接圖解

  3.利用Cisco的ISO命令檢測以太網(wǎng)端口故障

  4.Cisco路由器交換機防火墻配置命令詳解

  5.如何修改思科路由器端口

  6.cisco 端口限速

  7.思科路由器的控制口接口的連接及做法

  8.CISCO路由器的配置與調(diào)試

  9.教你如何設(shè)置Cisco路由器安全

  10.cisco 4506端口限速

554397