Repository navigation
|
Is there a way to establish a connection with Zebrad to directly obtain all current routing information, as well as all subsequent incremental modifications? I try to get Billion Routes from frr,but I don't want to get by "show ip route" this is too silly and low efficency. |
Answered by
mjstapp
Jan 28, 2026
Replies: 1 comment 1 reply
|
you can snoop netlink route changes, assuming you're running on linux. |
1 reply
Answer selected by
FeiyanLv
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can snoop netlink route changes, assuming you're running on linux.
you can use the FPM approach, where some forwarding-facing events are delivered across a tcp transport. see
https://docs.frrouting.org/projects/dev-guide/en/latest/fpm.html
you can write your own dataplane plugin; the dataplane system will pass all route updates through your plugin, and you can transfer information as you like. the sonic NOS, for example, uses this approach.