Here are some examples of the command:
1. debug vrrp command
DGS-3610# debug vrrp
DGS-3610#
VRRP: Grp 1 Advertisement priority 120, ipaddr 192.168.201.213
VRRP: Grp 1 Event - Advert higher or equal priority
%VRRP-6-STATECHANGE: FastEthernet 0/0 Grp 1 state Master -> Backup
VRRP: Grp 1 Advertisement from 192.168.201.213 has invalid virtual address 192.168.1.1
%VRRP-6-STATECHANGE: FastEthernet 0/0 Grp 1 state Backup -> Master
DGS-3610#
The debug vrrp command is equivalent to the joint execution of debug vrrp errors, debug
vrrp events, debug vrrp packets and debug vrrp state.
2. debug vrrp errors command
DGS-3610# debug vrrp error
DGS-3610#
VRRP: Grp 1 Advertisement from 192.168.201.213 has invalid virtual address 192.168.1.1
VRRP: Grp 1 Advertisement from 192.168.201.213 has invalid virtual address 192.168.1.1
VRRP: Grp 1 Advertisement from 192.168.201.213 has invalid virtual address 192.168.1.1
The above displayed information indicates the VRRP advertisement comes from
192.168.201.213 for VRRP group 1. The virtual IP address 192.168.1.1 in the advertisement
is not in local VRRP group 1.
3. debug vrrp events command
DGS-3610# debug vrrp events
DGS-3610#
VRRP: Grp 1 Event - Advert higher or equal priority
VRRP: Grp 1 Event - Advert higher or equal priority
VRRP: Grp 1 Event - Advert higher or equal priority
DGS-3610#
The above displayed information indicates the priority in the VRRP advertisement received
by the local VRRP group is not lower than the local priority.
4. debug vrrp packets command
DGS-3610#debug vrrp packets
DGS-3610#
VRRP: Grp 2 sending Advertisement checksum DD4D
VRRP: Grp 2 sending Advertisement checksum DD4D
VRRP: Grp 2 sending Advertisement checksum DD4D
The above displayed information indicates the local VRRP group 2 is sending VRRP
advertisement, whose VRRP checksum is 0XDD4D.
DGS-3610# debug vrrp packets
DGS-3610#
VRRP: Grp 1 Advertisement priority 120, ipaddr 192.168.201.213
VRRP: Grp 1 Advertisement priority 120, ipaddr 192.168.201.213
VRRP: Grp 1 Advertisement priority 120, ipaddr 192.168.201.213