Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

xnm:warning (Junos XML)

 

Usage

Release Information

Statement introduced in Junos OS Release 7.4.

Description

Indicate that the commit script has encountered a problem with the configuration and pass a warning message to the Junos OS CLI or Junos XML protocol client application. The child tag elements described in the Contents section detail the nature of the warning.

Attributes

xmlnsNames the XML namespace for the contents of the tag element. The value is a URL of the form http://xml.juniper.net/xnm/version/xnm, where version is a string such as 1.1.
xmlns:xnmNames the XML namespace for child tag elements that have the xnm: prefix on their names. The value is a URL of the form http://xml.juniper.net/xnm/version/xnm, where version is a string such as 1.1.
<column>Identifies the element that caused the warning by specifying its position as the number of characters after the first character in the line specified by the <line-number> tag element in the configuration file that was being loaded (which is named in the <filename> tag element).
<edit-path>Specifies the CLI configuration mode edit path in effect when the problem occurred (provided only during loading of a configuration file).
<filename>Names the configuration file that was being loaded.
<line-number>Specifies the line number where the problem occurred in the configuration file that was being loaded, which is named by the <filename> tag element.
<message>Describes the warning in a natural-language text string.
<reason>Describes the reason for the warning.
<source-daemon>Names the Junos OS module that was processing the request in which the problem occurred.
<statement>Names the configuration statement in effect when the problem occurred.
<token>Names which element in the request caused the warning.

Usage Guidelines

See Generating a Custom Warning, Error, or System Log Message in Commit Scripts

Related Documentation