Monitoring VRRP
You can use several VRRP show commands to display the details of your VRRP configuration.
baseline ip vrrp
- Use to establish the baseline on all VRRP statistics as the current value.
- Examplehost1#baseline ip vrrp
- See baseline ip vrrp.
show 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
- Learning timer mode—Mode of the VRRP router: enabled or disabled; when the mode is enabled, the router learns the VRRP advertisement interval that is useful in case of failure of the master router. If the mode is disabled, the router does not learn the VRRP advertisement interval.
- 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
- Example 1
host1#show ip vrrp Interface: FastEthernet3/0 vrrpVrid: 1 primary address: 12.60.1.1 operational state: init admin state: disabled up time: N/A interval: 1 second Learning timer mode: disabled last error status: no error priority: 100 ( admin priority: 100 ) auth type: none preemption: enabled accept data: disabled assoc address(es): none track object: xyz state: Up decrement: 10
- Example 2
host1#show ip vrrp summary ip interfaces with vrrp: 1 entries: 10 entries enabled: 10 entries with owner priority: 1 entries in init state: 0 entries in backup state: 9 entries in master state: 1 entries performing tracking: 2
- See show ip vrrp.
show 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
- Example
host1#show ip vrrp brief Interface VRID Primary Address State Adv Pri Admin ----------------------- ---- --------------- ------ --- --- -------- fastEthernet12/8.1.1 255 123.123.123.123 init 1 100 disabled gigabitEthernet12/8.1.1 1 1.1.1.1 master 1 254 enabled
- See show ip vrrp.
show ip vrrp neighbor
- Use to display neighbors currently known to the VRRP routers.
- A neighbor—a router that shares a given VRID with the VRRP router—is 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
- 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
- Example
host1#show ip vrrp neighbor Interface: fastEthernet5/0.0 vrrpVrid: 1 time discovered: 08/09/2001 07:44 primary address: 10.0.0.1 adv interval (sec): 1 priority: 255 (owner) auth type: none assoc address(es): 10.0.0.1, 100.0.0.1, 101.0.0.1
Interface: fastEthernet5/0.1 vrrpVrid: 11 time discovered: 08/09/2001 07:44 primary address: 11.0.0.1 adv interval (sec): 1 priority: 255 (owner) auth type: none assoc address(es): 11.0.0.1, 110.0.0.1, 111.0.0.1
- See show ip vrrp neighbor.
show 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
- Example 1—statistics per interface
host1#show ip vrrp statistics interface fastEthernet 4/0 Globals: checksumErrors: 0 versionErrors: 0 vrIdErrors: 1 iccErrors: 0 txErrors: 0 rxErrors: 0
Interface: fastEthernet4/0 vrrpVrid: 1 becomeMaster: 10 advertiseRcvd: 0 advertiseIntervalErrors: 0 authFailures: 0 ipTtlErrors: 0 priorityZeroPktsRcvd: 0 priorityZeroPktsSent: 9 invalidTypePktsRcvd: 0 addressListErrors: 0 invalidAuthType: 0 authTypeMismatch: 0 packetLengthErrors: 0
Interface: fastEthernet4/0 vrrpVrid: 50 becomeMaster: 0 advertiseRcvd: 1000 advertiseIntervalErrors: 0 authFailures: 0 ipTtlErrors: 0 priorityZeroPktsRcvd: 0 priorityZeroPktsSent: 0 invalidTypePktsRcvd: 0 addressListErrors: 0 invalidAuthType: 0 authTypeMismatch: 0 packetLengthErrors: 0
- Example 2—statistics per interface and VRID
host1#show ip vrrp statistics interface fastEthernet 4/0 1 Interface: fastEthernet4/0 vrrpVrid: 1 becomeMaster: 0 advertiseRcvd: 0 advertiseIntervalErrors: 0 authFailures: 0 ipTtlErrors: 0 priorityZeroPktsRcvd: 0 priorityZeroPktsSent: 0 invalidTypePktsRcvd: 0 addressListErrors: 0 invalidAuthType: 0 authTypeMismatch: 0 packetLengthErrors: 0
- See show ip vrrp statistics.
show 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
- Example
host1#show ip vrrp statistics global Globals: checksumErrors: 0 versionErrors: 0 vrIdErrors: 0 iccErrors: 0 txErrors: 0 rxErrors: 0
- See show ip vrrp statistics.
show ip vrrp summary
- Use to display a summary count on all configured VRIDs.
- Field descriptions
- 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
- Example
host1#show ip vrrp summary ip interfaces with vrrp: 1 entries: 10 entries enabled: 10 entries with owner priority: 1 entries in init state: 0 entries in backup state: 9 entries in master state: 1
- See show ip vrrp.
show ip vrrp tracked-objects
- Use to display details of objects tracked by various VRIDs
- Field descriptions
- 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
- Example
host1#show ip vrrp tracked-objects Interface Vrid Priority Object Type State Decrement ---------------- ------- -------- ------ -------- ----- --------- FastEthernet3/0 1 100 ERX_Bangalore IP-route Up 12 FastEthernet3/0 1 100 ERX_Bangalore IP-route Up 15 FastEthernet3/0 1 100 ERX_Bangalore IP-route Up 10 FastEthernet3/0 2 100 ERX_Bangalore IP-route Up 10 FastEthernet3/0 3 100 ERX_Bangalore IP-route Up 12 FastEthernet3/0 3 100 ERX_Bangalore IP-route Up 15
- See show ip vrrp tracked-objects.