Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

jcs:emit-comment Template

XSLT Syntax

Description

Generate a comment in the configuration from within a commit, event, or op script. The template contains a <junos:comment> element. You never call the jcs:emit-comment template directly. Rather, you include its <junos:comment> element and the child element <xsl:text> inside a call to the jcs:emit-change template, a <change> element, or a <transient-change> element.

Usage Examples

The following example demonstrates how to call this template in a commit script:

When you issue the show firewall configuration mode command, the following output appears: