cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1188
Views
0
Helpful
1
Replies

TCL script to show error disabled ports

Rickus2012
Level 1
Level 1

Hi guys,

Is there an existing TCL script to show error disabled ports and then to shut/no shut only those ports?

Thanks and regards

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

I don't know of an existing script that does exactly this, but do you need it?  Couldn't you use built-in err-disable recovery to automatically reset the ports?  For example:

errdisable recovery cause udld

errdisable recovery cause bpduguard

errdisable recovery cause security-violation

errdisable recovery cause channel-misconfig (STP)

errdisable recovery cause pagp-flap

errdisable recovery cause dtp-flap

errdisable recovery cause link-flap

errdisable recovery cause sfp-config-mismatch

errdisable recovery cause gbic-invalid

errdisable recovery cause l2ptguard

errdisable recovery cause psecure-violation

errdisable recovery cause port-mode-failure

errdisable recovery cause dhcp-rate-limit

errdisable recovery cause pppoe-ia-rate-limit

errdisable recovery cause mac-limit

errdisable recovery cause vmps

errdisable recovery cause storm-control

errdisable recovery cause inline-power

errdisable recovery cause arp-inspection

errdisable recovery cause loopback

errdisable recovery cause small-frame

errdisable recovery interval 60

Review Cisco Networking for a $25 gift card