ConfD User Community

How to send get and copy-config rpc on one session using netconf-console


#1

hi,
I want to send get and copy-config rpc on one session using netconf-console, netconf-console support this kind of opreation?
the xml get-copy.xml like:

<?xml version="1.0" encoding="UTF-8"?> urn:ietf:params:netconf:base:1.0 ]]>]]> <?xml version="1.0" encoding="UTF-8"?> ]]>]]> <?xml version="1.0" encoding="UTF-8"?> ....... ]]>]]> <?xml version="1.0" encoding="UTF-8"?> ]]>]]>

netconf-console get-copy.xml
send above rpc, i can get the rpc-reply result, but no copy-config rpc-reply. I also check netconf.trace, it has get rpc-reply, copy-config rpc send, and close rpc, only no copy-config rpc-reply message.
Using this method, i can sent two rpc message. on netconf.trace, it has two get rpc-reply message, why copy-config can’t receive rpc-reply.

Thanks.


#2

If I delete get rpc message, then copy-config can send correctly, Also can receive rpc-reply OK message.