BFD parameters not taken into account

Benoit Portrat bpo-bird at limhud.net
Fri Jul 29 19:00:36 CEST 2016


Hello,

After some lab tests with bfd and bgp, I've encountered a problem. bfd 
sessions associated with bgp sessions are up but bfd parameters in 
config file are not taken into account and there is no sign of error in 
the logs.
I have reproduced it with bird 1.5.0 and bird 1.6.0. I've not found any 
trace of a problem like this in the mailing list. I don't know if I've 
missed something or if this is a bug.

For debug purpose, I have two nodes with a config like this :

log syslog all;
debug protocols all;

define local_as = 65101;

# Router params
router id 192.168.10.1;

# Protocols
protocol device {
     scan time 10;
}

protocol direct {
     interface "*";
}

protocol kernel {
     persist;
     scan time 20;
     import none;
     export all;
}

protocol bgp {
     local as local_as;
     source address 192.168.10.1;
     import none;
     export none;
     neighbor 192.168.10.2 as local_as;
     bfd;
}

protocol bfd {
     interface "*" {
         interval 400 ms;
         multiplier 10;
     };
}


But when I display the bfd session, I can see that interval and timeout 
are on default values :

bird> show bfd sessions
bfd1:
IP address                Interface  State      Since       Interval  
Timeout
192.168.10.2              ---        Up         18:19:37      0.100    
0.500

Explicitly declaring the bfd neighbors in the config block doesn't 
change anything.

Does someone have already encountered this problem ?

Regards,

--
Benoit Portrat


More information about the Bird-users mailing list