网络通信 频道

交换机端口“假死” 如何起死回生?

  拯救步骤2:将端口从错误状态中恢复回来
  
  进入交换机全局配置模式,执行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
  
  从列出的选项中,我们可以看出,有非常多的原因会引起端口被置于错误状态,由于我们明确的知道这台交换机上的端口是由于环路问题而被置于错误状态的,所以就可以直接键入命令:
  
  Switch(config)#errdisable recovery cause loopback

  是啊,就这么简单的一条命令,就把困挠我们很长时间的问题解决了,真的就这么神奇。那么如何验证这条命令是生效了呢?
  

0
相关文章