04-29-2021 02:58 AM
Hello,
I am new on REST API.
Now I am working on BGP GET/POST using FDM API Explorer. we don't have FMC.
My https GET request is the following:
I cannot find out what is the correct value of {vrfId} to run this request.
I have only one BGP session, no virtual router. I tried 0 and 1 for this vrfId. The result was failed. This value is required absolutely to run the request.
What is the default value if there is no virtual router?
Thank you very much.
Solved! Go to Solution.
04-29-2021 03:04 AM
Hi there,
I don't have an API to test on, but can you run a GET request on '/devices/default/routing/virtualrouters' and see what that returns? Hopefully the data structure will be indexed by the vrfid value.
cheers,
Seb.
05-01-2021 01:01 AM
Hello,
Finally I found this vrfId in the Routing part, not in BGP.
Thanks you very much.
04-29-2021 03:04 AM
Hi there,
I don't have an API to test on, but can you run a GET request on '/devices/default/routing/virtualrouters' and see what that returns? Hopefully the data structure will be indexed by the vrfid value.
cheers,
Seb.
05-01-2021 01:01 AM
Hello,
Finally I found this vrfId in the Routing part, not in BGP.
Thanks you very much.
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