879
Views
0
Helpful
0
Replies
Route information via NX-API REST

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2019 03:18 PM
I'm looking for a way to pull the routing table on Nexus switches via the NX-API REST interface. I'm having trouble finding the correct mo that will allow me to see the entire routing table or specific route. I've tried /api/mo/sys/ipv4/inst/dom-default but this appears to only show direct connected or static routes. I've also tried /api/mo/sys/ospf/inst-1/dom-default/db-rt/ but this only includes OSPF learned routes. Ideally the appropriate mo would allow me to specify a network and it would return the next hop information.
Labels:
0 Replies 0
