Advanced Configuration and Management Guide

Clearing VRRP or VRRPE Statistics

Use the following methods to clear VRRP or VRRPE statistics.

USING THE CLI

To clear VRRP or VRRPE statistics, enter the following command at the Privileged EXEC level or any configuration level of the CLI:

Router1(config)# clear ip vrrp-stat

Syntax: clear ip vrrp-stat

USING THE WEB MANAGEMENT INTERFACE

NOTE: This procedure applies only to VRRP. You cannot display VRRPE information using the Web management interface.

1.Log on to the device using a valid user name and password for read-write access. The System configuration dialog is displayed.

2.Click on the plus sign next to Command in the tree view to expand the list of command options.

3.Click on the Clear link to display the Clear panel.

4.Select VRRP.

5.Click the Apply button to implement the change.

Configuration Examples

The following sections contain the CLI commands and Web management options for implementing the VRRP and VRRPE configurations shown in Figure 12.2 on page 12-3and Figure 12.3 on page 12-7.

NOTE: The Web management example applies only to VRRP. You cannot configure VRRPE using the Web management interface.

VRRP Example

To implement the VRRP configuration shown in Figure 12.2 on page 12-3,use either of the following methods.

USING THE CLI

Configuring Router1 Using the CLI

To configure VRRP Router1, enter the following commands:

Router1(config)# router vrrp

Router1(config)# inter e 1/6

Router1(config-if-1/6)# ip address 192.53.5.1

Router1(config-if-1/6)# ip vrrp vrid 1

Router1(config-if-1/6-vrid-1)# owner track-priority 20

Router1(config-if-1/6-vrid-1)# track-port ethernet 2/4

Router1(config-if-1/6-vrid-1)# ip-address 192.53.5.1

Router1(config-if-1/6-vrid-1)# activate

NOTE: When you configure the Master (Owner), the address you enter with the ip-addresscommand must already be configured on the interface.

The ip vrrp owner command specifies that this router owns the IP address you are associating with the VRID. Because this router owns the IP address, this router is the default Master router and its VRRP priority is thus 255.

12 - 30