Alcatel-Lucent 7450 System Management Manual page 338

Ethernet service switch
Hide thumbs Also See for 7450:
Table of Contents

Advertisement

NETCONF in SR OS
<get>
CLI content layer <get> operation is supported. XML content layer <get> operation is not
supported.
A <get> request is first analyzed for syntax errors before any execution starts. If a syntax error
is found then a single global <rpc-error> for the entire request is sent in the reply.
Responses are provided for each item in the request until the first item with an error is found.
The item with an error has a <response> tag containing some error information, followed by
an <rpc-error> tag (and sub-tags). The reply is then returned and subsequent items are not
executed.
The <rpc-error> for an individual item (i.e. for a non-syntax error) is after the </response>
information and not inside the <response>.
Example — <get> request with a non-syntax error in the 2nd item:
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
</rpc>
]]>]]>
Reply:
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
===============================================================================
Interface Table (Router: Base)
===============================================================================
Interface-Name
-------------------------------------------------------------------------------
system
-------------------------------------------------------------------------------
Interfaces : 1
===============================================================================
Page 338
<get>
<filter>
<oper-data-format-cli-block>
</oper-data-format-cli-block>
</filter>
</get>
<data xmlns="urn:alcatel-lucent.com:sros:ns:yang:cli-content-layer-r13">
<oper-data-format-cli-block>
<item>
<cli-show>router interface "system"</cli-show>
<response>
IP-Address
144.23.63.5/32
</response>
<cli-show>router interface "system"</cli-show>
<cli-show>router mpls lsp</cli-show>
<cli-show>system security ssh</cli-show>
Adm
Opr(v4/v6)
Up
Up/Down
7450 ESS System Mangement Guide
Mode
Port/SapId
PfxState
Network system
n/a

Advertisement

Table of Contents
loading

Table of Contents