cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
922
Views
5
Helpful
2
Replies

Nxos netconf problem

Adraf0001
Level 1
Level 1

Hi,


when I try and open a netconf session to the nxos always on sandbox with the below command from my Ubuntu terminal,

 

ssh admin@sbx-nxos-mgmt.cisco.com -p 10000

 

it logs me into the switch but it doesn’t start netconf. 


Thanks 

 

Adeel

2 Replies 2

Test NETCONF directly with XMLAgent with xmlagent. (The xmlagent service is referred to as the XML server in Cisco NX-OS software). Hope this helps.

 

(venv) $ ssh admin@sbx-nxos-mgmt.cisco.com -p 10000 xmlagent

Welcome to the DevNet Always On Sandbox for Open NX-OS

This is a shared sandbox available for anyone to use to
test APIs, explore features, and test scripts.  Please
keep this in mind as you use it, and respect others use.

The following programmability features are already enabled:
  - NX-API
  - NETCONF, RESTCONF, gRPC
  - Native NX-OS and OpenConfig YANG Models

Thanks for stopping by.
Password:
<?xml version="1.0" encoding="ISO-8859-1"?>
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <capabilities>
    <capability>urn:ietf:params:xml:ns:netconf:base:1.0</capability>
    <capability>urn:ietf:params:netconf:base:1.0</capability>
    <capability>urn:ietf:params:netconf:capability:validate:1.0</capability>
    <capability>urn:ietf:params:netconf:capability:writable-running:1.0</capability>
    <capability>urn:ietf:params:netconf:capability:url:1.0?scheme=file</capability>
    <capability>urn:ietf:params:netconf:capability:rollback-on-error:1.0</capability>
    <capability>urn:ietf:params:netconf:capability:candidate:1.0</capability>
    <capability>urn:ietf:params:netconf:capability:confirmed-commit:1.0</capability>
  </capabilities>
  <session-id>28229</session-id>
</hello>
Please mark this as helpful or solution accepted to help others
Connect with me https://bigevilbeard.github.io

That’s great. I will give that a go. Thanks a lot for your help Stuart.


Regards,

 

Adeel