Date created: 05/25/22 15:22:31. Last modified: 05/25/22 15:40:53

Example BIRD Config

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 93.93.135.198;

mrtdump "/opt/mrts/as57355.mrt"; # Update dumps don't support strftime format

protocol device {
}

protocol bgp  {
    neighbor 85.232.240.179 as 57355;
    local 93.93.135.198 as 65001;
    multihop;
    source address 93.93.135.198;
    #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:1098:80:db::1 as 65001;
    multihop;
    source address 2a00:1098:80: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: Dockerfile
Next page: Hardware Overview