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">
'XMLMDA' detected the 'warning' condition 'An XML request provided too little or too much values for a class'
</error-message>
<error-info>
<Configuration ErrorCode="0x4368a200" ErrorMsg="'XMLMDA' detected the 'warning' condition 'An XML request provided too little or too much values for a class'">
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.