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

Route information via NX-API REST

Jason Thrasher
Level 1
Level 1

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.

0 Replies 0