[Contents] [Prev] [Next] [Index] [Report an Error]

annotate

Syntax

annotate statement "comment-string"

Release Information

Command introduced before JUNOS Release 7.4.

Description

Add comments to a configuration. You can add comments only at the current hierarchy level.

Any comments you add appear only when you view the configuration by entering the showshow command in configuration mode or the show configuration command in operational mode.

Options

comment-string—Text of the comment. You must enclose it in quotation marks. In the comment string, you can include the comment delimiters /* */ or #. If you do not specify any, the comment string is enclosed with the /* */ comment delimiters. If a comment for the specified statement already exists, it is deleted and replaced with the new comment.

statement—Statement to which you are attaching the comment.

Usage Guidelines

See Adding Comments in a JUNOS Configuration.

Required Privilege Level

configure—To enter configuration mode; other required privilege levels depend on where the statement is located in the configuration hierarchy.

Related Topics

The description statement in the JUNOS Network Interfaces Configuration Guide.


[Contents] [Prev] [Next] [Index] [Report an Error]