Vrrp interface tracking configuration example, Network requirements – H3C Technologies H3C S7500E Series Switches User Manual

Page 155

Advertising
background image

10-22

Admin Status : Up State : Master

Config Pri : 100 Running Pri : 100

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.2

The above information shows that when Switch A fails, Switch B becomes the master, and

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

# After Switch A resumes normal operation, use the display vrrp verbose command to display

the detailed information of VRRP group 1 on Switch A.

[SwitchA-Vlan-interface2] display vrrp verbose

IPv4 Standby Information:

Run Mode : Standard

Run Method : Virtual MAC

Total number of virtual routers : 1

Interface Vlan-interface2

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 above information shows that after Switch A resumes normal operation, it becomes the

master, and packets sent from host A to host B are forwarded by Switch A.

VRRP Interface Tracking Configuration Example

Network requirements

z

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

gateway.

z

Switch A and Switch B belong to VRRP group 1 with the virtual IP address of

202.38.160.111/24.

z

If Switch A operates normally, packets sent from Host A to Host B are forwarded by Switch

A; if VLAN-interface 3 through which Switch A connects to the Internet is not available,

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

z

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.

Advertising
This manual is related to the following products: