29.3. VRRP diagnostics and statistics

29.3.1. VRRP diagnostics

This command reports the current situation of the VRRP rerource:

[18:06:40] ABILIS_CPX:d d vrrp

RES:Vrrp ----------------------------------------------------------------------
       Virtual_Router_Redundancy_Protocol                                      
       STATE:ACTIVE                        ROUTERS-NUMB:1
       - Routers diagnostics: -------------------------------------------------
       Id: Name:                            Ip:     VRId:   Prio: Preempt:
           Adver-Int:   I-State:    State:  T-Stamp:              Auth:
       ------------------------------------------------------------------------
       0   LAN                              1       100     200   YES
           1            MASTER      MASTER  25/09/2017 12:30:48   NONE
       ------------------------------------------------------------------------

The meaning:

STATE

The VRRP driver state.

  • ACTIVE - driver is fully ready to work (configuration parameter ACT:YES).

  • INACTIVE - driver is disabled (configuration parameter ACT:NO).

ROUTERS-NUMB

The number of VRRP routers configured in the VRRP driver.

Id

The VRRP router identifier.

Name

The VRRP router name.

Ip

IP interface associated with the VRRP router.

VRId

Virtual Router Identifier.

Prio

Virtual Router Priority.

Preempt

Preempt mode flag:

  • NO - Preemption is not allowed for VRRP router.

  • YES - Preemption is allowed for VRRP router.

Adver-Int

Advertisement Interval.

I-State

Initial state:

  • BACKUP - Initial state of the VRRP Router instance is set to the BACKUP state.

  • MASTER - Initial state of the VRRP Router instance is set to the MASTER state.

State

Current state:

  • BACKUP - VRRP router instance is in the BACKUP state.

  • MASTER - VRRP router instance is in the MASTER state.

  • INIT - VRRP router instance is in the INIT state.

  • FAULT - VRRP router instance is in the FAULT state.

T-Stamp

Timestamp when STATE was changed.

Auth

Type of authentication:

  • NONE - No authentication. The use of this authentication type means that VRRP protocol exchanges are not authenticated.

  • PASSW - Simple Text Password. The use of this authentication type means that VRRP protocol exchanges are authenticated by a clear text password.

  • AH - IP Authentication Header. The use of this authentication type means the VRRP protocol exchanges are authenticated using the mechanisms defined by the IPsec IP Authentication Header protocol.

29.3.2. VRRP statistics

This command can help to understand what is happening, in case of troubles:

[18:06:40] ABILIS_CPX:d s vrrp

RES:Vrrp ----------------------------------------------------------------------
       Virtual_Router_Redundancy_Protocol                                      
       --- Cleared 0 days 03:18:39 ago, on 25/09/2017 at 12:30:40 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PKT        |          0|      11912|PKT-ARP    |           |          1|
       DROP       |          0|           |LONG       |          0|           |
       NO-BUF     |          0|           |BAD-CHK    |          0|           |
       BAD-FORMAT |          0|           |FIND       |          0|           |
       ------------------------------------------------------------------------
[18:06:40] ABILIS_CPX:d se vrrp

RES:Vrrp ----------------------------------------------------------------------
       Virtual_Router_Redundancy_Protocol                                      
       --- Cleared 0 days 03:18:43 ago, on 25/09/2017 at 12:30:41 -------------
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PKT        |          0|      11917|PKT-ARP    |           |          1|
       DROP       |          0|           |LONG       |          0|           |
       NOBUF      |          0|           |BAD-CHK    |          0|           |
       BAD-FORMAT |          0|           |FIND       |          0|           |
       ------------------------------------------------------------------------
       Router Id:0
       -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---|
       PKT        |          0|      11917|PKT-ZERO   |          0|          0|
       PKT-ARP    |           |          1|DROP       |          0|           |
       NO-MATCH-AU|          0|           |NO-MATCH-IP|          0|           |
       NO-MATCH-IN|          0|           |AUTH       |          0|           |
       MASTER     |           |          1|
       ------------------------------------------------------------------------

With reference to the shown interval of time («Cleared 0 days 03:18:43 ago») these counters show the number of:

PKTReceived/sent advertisement packets.
PKT-ARPSent gratuitous ARP packets.
PKT-ZEROReceived/sent advertisement packets with zero priority.
DROPDropped incoming advertisement packets.
LONGDropped incoming advertisement packets with too long length.
NOBUFLost incoming advertisement packets: buffer is full.
BAD-CHKDropped advertisement packets: VRRP packet checksum is not valid.
BAD-FORMATDropped incoming advertisement packets with bad format.
FINDDropped incoming advertisement packets: cannot find appropriate router.
NO-MATCH-AUReceived with 'Auth Type' not equal to the locally configured authentication method.
NO-MATCH-IPDropped advertisement packets received for which the IP address list does not match the locally configured list for the virtual router.
NO-MATCH-INDropped advertisement packets received for which the advertisement interval is different than the one configured for the local virtual route.
AUTHVRRP packets received that do not pass the authentication check.
MASTERTimes that this router has transitioned to MASTER state.