beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 52

background image

44

[AC1-nqa-admin-test-icmp-echo] reaction 1 checked-element probe-fail threshold-type

consecutive 5 action-type trigger-only

[AC1-nqa-admin-test-icmp-echo] quit

# Start the NQA test.

[AC1] nqa schedule admin test start-time now lifetime forever

3.

Configure a track entry on AC 1:
# Configure track entry 1, and associate it with reaction entry 1 of the NQA test group (with the
administrator admin, and the operation tag test).

[AC1] track 1 nqa entry admin test reaction 1

4.

Configure VRRP on AC 1:
# Create VRRP group 1, and configure the virtual IP address 10.1.1.10 for the group.

[AC1] interface vlan-interface 2

[AC1-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.10

# Set the priority of AC 1 in VRRP group 1 to 110.

[AC1-Vlan-interface2] vrrp vrid 1 priority 110

# Set the authentication mode of VRRP group 1 to simple, and the authentication key to hello.

[AC1-Vlan-interface2] vrrp vrid 1 authentication-mode simple hello

# Configure the master to send VRRP packets at an interval of five seconds.

[AC1-Vlan-interface2] vrrp vrid 1 timer advertise 5

# Configure AC 1 to operate in preemptive mode, and set the preemption delay to five seconds.

[AC1-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5

# Configure to monitor track entry 1 and specify the priority decrement to 30.

[AC1-Vlan-interface2] vrrp vrid 1 track 1 reduced 30

5.

Configure VRRP on AC 2:

system-view

[AC2] interface vlan-interface 2

# Create VRRP group 1, and configure the virtual IP address 10.1.1.10 for the group.

[AC2-Vlan-interface2] vrrp vrid 1 virtual-ip 10.1.1.10

# Set the authentication mode of VRRP group 1 to simple, and the authentication key to hello.

[AC2-Vlan-interface2] vrrp vrid 1 authentication-mode simple hello

# Configure the master to send VRRP packets at an interval of five seconds.

[AC2-Vlan-interface2] vrrp vrid 1 timer advertise 5

# Configure AC 2 to operate in preemptive mode, and set the preemption delay to five seconds.

[AC2-Vlan-interface2] vrrp vrid 1 preempt-mode timer delay 5

6.

Verify the configuration:
After configuration, ping Host on Client, and you can see that Host is reachable. Use the display
vrrp command to view the configuration result.
# Display detailed 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 : 5