ZAPI message to fetch all messages in BGP table at regular interval #12743
-
hi Team I am looking for the message that would send the snapshot of all routes learned by the BGP daemon.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
there is no such message. ZEBRA_REDISTRIBUTE_ADD tells zebra to send all the routes for the specified protocol and as changes are given to zebra from the specified protocol they are relayed to the interested party. I would solve the problem( although I would say this is an actual problem that you would want to solve ) by sending a ZEBRA_REDISTRIBUTE_DELETE then an ZEBRA_REDISTRIBUTE_ADD in quick succession ). Having zebra send everything and then send as updates happen is the most efficient way of handling large tables. |
Beta Was this translation helpful? Give feedback.
-
Maybe what you want is more like BMP - did you read about https://docs.frrouting.org/en/latest/bmp.html? |
Beta Was this translation helpful? Give feedback.
there is no such message. ZEBRA_REDISTRIBUTE_ADD tells zebra to send all the routes for the specified protocol and as changes are given to zebra from the specified protocol they are relayed to the interested party.
I would solve the problem( although I would say this is an actual problem that you would want to solve ) by sending a ZEBRA_REDISTRIBUTE_DELETE then an ZEBRA_REDISTRIBUTE_ADD in quick succession ).
Having zebra send everything and then send as updates happen is the most efficient way of handling large tables.