Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

show vrrp interface

Displays information about the groups configured on the VRRP interface or all VRRP interfaces.

show vrrp interface [ vrrpx ]

When used with no option, this command displays information about all VRRP interfaces.

vrrpx
A VRRP interface. For the format of the VRRP interface name, refer to the usage guidelines.

Operational mode

Use this command to display information about one VRRP interface or all VRRP interfaces.

The system automatically generates a name for the VRRP interface by appending vrrpn (where n is an arbitrary number starting from 1) to the physical interface prefix, for example, dp0vrrp1.

The interface name is based on the highest existing interface; for a scenario in which you configure three groups (dp0vrrp1, dp0vrrp2, and dp0vrrp3), then delete dp0vrrp2 and create another group, the interface name for the new group is dp0vrrp4.

Note:

When the configuration of the keepalived daemon is modified, the VRRP process is reloaded to read the new configuration and the transition timer is restarted. Therefore, Last transition shows either the last state transition or last time the keepalived configuration was read.

The following example shows how to display summary information of the group configured on the VRRP interfaces.

vyatta@vyatta:~$ show vrrp interface dp0p5p1
--------------------------------------------------
Interface: dp0p5p1
--------------
Group: 100
----------
State:                        BACKUP
Last transition:              33m50s

Master router:                2ffe:20::15
Master priority:              255
Version:                      3 
RFC Compliant
Virtual MAC interface:        dp0vrrp2
Address Owner:                no

Source Address:               2ffe:20::20
Configured Priority           100
Effective Priority            100
Advertisement interval:       1000 milli-sec
Preempt:                      enabled
Accept                        disabled
Sync-group:                   ABC
Tracked interfaces count:                                     2
    dpop3p1    state    UP    weight    +20
    dp0p4p1    state    UP    weight    -10
VIP count:                    1
    2ffe:20::15/128