i have configured BFD with BGP as per BFD — VyOS 1.3.x (equuleus) documentation
the remote peer, at this point does not yet have BFD configured, and as expected BFD is operationally Down
vyos@VYOS-02:~$ show protocols bfd peer
BFD Peers:
peer 192.168.255.46 vrf default interface eth5
ID: 939062670
Remote ID: 0
Active mode
Status: down
Downtime: 31 minute(s), 2 second(s)
Diagnostics: ok
Remote diagnostics: ok
Peer Type: configured
Local timers:
Detect-multiplier: 3
Receive interval: 300ms
Transmission interval: 300ms
Echo transmission interval: 50ms
Remote timers:
Detect-multiplier: 3
Receive interval: 1000ms
Transmission interval: 1000ms
Echo transmission interval: 0ms
however, unexpectedly BGP is UP, note how the BGP session is aware BFD is down…
vyos@VYOS-02:~$ show ip bgp neighbors 192.168.255.46
BGP neighbor is 192.168.255.46, remote AS 65535, local AS 65538, external link
BGP version 4, remote router ID 192.168.30.6, local router ID 192.168.254.2
BGP state = Established, up for 00:27:14
Last read 00:00:01, Last write 00:00:04
Hold time is 30, keepalive interval is 10 seconds
Configured hold time is 30, keepalive interval is 10 seconds
Neighbor capabilities:
4 Byte AS: advertised and received
AddPath:
IPv4 Unicast: RX advertised IPv4 Unicast
Route refresh: advertised and received(old & new)
Address Family IPv4 Unicast: advertised and received
Hostname Capability: advertised (name: VYOS-02,domain name: n/a) not received
Graceful Restart Capability: advertised
Graceful restart information:
Local GR Mode: Helper*
Remote GR Mode: Disable
R bit: False
Timers:
Configured Restart Time(sec): 120
Received Restart Time(sec): 0
Message statistics:
Inq depth is 0
Outq depth is 0
Sent Rcvd
Opens: 13 13
Notifications: 12 12
Updates: 286 31
Keepalives: 195359 224495
Route Refresh: 0 0
Capability: 0 0
Total: 195670 224551
Minimum time between advertisement runs is 0 seconds
Update source is 192.168.255.45
For address family: IPv4 Unicast
Update group 4, subgroup 4
Packet Queue length 0
Inbound soft reconfiguration allowed
Community attribute sent to this neighbor(all)
Inbound path policy configured
Outbound path policy configured
Route map for incoming advertisements is *fromECVs
Route map for outgoing advertisements is *toECVs
8 accepted prefixes
Connections established 13; dropped 12
Last reset 00:27:40, Admin. shutdown
Local host: 192.168.255.45, Local port: 40363
Foreign host: 192.168.255.46, Foreign port: 179
Nexthop: 192.168.255.45
Nexthop global: fe80::20c:29ff:fe59:6b60
Nexthop local: fe80::20c:29ff:fe59:6b60
BGP connection: shared network
BGP Connect Retry Timer in Seconds: 120
Estimated round trip time: 47 ms
Read thread: on Write thread: on FD used: 32
BFD: Type: single hop
Detect Multiplier: 3, Min Rx interval: 300, Min Tx interval: 300
Status: Down, Last update: 0:00:29:16
vyos@VYOS-02:~$
VYOS version 1.3-beta-202107121144
vyos@VYOS-02:~$ show version
Version: VyOS 1.3-beta-202107121144
Release Train: equuleus
Built by: [email protected]
Built on: Tue 13 Jul 2021 03:42 UTC
Build UUID: 1acfd1ce-c432-4fbf-9e9e-2933807e5e5f
Build Commit ID: 2ba1cbb93659bc
Architecture: x86_64
Boot via: installed image
System type: VMware guest
Hardware vendor: VMware, Inc.
Hardware model: VMware Virtual Platform
Hardware S/N: VMware-56 4d 2d f8 07 1c f8 c2-2a c2 5d 0f bb 59 6b 42
Hardware UUID: 564d2df8-071c-f8c2-2ac2-5d0fbb596b42
Copyright: VyOS maintainers and contributors
vyos@VYOS-02:~$
any ideas why BGP can be UP, when BFD is clearly down ???