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.
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:
PKT | Received/sent advertisement packets. |
PKT-ARP | Sent gratuitous ARP packets. |
PKT-ZERO | Received/sent advertisement packets with zero priority. |
DROP | Dropped incoming advertisement packets. |
LONG | Dropped incoming advertisement packets with too long length. |
NOBUF | Lost incoming advertisement packets: buffer is full. |
BAD-CHK | Dropped advertisement packets: VRRP packet checksum is not valid. |
BAD-FORMAT | Dropped incoming advertisement packets with bad format. |
FIND | Dropped incoming advertisement packets: cannot find appropriate router. |
NO-MATCH-AU | Received with 'Auth Type' not equal to the locally configured authentication method. |
NO-MATCH-IP | Dropped advertisement packets received for which the IP address list does not match the locally configured list for the virtual router. |
NO-MATCH-IN | Dropped advertisement packets received for which the advertisement interval is different than the one configured for the local virtual route. |
AUTH | VRRP packets received that do not pass the authentication check. |
MASTER | Times that this router has transitioned to MASTER state. |