cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1534
Views
15
Helpful
2
Replies

How do I find error counters not equal to zero?

mctiesman
Level 1
Level 1

What regular expression do I use to find error counters not equal to zero on an IOS based switch?

Regards, Mark
2 Replies 2

jmattbullen
Level 1
Level 1

I use the following on cisco 4500's

 

sh interfaces | i ([^0] runts|[^0] giants|[^0] throttles)|(line protocol is up)|([^0] input errors|[^0] output errors)Will display any errors on ports
show ip interf brief | e unassignedDisplay only interfaces that have an IP
sh int | i Half|is upDisplay interfaces that are half-duplex
sh interfaces | i (is up,)|(drops: [^0])Display output drops
sh interfaces | i (is up) | (minute.*rate [^0])Display input/output packet/sec

 

Leo Laohoo
Hall of Fame
Hall of Fame
show interface | i Ethernet[1-9]| reliability [^255]/[^255], txload [^01]/[^255], rxload [^01]/[^255]|Last input never|output never|Total output drops:_[^0]|[^0]_CRC|[^0]_unknown protocol drops|[^0]_late collision|[^0]_lost carrier|[^0]_output buffer

I have this

 

Review Cisco Networking products for a $25 gift card