01-31-2023 01:09 AM
hi,
how to check specific routes using rest api call?. which could be similar to "show ip route x.x.x.x vrf all"
01-31-2023 01:42 AM
Depends on what Router and IOS code running on it. check below guide for reference :
01-31-2023 02:24 AM
thanks, well actually i am looking for ACI, where are the routes can be fetched from APIC
02-01-2023 07:19 PM
in Cisco ACI the rest APIs is constructed using the structure of the object model and REST API conventions.
The below API call is constructed using the structure of the object model, with each part of the object model represented in the URL of the API call.
For example, in the API call, uni
represents the root of the object model, tn-<TENANT_NAME>
represents the tenant, out-<VRF_NAME>
represents the VRF, and rt-[<NETWORK_ADDRESS>/<PREFIX_LENGTH>]
represents the specific route. By following this structure, the API call is able to retrieve the desired information about the specific route.
Cisco ACI Object Model Reference Guide. This guide provides a comprehensive overview of the object model and the structure of each object, as well as the relationships between objects.
02-09-2023 02:09 AM
Hi,
You can poll the fvCEp, uribv4Route, uribv4Nexthop, uribv6Route and uribv6Nexthop classes to retrieve the routes.
HTH
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide