Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Nexus7K XML query problem

Hello, world,

I am working on a drush script to work with the xmlagent in NX-OS, which I have made half-way through.

Now the problem: With this XML query:

<?xml version="1.0"?>
<nc:rpc xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns="" message-id="3">
   <nc:filter type="subtree">



I expected to get back the result of "show interface counters errors module 1, 2". However, I end up with 2 copies of error counters for module 1.

My code does perform a schema validation against the Cisco provided if_manager.xsd file, so I assume that my XML query is OK.

[update] If I omit the module list, I do get the error counters for all modules in the switch.

Any ideas?

CreatePlease to create content