Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

How do I find error counters not equal to zero?

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

Regards, Mark
2 REPLIES
New Member

I use the following on cisco

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

 

Hall of Fame Super Gold

show interface | i Ethernet[1

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

 

67
Views
10
Helpful
2
Replies
CreatePlease login to create content