Vrrp interface tracking configuration example, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 78

Advertising
background image

69

[RouterA-GigabitEthernet4/1/1] display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface GigabitEthernet4/1/1

VRID : 1 Adver Timer : 1

Admin Status : Up State : Master

Config Pri : 110 Running Pri : 110

Preempt Mode : Yes Delay Time : 5

Auth Type : None

Virtual IP : 202.38.160.111

Virtual MAC : 0000-5e00-0101

Master IP : 202.38.160.1

The output shows that after Router A resumes normal operation, it becomes the master, and

packets sent from Host A to Host B are forwarded by Router A.

VRRP interface tracking configuration example

Network requirements

Host A wants to access Host B on the Internet, using 202.38.160.111/24 as its default gateway.

Router A and Router B belong to VRRP group 1 with the virtual IP address of 202.38.160.111/24.

When Router A operates normally, packets sent from Host A to Host B are forwarded by Router A;
when interface GigabitEthernet 4/1/2 through which Router A connects to the internet is not
available, packets sent from Host A to Host B are forwarded by Router B.

To prevent attacks to the VRRP group from illegal users by using spoofed packets, configure the
authentication mode as plain text to authenticate the VRRP packets in VRRP group 1, and specify the

authentication key as hello.

Figure 22 Network diagram

Configuration procedure

1.

Configure Router A:

<RouterA> system-view

Advertising
This manual is related to the following products: