[c-nsp] Cisco CNS initial configuration

Phil Mayers p.mayers at imperial.ac.uk
Tue Dec 22 08:07:19 EST 2009


Eddie.Lindsay at synetrix.co.uk wrote:
> Hi,
> 
> I tried to do something similar a while ago and hit a brick wall on
> API documentation.  It would be nice to see some if available.

I've had a lot of trouble trying to speak netconf to our 6500s running 
SXI; the XML PI docs seem to be just flat-out wrong in many places, not 
to mention the SSH bugs I'm chasing in SXI relating to RFC compliance...

I did eventually get it sort-of working with XML such as the following:

<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
    <edit-config>
       <target>
          <running/>
       </target>
       <config>
          <cli-config-data>
<cmd>hostname core-spare</cmd>
<cmd>no interface Lo99</cmd>
          </cli-config-data>
       </config>
    </edit-config>
</rpc>

It would be great if Cisco would step up and actually give someone to 
engage with for the xml/netconf/cns stuff - at the moment it looks like 
abandonware on IOS platforms (I'm sure it's not, but that's the 
impression it gives)


More information about the cisco-nsp mailing list