Adding Comments to Log Files |
Top Previous Next |
In some cases it may be helpful to have comments interleaved into the detailed trace log file. For example, during lab testing, you may be sending many commands to a device and plan to review the detailed log file after the script completes. However, the exact output your expecting to see from each of the commands you are sending may not be clear. This is accomplished by putting the keyword COMMENT (ALL CAPS) followed by your comment, in the command file. There MUST NOT be any spaces before the word COMMENT. The following scripts support this feature:
Below is a sample command file (used for the cisco_send_cmds script) showing the COMMENT feature as well as the SLEEP feature.
clear log
|