Page MenuHomeVyOS Platform

BFD op-mode commands are broken
Closed, ResolvedPublicBUG

Description

It looks like the VRF addition broke a few of the BFD op-mode commands

Note the %Unknown command lines

[email protected]# show protocols bfd
 peer 10.0.10.12 {
     source {
         address 10.0.10.1
     }
 }
[email protected]# run show protocols bfd peer <TAB>
Possible completions:
  <Enter>       Execute the current command
  10.0.10.12    Show Bidirectional Forwarding Detection (BFD) peer status
  counters      Show Bidirectional Forwarding Detection (BFD) peer counters

[edit]
[email protected]# run show protocols bfd peer 10.0.10.12
% Unknown command: show bfd     peer 10.0.10.12 local-address 10.0.10.1 vrf default
[edit]
[email protected]# run show protocols bfd peer 10.0.10.12 <TAB>
Possible completions:
  <Enter>       Execute the current command
  counters      Show Bidirectional Forwarding Detection (BFD) peer counters

[email protected]# run show protocols bfd peer 10.0.10.12 counters
% Unknown command: show bfd     peer 10.0.10.12 local-address 10.0.10.1 vrf default counters
[edit]
[email protected]# run show protocols bfd peer counters
BFD Peers:
        peer 10.0.10.12 local-address 10.0.10.1 vrf default
                Control packet input: 152 packets
                Control packet output: 402 packets
                Echo packet input: 0 packets
                Echo packet output: 0 packets
                Session up events: 1
                Session down events: 0
                Zebra notifications: 2

[edit]
[email protected]#

Details

Difficulty level
Unknown (require assessment)
Version
1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

kroy created this task.

Seems like this might be VRF related

This one works good too

[email protected]# run show protocols bfd peer
BFD Peers:
        peer 10.0.10.12 local-address 10.0.10.1 vrf default
                ID: 1022051564
                Remote ID: 1
                Status: up
                Uptime: 9 minute(s), 41 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: 5
                        Receive interval: 200ms
                        Transmission interval: 200ms
                        Echo transmission interval: 0ms
`
c-po added a subscriber: c-po.

@zsdc can you please have a look? CHanges to FRR show commands introduced here: https://github.com/vyos/vyos-1x/commit/6492541b

Also in 1.2.5

[email protected]:~$ show protocols bfd peer 10.203.42.1 
% Unknown command: show bfd     peer 10.203.42.1 local-address 10.203.42.254 vrf default
[email protected]:~$ 
[email protected]:~$ show protocols bfd peer 10.203.42.1 counters 
% Unknown command: show bfd     peer 10.203.42.1 local-address 10.203.42.254 vrf default counters
[email protected]:~$ 
[email protected]:~$ 
[email protected]:~$ show version 
Version:          VyOS 1.2.5
Viacheslav changed the task status from Open to Needs testing.Aug 12 2020, 8:22 AM
erkin renamed this task from BFD opmode Commands are broken to BFD op-mode commands are broken.Aug 30 2021, 5:40 AM
erkin set Issue type to Bug (incorrect behavior).
erkin removed a subscriber: Active contributors.