Hi All,
I’m wondering what is the correct way to create a BFD peer for a BGP peer that is using a VRF?
I have tried a number of different ways so far and none of them seem to work.
I am running 1.4-rolling-202204300743
.
Here is some config for peers that are working (they are also peering via BGP) in the default VRF:
set protocols bfd profile nsx interval multiplier '3'
set protocols bfd profile nsx interval receive '500'
set protocols bfd profile nsx interval transmit '500'
set protocols bfd peer 10.255.217.3 profile 'nsx'
set protocols bfd peer 10.255.217.4 profile 'nsx'
set protocols bfd peer 10.255.217.19 profile 'nsx'
set protocols bfd peer 10.255.217.20 profile 'nsx'
Here are the different methods I’ve tried for configuring it for peers that exist in the RED
vrf:
set vrf name RED protocols bgp neighbor 10.255.217.35 bfd profile 'nsx'
set protocols bfd peer 10.255.217.35 vrf 'RED'
set protocols bfd peer 10.255.217.35 profile 'nsx'
I’ve also tried:
- Configuring them with no VRF (the same as the above working config) and it does not work (as expected).
- Binding them to an interface or source address
The peers (10.255.217.35
in this case) are all reachable and BGP sessions are established in the respective VRFs (RED
in this case).
Here’s some sample output to show a working and non working one:
[email protected]:~$ show bfd peer 10.255.217.4
peer 10.255.217.4 vrf default
ID: 2148291320
Remote ID: 4018823608
Active mode
Status: up
Uptime: 12 minute(s), 12 second(s)
Diagnostics: ok
Remote diagnostics: ok
Peer Type: configured
Local timers:
Detect-multiplier: 3
Receive interval: 500ms
Transmission interval: 500ms
Echo receive interval: 50ms
Echo transmission interval: disabled
Remote timers:
Detect-multiplier: 3
Receive interval: 500ms
Transmission interval: 500ms
Echo receive interval: disabled
[email protected]:~$ show bfd peer 10.255.217.35
peer 10.255.217.35 vrf RED
ID: 1503595726
Remote ID: 0
Active mode
Status: down
Downtime: 11 minute(s), 15 second(s)
Diagnostics: ok
Remote diagnostics: ok
Peer Type: configured
Local timers:
Detect-multiplier: 3
Receive interval: 500ms
Transmission interval: 500ms
Echo receive interval: 50ms
Echo transmission interval: disabled
Remote timers:
Detect-multiplier: 3
Receive interval: 1000ms
Transmission interval: 1000ms
Echo receive interval: disabled
I am certain that BFD is enabled on the remote peer (10.255.217.35
) as well.
Can someone please provide some insight into what I’m doing wrong?
Regards,
Kane.