I'm trying to write a script to go out to all of my Cisco Catalyst switches and clears the interface counters. I can do this from the command line by typing 'clear counters', hitting enter, then hitting enter again. I can't seem to get my command script to work however. I've tried:
clear counters
clear counters${CRLF}
clear counters${CR}
clear counters${CRLF}${CRLF}
clear counters${CR}${CR}
Any ideas what I'm doing wrong? The log doesn't even show the switch ouputting the confirmation message, but the script still reports as being run succesfully.
Thanks in advance,
Brandon