07-13-2020 06:34 AM
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
07-13-2020 07:02 AM - edited 07-13-2020 07:02 AM
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>
07-13-2020 07:17 AM
That’s great. I will give that a go. Thanks a lot for your help Stuart.
Regards,
Adeel
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide