Retrieve dynamic routes using rest api


Changes to the LIVEcommunity experience are coming soon... Here's what you need to know.

Not applicable

Retrieve dynamic routes using rest api


I'd like to be able to retrieve dynamic route entries (such as RIP) that can be seen using the cli with the command: show routing route .

Is it possible?



L3 Networker


From the device, when running command "show routing route",

We have the flags such as RIP and others.  See below;

flags: A:active, ?:loose, C:connect, H:host, S:static, ~:internal, R:rip, O:ospf, B:bgp,
       Oi:ospf intra-area, Oo:ospf inter-area, O1:ospf ext-type-1, O2:ospf ext-type-2

destination              nexthop              metric flags      age   interface          next-AS                      10 A S              ethernet1/x                      255 A ~                    0 A C              ethernet1/x                      0 A H                     10 A S              tunnel.10

Not applicable

odaos thanks for your reply, viewing my first question I understand that my question was not clear...

What I actually meant is using the rest API.

When I send a config show all request (/restapi.esp?type=config&action=show&key...) I can only view the static routes of each VR.

Is there a rest api url to get the dynamic routes as well?


L4 Transporter

I don't believe this is possible today since the RESTful API allows you to pull the configuration and reports but does not allow you to pull output from commands such as "show routing route".  You can file a feature request with your account team.  There will be more functionality going into the REST API in the future.



Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!