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
- InterfaceFast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface specifier and VRID
- primary addressIP address used while in master state; not necessarily an associated address
- operational stateState of the VRRP router: master, backup, or init; when the operational state is backup, the current master router IP address is provided
- admin stateAdministrative status: enabled or disabled
- up timeNumber of seconds that the VRID has been enabled in non-init state
- intervalVRRP advertisement interval in seconds or milliseconds
- last error statusHelp text used to debug any error detected
- priorityPriority value of VRRP router
- admin priorityPriority of the VRRP administrative router
- auth typeThe VRRP authentication type: none or text
- preemptionVRRP router preemption status: enabled or disabled
- accept dataVRRP router accept data status: enabled or disabled
- assoc address(es)IP addresses associated with the VRID
- track objectName and state of the tracked object and the value by which the object priority changes following an object state change
- ip interfaces with vrrpNumber of IP interfaces using VRRP
- entriesTotal number of entries
- entries enabledNumber of enabled entries
- entries with owner priorityNumber of entries with an owner priority
- entries in init stateNumber of entries in an initialization state
- entries in backup stateNumber of entries in a backup state
- entries in master stateNumber of entries in a master state
- entries performing trackingNumber 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
- InterfaceFast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface specifier
- VRIDVRRP router instance configured on this interface
- Primary AddressIP address used while in master state; not necessarily an associated address
- StateOperational state of VRRP router: master, backup, or init
- AdvAdvertisement interval, in seconds
- PriPriority assigned to this router
- AdminAdministrative 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 currently known to the VRRP routers.
- A neighbora router that shares a given VRID with the VRRP routeris known to the VRRP router only when the neighbor becomes a master for an IP address and sends VRRP advertisements to that effect. If a router sharing the VRID has not yet become a master, then the local router remains unaware of this neighbor and this command does not display that neighbor.
- Use the interface keyword to specify a specific Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface.
- Field descriptions
- InterfaceFast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface specifier and VRID of neighbors known to the VRRP router
- time discoveredDate and time that the neighbor was detected
- primary addressPrimary IP address of neighbor
- adv interval (sec)VRRP advertisement interval in seconds
- priorityPriority status of VRRP router (255 = owner)
- auth typeVRRP 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
- checksumErrorsTotal number of VRRP packets received with an invalid VRRP checksum value
- versionErrorsTotal number of VRRP packets received with an unknown or unsupported version number
- vrIdErrorsTotal number of VRRP packets received with an invalid VRID for this virtual router
- iccErrorsCount of line module notifications that did not make it to the controller
- txErrorsCount of advertisements that did not get sent due to resource limitations
- rxErrorsCount of advertisements received that could not be parsed by VRRP applications
- InterfaceFast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface specifier and VRID
- becomeMasterTotal number of times that this VRID state has transitioned to master
- advertiseRcvdTotal number of VRRP advertisements received
- advertiseIntervalErrorsTotal number of VRRP advertisement packets received for which the advertisement interval is different from the one configured for the VRID
- authFailuresTotal number of VRRP packets received that do not pass the authentication check
- ipTtlErrorsTotal number of VRRP packets received with IP TTL (time-to-live) not equal to 255
- priorityZeroPktsRcvdTotal number of VRRP packets received with a priority of 0
- priorityZeroPktsSentTotal number of VRRP packets sent with a priority
of 0- invalidTypePktsRcvdTotal number of VRRP packets received with an invalid value in the Type field
- addressListErrorsTotal number of VRRP packets received for which the address list does not match the locally configured list for the VRID
- invalidAuthTypeTotal number of VRRP packets received with an unknown authentication type
- authTypeMismatchTotal number of VRRP packets received with an authentication type not equal to the locally configured authentication method
- packetLengthErrorsTotal 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 2statistics 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
- checksumErrorsTotal number of VRRP packets received with an invalid VRRP checksum value
- versionErrorsTotal number of VRRP packets received with an unknown or unsupported version number
- vrIdErrorsTotal number of VRRP packets received with an invalid VRID for this virtual router
- iccErrorsCount of line module notifications that did not make it to the controller
- txErrorsCount of advertisements that did not get sent due to resource limitations
- rxErrorsCount 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 vrrpTotal number of VRIDs configured on IP interfaces
- entriesTotal number of entries in all states
- entries enabledNumber of entries that were enabled
- entries with owner priorityNumber of entries with owner priority
- entries in init stateNumber of entries in the init state
- entries in backup stateNumber of entries in the backup state
- entries in master stateNumber 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
- InterfaceName of the interface
- VridVRRP router instance configured on the interface
- PriorityPriority of the VRRP router
- ObjectName of the object being tracked
- TypeType of object being tracked
- StateState of the object
- DecrementValue 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