cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

608
Views
0
Helpful
2
Replies
h.dam
Beginner

FTD REST API on BGP

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:

/devices/default/routing/virtualrouters/{vrfId}/bgp

 

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.

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Seb Rupik
VIP Advisor

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.

View solution in original post

Hello,

Finally I found this vrfId in the Routing part, not in BGP.

 

Thanks you very much.

View solution in original post

2 REPLIES 2
Seb Rupik
VIP Advisor

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.

View solution in original post

Hello,

Finally I found this vrfId in the Routing part, not in BGP.

 

Thanks you very much.

View solution in original post

Content for Community-Ad