Hello K.
Sorry, I'm late.
Here is my full configuration
===================================================================
log "/var/log/bird/bird.log" { debug, trace, info, remote, warning, error, auth, fatal, bug };
debug protocols all;
# Loopback IP
router id [bird-server lo ip];
protocol kernel {
persist; # Don't remove routes on bird shutdown
scan time 20; # Scan kernel routing table every 20 seconds
import none; # Default is import all
export all; # Default is export none
merge paths on; # Enable ECMP Multi path.
}
protocol direct {
interface "lo";
}
protocol device {
scan time 10; # Scan interfaces every 10 seconds
}
protocol bfd {
multihop {
min rx interval 300 ms;
min tx interval 300 ms;
multiplier 3;
};
}
protocol static {
route [swich A router-id] via [interface IP to switch A];
route
[swich B router-id]
via
[interface IP to switch B]
;
}
# BGP Configuration
protocol bgp as1 {
import all;
export all;
# local Loopback IP
# neighbor (tchy loopback ip)
local
[bird-server lo ip]
as 65001;
neighbor
[swich A router-id] as 65001;
hold time 30;
enable route refresh off;
bfd on;
}
protocol bgp as2 {
import all;
export all;
local
[bird-server lo ip]
as 65001;
neighbor
[swich B router-id]
as 65001;
hold time 30;
enable route refresh off;
bfd on;
}
===================================================================
Please check it.
Regards.