Technical Documentation

Adding a Comment to Describe the Committed Configuration

You can include a comment that describes changes to the committed configuration. To do so, include the commit comment statement. The comment can be as long as 512 bytes and you must type it on a single line.

[edit]user@host# commit comment comment-string

comment-string is the text of the comment.

Note: You cannot include a comment with the commit check command.

To add a comment to the commit command, include the comment statement after the commit command:

[edit]user@host# commit comment "add user joe"commit complete[edit]user@host#

To add a comment to the commit confirmed command, include the comment statement after the commit confirmed command:

[edit]user@host# commit confirmed comment "add customer to port 27" commit confirmed will be automatically rolled back in 10 minutes unless confirmedcommit complete[edit]user@host#

To view these commit comments, issue the show system commit operational mode command.


Published: 2010-04-27