Hi
This is regarding netconf behavior on ASR 1000.
Please find below the version info :
Cisco IOS XE Software, Version 03.11.00.S - Standard Support Release
Cisco IOS Software, ASR1000 Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 15.4(1)S, RELEASE SOFTWARE (fc2)
I want to fetch the subtree hostname using netconf. For this I am sending the below get-config request, but the node throws an error message:
<?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/>
<config>
<xml-config-data>
<Device-Configuration>
<hostname>
</hostname>
</Device-Configuration>
</xml-config-data>
</config>
</source>
</get-config>
</rpc>]]>]]>
Response received:
<?xml version="1.0" encoding="UTF-8"?><rpc-reply message-id="106" xmlns="urn:ietf:params:netconf:base:1.0"><rpc-error><error-type>protocol</error-type><error-tag>invalid-value</error-tag><error-severity>error</error-severity></rpc-error></rpc-reply>]]>]]>
1) Can you someone help me with correct way to achieve this?
2) Where can I find all the valid tags for xml ?
Pratibha