05-13-2009 10:03 AM - edited 03-06-2019 05:43 AM
Hi all,
i have switch port on cat os whichis errdisabled
sh port 7/28
* = Configured MAC Address
# = 802.1X Authenticated Port Name.
Port Name Status Vlan Duplex Speed Type
----- -------------------- ---------- ---------- ------ ----------- ------------
7/28 errdisable 159 auto auto 10/100BaseTX
Port AuxiliaryVlan AuxVlan-Status
----- ------------- --------------
7/28 none none
Port Security Violation Shutdown-Time Age-Time Max-Addr Trap IfIndex
----- -------- --------- ------------- -------- -------- -------- -------
7/28 disabled shutdown 0 0 1 disabled 237
Port Flooding on Address Limit Last-Src-Addr Vlan
----- ------------------------- ----------------- ----
7/28 Enabled - -
Age-Left Shutdown/Time-Left
----- -------- ----------------- ---- -------- ------------------
7/28 0 - - - - -
Port 802.1X Auth-State 802.1X Port-Status
----- ------------------ ------------------
7/28 - -
----- --------------------- ---------------------------
7/28 Disabled (null)
Port Broadcast-Limit Multicast Unicast Total-Drop Action
-------- --------------- --------- ------- -------------------- ------------
7/28 - - - 0 drop-packets
Mode Group Id
----- ---------- -------------------- ----- -----
7/28 errdisable off 510 0
Port Status ErrDisable Reason Port ErrDisableTimeout Action on Timeout
---- ---------- ------------------- ---------------------- -----------------
7/28 errdisable duplex-mismatch Enable No Change
Port Align-Err FCS-Err Xmit-Err Rcv-Err UnderSize
----- ---------- ---------- ---------- ---------- ---------
7/28 0 0 0 0 0
Port Single-Col Multi-Coll Late-Coll Excess-Col Carri-Sen Runts Giants
----- ---------- ---------- ---------- ---------- --------- --------- ---------
7/28 0 0 0 0 0 0 0
Port Last-Time-Cleared
----- --------------------------
7/28 Wed May 13 2009, 12:28:18
Idle Detection
--------------
--
sh errdisable-timeout
ErrDisable Reason Timeout Status
--------------------------------------- --------------
bcast-suppression disable
bpdu-guard disable
cam-monitor disable
channel-misconfig disable
duplex-mismatch disable
ethernet-oam disable
gl2pt-ingress-loop disable
gl2pt-threshold-exceed disable
gl2pt-cdp-threshold-exceed disable
gl2pt-eoam-threshold-exceed disable
gl2pt-stp-threshold-exceed disable
gl2pt-vtp-threshold-exceed disable
link-inerrors disable
link-rxcrc disable
link-txcrc disable
packet-buffer-error disable
udld disable
other disable
Interval: 300 seconds
Port ErrDisable Reason Port ErrDisableTimeout Action on Timeout
---- ------------------- ---------------------- -----------------
7/28 duplex-mismatch Enable No Change
twr1-as14a1> (enable)
So errdsiable timeout means after 300secs the switch will try to renable the port or not?
this i want to know
thanks
mahesh
Solved! Go to Solution.
05-13-2009 10:44 AM
Mahesh
"so myunderstanding is that right now it only shows us reason for error disable.
to recover from errdisable we have to enable the option
dulex mismatch enable"
"set errdisable-timeout duplex-mismatch" will only tell the switch to try to reenable the port after the errdisable-timeout. What it won't do is fix the problem. So you need to actually set the duplex so that there is no mismatch.
Then to reenable the port you could either wait until the timeout, providing you have entered the ""set errdisable-timeout duplex-mismatch" command or you can simply reenable the port from the CLI ie.
set port
See this link for full details -
Jon
05-13-2009 10:17 AM
Mahesh
Yes it should but then unless you fix the underlying problem the switch will simply errdisable the port again -
http://www.cisco.com/en/US/tech/tk389/tk214/technologies_tech_note09186a0080093dcb.shtml
Edit - Mahesh, apologies but no it won't try to reenable the port -
duplex-mismatch disable
the disable bit in the line above means that the timeout has not been applied so it will stay in errdisable mode. You need to enable the duplex-mismatch timeout for the switch to automatically try and reenable the port. You would still need to fix the underlying problem.
Apologies for the original misinformation.
Jon
05-13-2009 10:28 AM
Hi jon,
so myunderstanding is that right now it only shows us reason for error disable.
to recover from errdisable we have to enable the option
dulex mismatch --enable
also if in future it went to errordisabled due to bpdu-guard it will show then as errdisable reason bpdu-guard .right?
and if i want that port should be enabled automaticall from errdisabled we should use this command
set errdisable-timeout enable ?
bpdu-guard BPDU Port-guard
channel-misconfig Channel misconfiguration
duplex-mismatch Duplex Mismatch
udld UDLD
other Reasons other than the above
all Apply errDisable timeout to all reasons
m,any thanks
mahesh
05-13-2009 10:44 AM
Mahesh
"so myunderstanding is that right now it only shows us reason for error disable.
to recover from errdisable we have to enable the option
dulex mismatch enable"
"set errdisable-timeout duplex-mismatch" will only tell the switch to try to reenable the port after the errdisable-timeout. What it won't do is fix the problem. So you need to actually set the duplex so that there is no mismatch.
Then to reenable the port you could either wait until the timeout, providing you have entered the ""set errdisable-timeout duplex-mismatch" command or you can simply reenable the port from the CLI ie.
set port
See this link for full details -
Jon
05-13-2009 11:21 AM
Hi jon,
Many thanks again.
mahesh
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide