04-23-2014 12:40 AM - edited 03-07-2019 07:10 PM
Hello,
I'm trying to get a list of errors on our switch interfaces, I thought this filter would work but it does show the interface name:
show interfaces | inc fastethernet | errors
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 output errors, 1 interface resets
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 output errors, 2 interface resets
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 output errors, 0 interface resets
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 output errors, 0 interface resets
Thanks
Solved! Go to Solution.
04-23-2014 12:52 AM
sh interface | i line protocol|errors
04-23-2014 12:52 AM
sh interface | i line protocol|errors
04-23-2014 01:18 AM
Thanks how can I redirct this to tftp?
sh interface | i line protocol|errors| redirect tftp:/192.168.90.11/errors.txt
04-23-2014 04:24 AM
The "redirect" option is one big fat bug.
The only way is to redirect the output to a text file in the appliance's flash and copy the text file to the TFTP server.
04-24-2014 02:00 AM
Well I can't argue with that lol
04-23-2014 02:37 PM
sh interface | i Ethernet[0-9]| reliability [^255]/[^255], txload 1/[^255], rxload 1/[^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
Try the above one and see if you'll find it interesting. This one will filter out VLAN interfaces so you'll get physical interfaces.
04-24-2014 04:39 AM
Thanks how can I redirct this to tftp?
Direct the output to a file located inside the appliance's flash using the command "COMMAND | redirect BLAH.txt".
Copy the text file from your appliance's flash to your TFTP server using the command "copy flash:blah.txt tftp://<TFTP IP address>".
04-27-2020 01:00 PM
In CRT just use the transfer menu option to receive the output which saves it to a text file
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: