clear vrrp statistics
To reset the Virtual Router Redundancy Protocol (VRRP) statistics (to zero or default value), use the clear vrrp statistics command in XR EXEC mode.
clear vrrp statistics [ ipv4 | ipv6 ] [ interface type interface-path-id | vrid ]
Syntax Description
ipv4 |
(Optional) Resets the IPv4 VRRP statistics. |
ipv6 |
(Optional) Resets the IPv6 VRRP statistics. |
interface type |
(Optional) Specifies the Interface type. |
interface-path-id |
(Optional) Specify a physical interface instance or a virtual interface instance for which VRRP statistics is cleared. |
vrid |
(Optional) Specify the virtual router identifier, which is the number identifying the virtual router for which VRRP statistics is cleared. |
Command Default
No default behavior or values
Command History
Release |
Modification |
---|---|
Release 7.9.1 |
This command was introduced. |
Usage Guidelines
If no interface is specified, the statistics for all virtual routers on all interfaces are cleared.
If no value for vrid is specified, the statistics for all virtual routers on the specified interface are cleared.
Task ID
Task ID |
Operations |
---|---|
ip-services |
execute |
Examples
The following example shows how to clear vrrp statistics:
RP/0/RP0/CPU0:router# clear vrrp statistics