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 described in the Contents section detail the nature of the error. The NETCONF server does not necessarily emit all child tag elements; it omits tag elements that are not relevant to the current request.

Attributes

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 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.

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 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 error 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 error occurred in the configuration file that was being loaded, which is named by the accompanying <filename> tag 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>

Names the Routing Engine on which the error occurred.

<source-daemon>

Names 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 accompanying <edit-path> tag element specifies the statement’s parent hierarchy level.

<token>

Names which element in the request caused the error.

The other tag elements are explained separately.

Usage Guidelines

Release Information

This is a Junos XML management protocol response tag. It is a Juniper Networks proprietary extension to NETCONF and is identified in the capabilities exchange by the URI http://xml.juniper.net/netconf/junos/1.0. This operation is only supported in NETCONF sessions on Juniper Networks devices running Junos OS.