cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2332
Views
0
Helpful
0
Replies

Netconf equivalent for "show running-config" in IOS XR

alexleonov
Level 1
Level 1

Hello,

I have an ASR9K router, on which I want to get full running configurration in XML format.

To start netconf prompt, I go with

netconf echo format

And then I send the following request:

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="106" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

  <get-config>

       <source>

         <running/>

       </source>

       <filter>

           <Configuration/>

       </filter>

   </get-config>

</rpc> 

]]>]]>

In the output, it is seen that it is trimmed after start of ISIS configuration. In addition, there is an error message:

<error-message xml:lang="en">

            &apos;XMLMDA&apos; detected the &apos;warning&apos; condition &apos;An XML request provided too little or too much values for a class&apos;

        </error-message>

        <error-info>

            <Configuration ErrorCode="0x4368a200" ErrorMsg="&apos;XMLMDA&apos; detected the &apos;warning&apos; condition &apos;An XML request provided too little or too much values for a class&apos;">

Is there a way to get the whole content of the configuration (preferable, in one message), like it is done in IOS with "no netconf max-message"?

-Alex.

0 Replies 0