I could not figure out if there is a general convention (format) of cisco cli command error messages, apart from the "Invalid input", "Ambiguous command" and other syntax error messages.
Is there a way to find out if there exists a general notation for it? If a config command on a router is successful it gets back to the router prompt without any message. In case of an error (not syntax, but the logic of the command), what does the router throw as a response? Does it have a format like "%ERROR" or "%INFO".
How do I capture the various responses of the cli commands? how do i determine the success/failure of a command. Basically, this is required to develop a script to handle the router's responses.
Can someone please enlighten me?