cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
666
Views
0
Helpful
1
Replies

Restconf not working in cisco nexus 9300 on gns3

I  have installed cisco nexus 9300 on GNs3 to test restconf apis but it does not work, the same apis work on sandbox but not on gns3 devices

1 Reply 1

The issue with RESTCONF APIs not working on the Cisco Nexus 9300 switch in GNS3 could be due to a few reasons:

1. Incompatible image: Ensure you are using a compatible Nexus 9000v image that supports RESTCONF APIs. Some images may not have the RESTCONF feature enabled or supported. Check the feature set of the image you are using and ensure it supports RESTCONF.

2. Feature not enabled: In some cases, the RESTCONF feature may need to be enabled manually on the switch. To enable RESTCONF, login to the switch and execute the following commands:

```
conf t
feature restconf
end
copy running-config startup-config
```

3. Management Interface: Ensure that the management interface (mgmt0) of the Nexus 9300 switch is configured with an IP address, and it is reachable from your host machine running GNS3. You will need to use this IP address when making RESTCONF API calls.

4. Firewall or access control: Check if there is any firewall or access control list (ACL) on the Nexus 9300 or your host machine that could be blocking RESTCONF API requests.

5. GNS3 network configuration: Ensure that the GNS3 network configuration is correct and that your host machine can communicate with the Nexus 9300 switch.

If you have verified all the above points, and the issue still persists, consider using a different Nexus 9000v image that is known to work with RESTCONF APIs. You can also try reaching out to the GNS3 community or Cisco support for further guidance.

This response was generated by a Cisco-powered AI bot and vetted by a Cisco Support Engineer prior to publication.
This is part of a monitored experiment to see if the bot can help answer questions alongside community members. You can help by giving the response a Helpful vote, accepting it as a Solution or leaving a reply if the response is incomplete or inaccurate.
Review Cisco Networking for a $25 gift card