The following example shows an error processing the request.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="103"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<cli-action>
<admin>rollback compare active-cfg to 1</admin>
<admin>rollback compare 1 to flee-fly</admin>
</cli-action>
</rpc>
]]>]]>
The following example shows the reply.
<?xml version="1.0" encoding="UTF-8"?>
<rpc-reply message-id="103" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<data xmlns="urn:alcatel-lucent.com:sros:ns:yang:cli-content-layer-r13">
<cli-action>
<item>
<admin>rollback compare active-cfg to 1</admin>
<response>
0.160 s
0.180 s
----------------------------------------------
configure
router
- mpls
- shutdown
- interface "system"
- no shutdown
- exit
- exit
- rsvp
- shutdown
- interface "system"
- no shutdown
- exit
- exit
exit
exit
----------------------------------------------
Finished in 0.460 s
</response>
</item>
<item>
<admin>rollback compare 1 to flee-fly</admin>
<response>
</response>
<rpc-error>
<error-type>application</error-type>
<error-tag>operation-failed</error-tag>
<error-severity>error</error-severity>
<error-info>
<err-element>admin</err-element>
</error-info>
<error-message>
command failed - '/admin rollback compare 1 to flee-fly'
MINOR: CLI No such file ('flee-fly').
</error-message>
</rpc-error>
</item>
</cli-action>
</data>
</rpc-reply>
]]>]]>