View Single Post
  #5  
Old 08-20-2018, 02:20 PM
nolan.rumble nolan.rumble is offline
Registered User
 
Join Date: Nov 2010
Posts: 13
Hi Brenda,

The errors can be varied an example would be to run this command on a Cisco ASA firewall without being in configure mode:

FW01> aaa-server
^
ERROR: % Invalid input detected at '^' marker.
FW01>
FW01> enable
Password: ********************
FW01# aaa-server
ERROR: % Incomplete command
FW01#


This is just an example of a firewall, the concept could apply to many other device types (routes/unix/linux/etc).

It would be great to have the command output match a regex (preferred, and ideally allowing for spaces in the regex) or list of exact string expressions to match on. If it matches, then abort sending the remaining list of commands.

Does that make sense?

Let me know if you have any questions.

Thanks!
Nolan
Reply With Quote