658CHAPTER 46: CONFIGURING VRRP

Table 710 Display and Debug VRRP

Operation

Command

 

 

Display VRRP State Information

display vrrp

 

 

Enable the debugging of VRRP

debugging vrrp { packet state }

VRRP Configuration

This section describes several different configurations of VRRP with a suggested

Examples

procedure for each configuration

 

VRRP Single Standby

Host A uses the VRRP standby group which combines router A and router B as its

Group

default gateway to visit host B on the Internet.

 

 

A VRRP standby group consists of the following parts: standby group number1,

 

virtual IP address 202.38.160.111, router A as the MASTER and router B as the

 

backup with preemption aII. Networking diagram

 

Figure 209 VRRP application illustration

 

 

 

Host B

 

 

 

10.2.3.1

 

 

 

Internet

 

 

Router A

Visual IP address

Router B

 

202.38.160.111

 

202.38.160.1

202.38.160.2

 

 

 

 

Host A

 

 

 

202.38.160.3

 

1

Configure router A:

 

 

[Router-Ethernet0]vrrp vrid 1 virtual-ip 202.38.160.111

[Router-Ethernet0]vrrp vrid 1 priority 120

2Configure router B:

[Router-Ethernet0]vrrp vrid 1 virtual-ip 202.38.160.111

The standby group can be used immediately after configuration. The default gateway of host A can be set as 202.38.160.111.

Under normal conditions, router A functions as the gateway, but when router A is turned off or malfunctioning, router B will function as the gateway instead.

The configuration of preemption mode is aimed for router A to resume its gateway function as the master when it recovers.

Page 662
Image 662
3Com 10014299 manual Vrrp Configuration, Procedure for each configuration, Vrrp Single Standby, Group