How to fetch BGP routes from the FRR - ZAPI example #11965
-
hi Team I am trying to read the routes from BGP route table - basically the routes are there in
But after that, what I should do to get the BGP table information - what message I suppose to send? When I tried to send redistribute What I should do to get all the routes learned from BGP? Note: FPM only giving me the best routes selected for the BGP if I have more than one routes to the same destination prefix. But I want all the routes. cc: @donaldsharp - Could you help? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This is the small program what I written : Note: I enabled this logs also but it is giving me any logs.
This is the message stream sent for HELLO and REDISTRIBUTE
@donaldsharp please share your opinion |
Beta Was this translation helpful? Give feedback.
-
Figured out the issue: - I missed to add the data payload as part of the length parameter.
|
Beta Was this translation helpful? Give feedback.
Figured out the issue: - I missed to add the data payload as part of the length parameter.
Here is the updated code for other's references. Thanks.