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

FTD REST API on BGP

h.dam
Level 1
Level 1

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 Alumni
VIP Alumni

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 Alumni
VIP Alumni

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.

Hello,

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

 

Thanks you very much.

Review Cisco Networking products for a $25 gift card