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


<junos:comment>

Usage

<rpc>
    <configuration>
        <!--
opening tags for one or more children of the <configuration> tag element -->
            <junos:comment>
                <!-- text of the comment-->
            </junos:comment>
            <!-- tag element representing configuration statement associated with the
                            comment -
->
        <!--
closing tags for one or more children of the <configuration> tag element -->
    </configuration>
</rpc>

Description

Enclose comment text to record with a configuration statement when the statement is added to the configuration database. The comment text string should not include any linebreak characters, but should include one of the two delimiters that indicate a comment in the configuration database: either the # character before the comment or the paired strings /* before the comment and */ after it.

The tag element that represents the configuration statement associated with the comment must appear directly after the closing </junos:comment> tag. If the associated tag element is omitted, the comment is not recorded in the configuration database.

See Also

<configuration>, <rpc>


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