Various show commands can be used to display statistical and summary information about VRRP and VRRP-E configurations.
Before displaying VRRP information, VRRPv2 must be configured and enabled in your VRRP or VRRP-E network to generate traffic.
Use one or more of the following commands to display VRRPv2 information. The commands do not have to be entered in this order.
-
Enter the
show ip vrrp command with the
vrid option and a virtual router ID (VRID) to display IPv4 VRRP configuration information about VRID 1.
device# show ip vrrp vrid 1
Interface 1/1/1
----------------
auth-type no authentication
VRID 1 (index 1)
interface 1/1/1
state master
administrative-status enabled
version v2
mode owner
virtual mac aaaa.bbbb.cccc (configured)
priority 255
current priority 255
track-priority 2
hello-interval 1 sec
backup hello-interval 6
-
Enter the
show ip vrrp brief command.
device(config)# show ip vrrp brief
Total number of VRRP routers defined: 2
Flags Codes - P:Preempt 2:V2 3:V3 S:Short-Path-Fwd
Inte- VRID Current Flags State Master IP Backup IP Virtual IP
rface Priority Address Address Address
----------------------------------------------------------------------
1/1/1 10 255 P2- Master Local Unknown 10.30.30.2
1/1/3 13 100 P2- Master Local Unknown 10.13.13.3
This example displays summary information about VRRP sessions.
-
Enter the
show ip vrrp-extended statistics command for Ethernet interface 1/1/5.
device# show ip vrrp-extended statistics ethernet 1/1/5
Interface 1/1/5
----------------
VRID 2
- number of transitions to backup state = 1
- number of transitions to master state = 1
- total number of vrrp-extended packets received = 0
. received backup advertisements = 0
. received packets with zero priority = 0
. received packets with invalid type = 0
. received packets with invalid authentication type = 0
. received packets with authentication type mismatch = 0
. received packets with authentication failures = 0
. received packets dropped by owner = 0
. received packets with ttl errors = 0
. received packets with ipv6 address mismatch = 0
. received packets with advertisement interval mismatch = 0
. received packets with invalid length = 0
- total number of vrrp-extended packets sent = 2004
. sent backup advertisements = 0
. sent packets with zero priority = 0
- received neighbor solicitation packets dropped = 0
- received proxy neighbor solicitation packets dropped = 0
- received ip packets dropped = 0