34.3. VRRP diagnostics and statistics

34.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                        VRRP-NUM:1
       - Virtual Routers diagnostics: -----------------------------------------
       Id: Name:                                        Init:    Prio: Preempt:
           IpRes: VRid: State: Time:                    Auth:    Adv:
           Dep-State:   Dep-Res:
           Ctrl-State:  Ctrl-Res:
       ------------------------------------------------------------------------
       0                                                BACKUP   100   YES
           Ip-1   130   MASTER 28/03/2019 14:19:01      NO       1
           -
           UP           Ip-101
       ------------------------------------------------------------------------

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).

VRRP-NUM

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.

Adv

Advertisement Interval.

Init

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.

Dep-State

Virtual router dependency state:

  • DOWN - if the Dep-Res goes DOWN, also VRRP will goes DOWN (BACKUP state).

  • UP - if the Dep-Res goes UP, also VRRP will goes UP (MASTER state).

[Note]Note

The VRRP entry can become active only if all the DEP-RES are UP.

Dep-Res

Virtual router dependency configured resource. Status of specified resource will affect status of virtual router: if the resource goes down, also virtual router will goes down allowing another backup virtual router to become active.

[Note]Note

The VRRP entry can become active only if all the DEP-RES are UP.

Ctrl-State

Virtual router controlled IP resources state:

  • DOWN - if the VRRP goes DOWN (BACKUP state), also Ctrl-Res will goes DOWN.

  • UP - if the VRRP goes UP (MASTER state), also Ctrl-Res will goes UP.

[Note]Note

The VRRP entry can become active only if all the DEP-RES are UP.

Ctrl-Res

VRRP Router configured controlled IP resources.

Thanks to this parameter it is possible to enable PPP (and consequently Poecli) and AIPT2 resources in the Abilis which is currently MASTER and leave them disabled in the Abilis currently BACKUP. When the BACKUP becomes MASTER it will enable the desired PPP or AIPT2 resources.

[Note]Note

Currently supported only subtypes PPP and AIPT2.

Time

Time stamp 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.

34.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|    1940968|PKT-ARP    |           |          2|
       DROP       |          0|           |LONG       |          0|           |
       NOBUF      |          0|           |BAD-CHK    |          0|           |
       BAD-FORMAT |          0|           |BAD-VER    |          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|    1940968|PKT-ARP    |           |          2|
       DROP       |          0|           |LONG       |          0|           |
       NOBUF      |          0|           |BAD-CHK    |          0|           |
       BAD-FORMAT |          0|           |BAD-VER    |          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.