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

Page 32

Advertising
background image

24

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 : 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 output shows that when AC 1 fails, AC 2 becomes the master, and AC 2 forwards the packets
that the client sends to the host.
# After AC 1 resumes normal operation, display information about VRRP group 1 on AC 1.

[AC1-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 output shows that after AC 1 resumes normal operation, it becomes the master, and AC 1

forwards the packets that the client sends to the host.

VRRP interface tracking configuration example

Network requirements

The client wants to access the host on the Internet, using 202.38.160.111/24 as its default gateway.

AC 1 and AC 2 belong to VRRP group 1 with the virtual IP address of 202.38.160.111/24.

When AC 1 operates properly, AC 1 forwards the packets that the client sends to the host. If

VLAN-interface 3 that AC 1 uses to connect to the Internet is not available, AC 2 will forward the
packets that the client sends to the host.

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