System information
Configuring VRRP
13-9
interval is the advertisement time interval in seconds; valid entries are 1 to 255.
Example
This example configures the system to send VRRP advertisements every three
seconds for the virtual router on the configured interface Ethernet 1/0, if the router is
configured as the master for the virtual router 1. If not, this interval is the factor that
determines the router configured as backup for virtual router 1.
interface 1/0
ip vrrp 1 timer 3
Clearing Statistic Counters
To reset all statistic counters for all virtual routers, use the clear ip vrrp command in
any mode except User EXEC mode. This resets the statistic counters of all virtual
routers on all interfaces or on specific interfaces with a specific Virtual Router ID
(VRID).
MOT(config)#clear ip vrrp [* | ethernet <slot> {/} <port> | ethernet <slot> {/}
<port> vrid <number>]
where:
slot is the interface slot number or numbers.
port is the interface port number or numbers.
number is the VRID; valid values are 1 to 255.
Examples
The following example resets all statistic counters for all routers on all interfaces:
clear ip vrrp *
This example resets statistic counters for all virtual routers on the Ethernet
interface on slot 7, port 0:
clear ip vrrp ethernet 7/0
This example resets statistic counters for the virtual router with the VRID 5 on
the Ethernet interface on slot 7, port 0:
clear ip vrrp ethernet 7/0 vrid 5