<xnm:warning>
Usage
<junoscript>
<any-child-of-junoscript>
<xnm:warning xmlns="namespace-URL" xmlns:xnm="namespace-URL">
<source-daemon>module-name </source-daemon>
<filename>filename</filename>
<line-number>line-number </line-number>
<column>column-number</column>
<token>input-token-id </token>
<edit-path>edit-path</edit-path>
<statement>statement-name </statement>
<message>error-string</message>
<reason>...</reason>
</xnm:warning>
</any-child-of-junoscript>
</junoscript>
Description
Indicate that the server has encountered a problem while processing the client application’s request. The child tag elements described in the Contents section detail the nature of the warning.
xmlns—Names 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:xnm—Names the XML namespace for child tag elements that have the xnm: prefix in 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>—(Occurs only during loading of a configuration file) Identifies the element that caused the problem by specifying its position as the number of characters after the first character in the specified line in the configuration file that was being loaded. The line and file are specified by the accompanying <line-number> and <filename> tag elements.
<edit-path>—(Occurs only during loading of configuration data) Specifies the path to the configuration hierarchy level at which the problem occurred, in the form of the CLI configuration mode banner.
<filename>—(Occurs only during loading of a configuration file) Names the configuration file that was being loaded.
<line-number>—(Occurs only during loading of a configuration file) Specifies the line number where the problem occurred in the configuration file that was being loaded, which is named by the accompanying <filename> tag element.
<message>—Describes the warning in a natural-language text string.
<source-daemon>—Names the Junos OS module that was processing the request in which the warning occurred.
<statement>—(Occurs only during loading of configuration data) Identifies the configuration statement that was being processed when the error occurred. The accompanying <edit-path> tag element specifies the statement’s parent hierarchy level.
<token>—Names which element in the request caused the warning.
The other tag element is explained separately.
Usage Guidelines
See Handling an Error or Warning.
Hide Navigation Pane
Show Navigation Pane
Download
SHA1