cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Updates to Sandbox Reservation Internet Access Policy

Due to changes in our networking policies, we are updating the internet access policy within our sandbox reservation instances.
Hosts will no longer have internet access outbound.
This should not affect the overall functionality or access to the resources within the sandbox instances, connecting via VPN.

Keep Innovating!

DevNet Sandbox Team

442
Views
0
Helpful
6
Replies
Highlighted
Cisco Employee
Cisco Employee

NETCONF/YANG and RESTCONF on IOS XE not responding

ios-xe-mgmt.cisco.com:9443 is not responding to API calls. Getting connection refused. It may need to be reset.
6 REPLIES 6
Highlighted
Cisco Employee

Re: NETCONF/YANG and RESTCONF on IOS XE not responding

We've reset the host and it is now reachable.

Highlighted
Beginner

Re: NETCONF/YANG and RESTCONF on IOS XE not responding

Could you please again? The same problem seems to repeat
Highlighted
Beginner

Re: NETCONF/YANG and RESTCONF on IOS XE not responding

It appears when you reset the host, you also have to SSH in and enable netconf with "netconf-yang" and "netconf ssh". That being said, using the sample code provided, I have a filter of:

<filter>
  <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
    <interface>
      <name>GigabitEthernet2</name>
    </interface>
  </interfaces>  
</filter>

Which which results in an error of: 

...truncated
<error-info>
    <bad-element>interfaces</bad-element>
</error-info>

Do the yang models need to be re-imported?

Highlighted
Beginner

Re: NETCONF/YANG and RESTCONF on IOS XE not responding

Can confirm that the sample code on Github also does not work. RESTCONF for the IOS-XE device works fine, interestingly enough.
Highlighted
Beginner

Re: NETCONF/YANG and RESTCONF on IOS XE not responding

Highlighted
Cisco Employee

Re: NETCONF/YANG and RESTCONF on IOS XE not responding

Hey - per the chat on twitter, this is working ok here using this sandbox 

 

https://devnetsandbox.cisco.com/RM/Diagram/Index/38ded1f0-16ce-43f2-8df5-43a40ebf752e?diagramType=Topology

 

The yang models reside on the box, there isn't a need to re-import these. I am not sure why your result differs from mine hereScreenshot 2019-07-08 at 19.13.48.pngScreenshot 2019-07-08 at 19.10.35.png

CreatePlease to create content
Content for Community-Ad
Cisco Community April 2020 Spotlight Award Winners