Page MenuHomeVyOS Platform

"show interfaces vrrp" does not return any interface
Closed, ResolvedPublicBUG

Description

Even when having multiple VRRP interfaces configured, they are not listed on "show interfaces vrrp" - the entire tree sees to not work.

Tested with:

vyos@vyos# show high-availability
 vrrp {
     group VLAN5-IPv4 {
         interface eth4.5
         preempt-delay 180
         priority 250
         virtual-address 192.0.2.120/28
         vrid 5
     }
     group VLAN5-IPv6 {
         interface eth4.5
         preempt-delay 180
         priority 250
         virtual-address 2001:db8:200:F0::FFFF/64
         vrid 6
     }
     group VLAN10-IPv4 {
         interface eth4.10
         preempt-delay 180
         priority 250
         virtual-address 192.0.2.62/26
         vrid 10
     }
     group VLAN10-IPv6 {
         interface eth4.10
         preempt-delay 180
         priority 250
         virtual-address 2001:db8:200:10::FFFF/64
         virtual-address 2001:db8:200::FFFF/64
         vrid 11
     }
     group VLAN15-IPv4 {
         interface eth4.15
         preempt-delay 180
         priority 250
         virtual-address 192.0.2.78/28
         vrid 15
     }
     group VLAN15-IPv6 {
         interface eth4.15
         preempt-delay 180
         priority 250
         virtual-address 2001:db8:200:15::ffff/64
         vrid 16
     }
     sync-group FOO {
         member VLAN5-IPv4
         member VLAN5-IPv6
         member VLAN10-IPv4
         member VLAN10-IPv6
         member VLAN15-IPv4
         member VLAN15-IPv6
     }
 }
vyos@vyos:~$ show interfaces vrrp
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------

vyos@vyos:~$ show interfaces vrrp
Possible completions:
  <Enter>       Execute the current command
  <text>        Show specified vrrp interface information
  detail        Show detailed vrrp interface information


vyos@vyos:~$ show interfaces vrrp detail

Details

Difficulty level
Unknown (require assessment)
Version
1.2.5
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

What should be displayed in this output?

eth4.5   192.0.2.120/28

or

eth4.5  VLAN5-IPv4   192.0.2.120/28

This does not work in VyOS 1.2.5 either.

vyos@vyos:~$ show interfaces vrrp
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------

I'd expect:

vyos@vyos:~$ show interfaces vrrp
Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down
Interface        IP Address                        S/L  Description
---------        ----------                        ---  -----------
eth4.5           192.0.2.120/28                    u/u  <interface description>
                 192.0.2.121/28
c-po changed the task status from Open to Confirmed.Jun 18 2020, 5:45 PM
c-po added a project: VyOS 1.2 Crux.
c-po changed Version from 1.3-rolling-202004231230 to 1.2.5.
zsdc changed the task status from Confirmed to Open.EditedJul 1 2020, 12:31 PM
zsdc added a subscriber: zsdc.

This command doing not what you are expecting. It shows virtual VRRP interfaces running in RFC3768 compatibility mode. Add the rfc3768-compatibility option to a VRRP group and a new virtual interface should be listed in the output.
If you want to change this behavior, please describe how exactly.

P.S. I mean that in the show interfaces vrrp output we must see VRRP virtual interfaces anyway. So, how this should be mixed with a simple list of interfaces with VRRP protocol running to avoid confusion? I cannot see ways for this, but maybe I am missing something.

show interfaces vrrp

Maybe we should get rid of this command?

We have "show vrrp"

vyos@r-roll:~$  show vrrp 
Name    Interface      VRID  State    Last Transition
------  -----------  ------  -------  -----------------
VLAN5   eth1.5            5  MASTER   4m1s
erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 5:43 AM
erkin removed a subscriber: Active contributors.
Viacheslav claimed this task.

Removed