Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

<xnm:error>

Usage

Description

Indicates that the NETCONF server has experienced an error while processing the client application’s request. If the server has already emitted the response tag element for the current request, the information enclosed in the response tag element might be incomplete. The client application must include code that discards or retains the information, as appropriate. The child tag elements detail the nature of the error. The NETCONF server does not necessarily emit all child tag elements; it emits tag elements that are relevant to the current request.

Attributes

xmlns

Defines 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

Defines the XML namespace for child tag elements that include the xnm: prefix. The value is a URL of the form http://xml.juniper.net/xnm/version/xnm, where version is a string such as 1.1.

Contents

<column>

(Occurs only during loading of a configuration file) Identifies the element that caused the error 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 defined in the <line-number> and <filename> elements.

<edit-path>

(Occurs only during loading of configuration data) Specifies the path to the configuration hierarchy level at which the error occurred, in the form of the CLI configuration mode banner.

<filename>

(Occurs only during loading of a configuration file) Filename of the configuration file that was being loaded.

<line-number>

(Occurs only during loading of a configuration file) Specifies the line number where the error occurred in the configuration file that was being loaded, which is defined in the <filename> element.

<message>

Describes the error in a natural-language text string.

<parse/>

Indicates that there was a syntactic error in the request submitted by the client application.

<re-name>

Identifies the Routing Engine on which the error occurred.

<source-daemon>

Identifies the Junos OS module that was processing the request in which the error occurred.

<statement>

(Occurs only during loading of configuration data) Identifies the configuration statement that was being processed when the error occurred. The <edit-path> element specifies the statement’s parent hierarchy level.

<token>

Identifies the element in the request that caused the error.

The other tag elements are explained separately.

Release Information

This is a Junos XML management protocol response tag. It is supported as a Juniper Networks proprietary extension in NETCONF sessions on Junos devices that identify the URI http://xml.juniper.net/netconf/junos/1.0 in the capabilities exchange.