Q:
Does Clear Counters command affect the VRRP State?
Yes, the clear counters command affects the VRRP state. When clear counters command is executed we are clearing all counters, so the state machine starts afresh. These commands are maintenance mode commands and should not be performed without shutting down the VRRP.
Example:
On STANDBY:
(Aruba3200-Standby) #show clock Thu Jan 28 02:06:54 PST 2016 (Aruba3200-Standby) #show vrrp stats all Virtual Router 196: Admin State UP, VR State BACKUP Advertisements: Sent: 0 Received: 3129 Zero priority sent: 0 Zero priority received: 0 Lower IP address received 3129 Lower Priority received 0 Tracking priority overflow: 0 Advertisements received errors: Interval mismatch 0 Invalid TTL 0 Invalid packet type 0 Authentication failure 0 Invalid auth type 0 Mismatch auth type 0 Invalid VRRP IP address 0 Invalid packet length 0 VRRP Up timestamp: Wed Jan 27 22:46:42 2016 Master Up timestamp: N/A, not MASTER Last advertisement sent timestamp: Thu Jan 28 00:51:30 2016 Last advertisement received timestamp: Thu Jan 28 02:07:22 2016 Current time: Thu Jan 28 02:07:23 2016 Number times became VRRP Master: 0
(Aruba3200-Standby) #show clock Thu Jan 28 02:08:04 PST 2016 (Aruba3200-Standby) #clear counters vrrp 196 (Aruba3200-Standby) #show vrrp stats all Virtual Router 196: Admin State UP, VR State BACKUP Advertisements: Sent: 2 Received: 6 Zero priority sent: 0 Zero priority received: 0 Lower IP address received 6 Lower Priority received 0 Tracking priority overflow: 0 Advertisements received errors: Interval mismatch 0 Invalid TTL 0 Invalid packet type 0 Authentication failure 0 Invalid auth type 0 Mismatch auth type 0 Invalid VRRP IP address 0 Invalid packet length 0 VRRP Up timestamp: Wed Jan 27 22:46:42 2016 Master Up timestamp: N/A, not MASTER Last advertisement sent timestamp: Thu Jan 28 02:08:04 PST 2016 =============> The time when the command was executed. Last advertisement received timestamp: Thu Jan 28 02:08:08 2016 Current time: Thu Jan 28 02:08:09 2016 Number times became VRRP Master: 1
Under System Logs:
(Aruba3200-Standby) #show log system 30 Jan 28 02:08:05 :313331: <WARN> |fpapps| VRRP: vrid "196" - Missed 3 Hello Advertisements from VRRP Master 10.17.169.151 Jan 28 02:08:05 :313328: <WARN> |fpapps| vrrp: vrid "196" - VRRP state transitioned from BACKUP to MASTER Jan 28 02:08:05 :399838: <WARN> |fpapps| publish_license_vrrp_state : VRRP State change vrrid : 196, cur State : MASTER, licensevrid : 0 , mvrid : 196 Jan 28 02:08:05 :399838: <WARN> |fpapps| Sending to licensemgr vrrid : 196, cur State : MASTER
© Copyright 2024 Hewlett Packard Enterprise Development LPAll Rights Reserved.