Date created: Wednesday, May 25, 2022 3:22:31 PM. Last modified: Monday, June 10, 2024 12:42:17 PM
Example BIRD Config - IPv4/IPv6 Unicast
Example config to receive a full BGP table:
log stderr all; log syslog all; #log syslog { debug, trace, info, remote, warning, error, auth, fatal, bug }; #debug protocols { mrt }; #debug protocols all; router id 10.10.10.10; mrtdump "/opt/mrts/as57355.mrt"; # Update dumps don't support strftime format protocol device { } protocol bgp { neighbor 85.232.240.179 as 57355; local 10.10.10.10 as 65001; multihop; source address 10.10.10.10; #interface "*"; multihop can't be bound to a specific intf enable route refresh on; # default on interpret communities off; # default off enable as4 on; # default on enable extended messages on; # default off capabilities on; # default on default bgp_med 4294967294; # default 0 default bgp_local_pref 1; # default 100 mrtdump { messages }; ipv4 { import all; export none; }; }; protocol bgp { neighbor 2001:1A68:2C:2::179 as 57355; local 2a00:aaaa:db::1 as 65001; multihop; source address 2a00:aaaa:db::1; #interface "*"; multihop can't be bound to a specific intf enable route refresh on; # default on interpret communities off; # default off enable as4 on; # default on enable extended messages on; # default off capabilities on; # default on default bgp_med 4294967294; # default 0 default bgp_local_pref 1; # default 100 #mrtdump { messages }; ipv6 { import all; export none; }; }; # This is for periodic RIB dumps, not UPDATE dumps #protocol mrt { # table "master*"; # where source = RTS_BGP; # filename "/opt/bird/mrts/%Y.%m/UPDATES/updates.%Y%m%d.%H%M.mrt"; # period 300; #};
Previous page: Example BIRD Config - Flowspec
Next page: Example BIRD Config - Outbound filter to add communities