Page MenuHomeVyOS Platform

BFD opmode Commands are broken
Open, Requires assessmentPublicBUG

Description

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

Note the %Unknown command lines

admin@edge# show protocols bfd
 peer 10.0.10.12 {
     source {
         address 10.0.10.1
     }
 }
admin@edge# 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]
admin@edge# 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]
admin@edge# 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

admin@edge# 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]
admin@edge# 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]
admin@edge#

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)

Related Objects

StatusSubtypeAssignedTask
OpenBUGNone
OpenBUGzsdc

Event Timeline

kroy assigned this task to c-po.Jun 9 2020, 2:24 AM
kroy created this task.

Seems like this might be VRF related

kroy updated the task description. (Show Details)Jun 9 2020, 2:25 AM
kroy added a comment.Jun 9 2020, 2:28 AM

This one works good too

admin@edge# 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
`
pasik added a subscriber: pasik.Jun 9 2020, 8:58 AM
c-po reassigned this task from c-po to zsdc.Jun 9 2020, 6:10 PM
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

vyos@vyos:~$ 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
vyos@vyos:~$ 
vyos@vyos:~$ 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
vyos@vyos:~$ 
vyos@vyos:~$ 
vyos@vyos:~$ show version 
Version:          VyOS 1.2.5