Monitoring VRRP
You can use several VRRP show commands to display the details of your VRRP configuration.
baseline ip vrrp
host1#baseline ip vrrpshow ip vrrp
- Use to display a detailed summary of all configured VRIDs.
- Use the interface keyword to specify a specific Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface.
- Use the summary keyword to display a summary count on all configured VRIDs
- Field descriptions
- Interface—Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface specifier and VRID
- primary address—IP address used while in master state; not necessarily an associated address
- operational state—State of the VRRP router: master, backup, or init; when the operational state is backup, the current master router IP address is provided
- admin state—Administrative status: enabled or disabled
- up time—Number of seconds that the VRID has been enabled in non-init state
- interval—VRRP advertisement interval in seconds or milliseconds
- last error status—Help text used to debug any error detected
- priority—Priority value of VRRP router
- admin priority—Priority of the VRRP administrative router
- auth type—The VRRP authentication type: none or text
- preemption—VRRP router preemption status: enabled or disabled
- accept data—VRRP router accept data status: enabled or disabled
- assoc address(es)—IP addresses associated with the VRID
- track object—Name and state of the tracked object and the value by which the object priority changes following an object state change
- ip interfaces with vrrp—Number of IP interfaces using VRRP
- entries—Total number of entries
- entries enabled—Number of enabled entries
- entries with owner priority—Number of entries with an owner priority
- entries in init state—Number of entries in an initialization state
- entries in backup state—Number of entries in a backup state
- entries in master state—Number of entries in a master state
- entries performing tracking—Number of entries performing tracking functions
host1#show ip vrrpInterface: FastEthernet3/0 vrrpVrid: 1primary address: 12.60.1.1operational state: initadmin state: disabledup time: N/Ainterval: 1 secondlast error status: no errorpriority: 100 ( admin priority: 100 )auth type: nonepreemption: enabledaccept data: disabledassoc address(es): nonetrack object: xyz state: Up decrement: 10Example 2 host1#show ip vrrp summaryip interfaces with vrrp: 1entries: 10entries enabled: 10entries with owner priority: 1entries in init state: 0entries in backup state: 9entries in master state: 1entries performing tracking: 2show ip vrrp brief
- Use to display a brief summary of all configured VRIDs.
- Use the interface keyword to specify a specific Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface.
- Field descriptions
- Interface—Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface specifier
- VRID—VRRP router instance configured on this interface
- Primary Address—IP address used while in master state; not necessarily an associated address
- State—Operational state of VRRP router: master, backup, or init
- Adv—Advertisement interval, in seconds
- Pri—Priority assigned to this router
- Admin—Administrative state of the VRID: enabled or disabled
host1#show ip vrrp briefInterface VRID Primary Address State Adv Pri Admin----------------------- ---- --------------- ------ --- --- --------fastEthernet12/8.1.1 255 123.123.123.123 init 1 100 disabledgigabitEthernet12/8.1.1 1 1.1.1.1 master 1 254 enabledshow ip vrrp neighbor
- Use to display neighbors known to the VRRP routers.
- Use the interface keyword to specify a specific Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface.
- Field descriptions
- Interface—Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface specifier and VRID of neighbors known to the VRRP router
- time discovered—Date and time that the neighbor was detected
- primary address—Primary IP address of neighbor
- adv interval (sec)—VRRP advertisement interval in seconds
- priority—Priority status of VRRP router (255 = owner)
- auth type—VRRP authentication type: none or text
- assoc address(es)—IP addresses associated with the VRID that are advertised by the neighbor
host1#show ip vrrp neighborInterface: fastEthernet5/0.0 vrrpVrid: 1time discovered: 08/09/2001 07:44primary address: 10.0.0.1adv interval (sec): 1priority: 255 (owner)auth type: noneassoc address(es): 10.0.0.1, 100.0.0.1, 101.0.0.1Interface: fastEthernet5/0.1 vrrpVrid: 11time discovered: 08/09/2001 07:44primary address: 11.0.0.1adv interval (sec): 1priority: 255 (owner)auth type: noneassoc address(es): 11.0.0.1, 110.0.0.1, 111.0.0.1show ip vrrp statistics
- Use to display statistics of configured VRRP routers and each individual VRID.
- Use the delta keyword with the show ip vrrp statistics command to view the baseline statistics.
- Use the interface keyword with the show ip vrrp statistics command to specify a specific Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface.
- Field descriptions
- checksumErrors—Total number of VRRP packets received with an invalid VRRP checksum value
- versionErrors—Total number of VRRP packets received with an unknown or unsupported version number
- vrIdErrors—Total number of VRRP packets received with an invalid VRID for this virtual router
- iccErrors—Count of line module notifications that did not make it to the controller
- txErrors—Count of advertisements that did not get sent due to resource limitations
- rxErrors—Count of advertisements received that could not be parsed by VRRP applications
- Interface—Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface specifier and VRID
- becomeMaster—Total number of times that this VRID state has transitioned to master
- advertiseRcvd—Total number of VRRP advertisements received
- advertiseIntervalErrors—Total number of VRRP advertisement packets received for which the advertisement interval is different from the one configured for the VRID
- authFailures—Total number of VRRP packets received that do not pass the authentication check
- ipTtlErrors—Total number of VRRP packets received with IP TTL (time-to-live) not equal to 255
- priorityZeroPktsRcvd—Total number of VRRP packets received with a priority of 0
- priorityZeroPktsSent—Total number of VRRP packets sent with a priority
of 0- invalidTypePktsRcvd—Total number of VRRP packets received with an invalid value in the Type field
- addressListErrors—Total number of VRRP packets received for which the address list does not match the locally configured list for the VRID
- invalidAuthType—Total number of VRRP packets received with an unknown authentication type
- authTypeMismatch—Total number of VRRP packets received with an authentication type not equal to the locally configured authentication method
- packetLengthErrors—Total number of VRRP packets received with a packet length less than the length of the VRRP header
host1#show ip vrrp statistics interface fastEthernet 4/0Globals:checksumErrors: 0versionErrors: 0vrIdErrors: 1iccErrors: 0txErrors: 0rxErrors: 0Interface: fastEthernet4/0 vrrpVrid: 1becomeMaster: 10advertiseRcvd: 0advertiseIntervalErrors: 0authFailures: 0ipTtlErrors: 0priorityZeroPktsRcvd: 0priorityZeroPktsSent: 9invalidTypePktsRcvd: 0addressListErrors: 0invalidAuthType: 0authTypeMismatch: 0packetLengthErrors: 0Interface: fastEthernet4/0 vrrpVrid: 50becomeMaster: 0advertiseRcvd: 1000advertiseIntervalErrors: 0authFailures: 0ipTtlErrors: 0priorityZeroPktsRcvd: 0priorityZeroPktsSent: 0invalidTypePktsRcvd: 0addressListErrors: 0invalidAuthType: 0authTypeMismatch: 0packetLengthErrors: 0Example 2—statistics per interface and VRID host1#show ip vrrp statistics interface fastEthernet 4/0 1Interface: fastEthernet4/0 vrrpVrid: 1becomeMaster: 0advertiseRcvd: 0advertiseIntervalErrors: 0authFailures: 0ipTtlErrors: 0priorityZeroPktsRcvd: 0priorityZeroPktsSent: 0invalidTypePktsRcvd: 0addressListErrors: 0invalidAuthType: 0authTypeMismatch: 0packetLengthErrors: 0show ip vrrp statistics global
- Use to display the statistics of configured VRRP routers and each individual VRID.
- Use the delta keyword with the show ip vrrp statistics global command to view the baseline statistics.
- Field descriptions
- checksumErrors—Total number of VRRP packets received with an invalid VRRP checksum value
- versionErrors—Total number of VRRP packets received with an unknown or unsupported version number
- vrIdErrors—Total number of VRRP packets received with an invalid VRID for this virtual router
- iccErrors—Count of line module notifications that did not make it to the controller
- txErrors—Count of advertisements that did not get sent due to resource limitations
- rxErrors—Count of advertisements received that could not be parsed by VRRP applications
host1#show ip vrrp statistics globalGlobals:checksumErrors: 0versionErrors: 0vrIdErrors: 0iccErrors: 0txErrors: 0rxErrors: 0show ip vrrp summary
- ip interfaces with vrrp—Total number of VRIDs configured on IP interfaces
- entries—Total number of entries in all states
- entries enabled—Number of entries that were enabled
- entries with owner priority—Number of entries with owner priority
- entries in init state—Number of entries in the init state
- entries in backup state—Number of entries in the backup state
- entries in master state—Number of entries in the master state
host1#show ip vrrp summaryip interfaces with vrrp: 1entries: 10entries enabled: 10entries with owner priority: 1entries in init state: 0entries in backup state: 9entries in master state: 1show ip vrrp tracked-objects
- Interface—Name of the interface
- Vrid—VRRP router instance configured on the interface
- Priority—Priority of the VRRP router
- Object—Name of the object being tracked
- Type—Type of object being tracked
- State—State of the object
- Decrement—Value by which the priority is decremented or restored following an object state change
host1#show ip vrrp tracked-objectsInterface Vrid Priority Object Type State Decrement---------------- ------- -------- ------ -------- ----- ---------FastEthernet3/0 1 100 ERX_Bangalore IP-route Up 12FastEthernet3/0 1 100 ERX_Bangalore IP-route Up 15FastEthernet3/0 1 100 ERX_Bangalore IP-route Up 10FastEthernet3/0 2 100 ERX_Bangalore IP-route Up 10FastEthernet3/0 3 100 ERX_Bangalore IP-route Up 12FastEthernet3/0 3 100 ERX_Bangalore IP-route Up 15