Link to home
Start Free TrialLog in
Avatar of jpilhoefer
jpilhoefer

asked on

Adding comments to a Cisco config

I would like to add comments in my cisco switch and router configurations. how do I go about doing this.
SOLUTION
Avatar of digitap
digitap
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jpilhoefer
jpilhoefer

ASKER

So there is no way to enter a comment that will show up when the show run command is used? For instance, if I want to give an explination of an entry in an access list , this can't be done with comments. I tried:
 # ! comment
wr
sh run
and the comment was not there
I think digitap sanswered that already.

"Because comments are not  stored in NVRAM or in the active copy of the configuration file, comments do not appear when you list the active configuration with the show running-config EXEC command"
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I found using the description command as a work around to comments also.
Great!  Glad it's working and I could help!  Thanks for the points!