beautypg.com

H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 31

background image

23

[AC2-WLAN-ESS1] port hybrid vlan 2 untagged

[AC2-WLAN-ESS1] port hybrid pvid vlan 2

[AC2-WLAN-ESS1] quit

[AC2] interface vlan-interface 2

[AC2-Vlan-interface2] ip address 202.38.160.2 255.255.255.0

# Create VRRP group 1 on VLAN-interface 2 and set its virtual IP address to 202.38.160.111.

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

# 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

4.

Verify the configuration:
# Ping the host from the client. (Details not shown.)
# 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

# Display information about VRRP group 1 on AC 2.

[AC2-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 : Backup

Config Pri : 100 Running Pri : 100

Preempt Mode : Yes Delay Time : 5

Auth Type : None

Virtual IP : 202.38.160.111

Master IP : 202.38.160.1

The output shows that in VRRP group 1 AC 1 is the master, and AC 2 is the backup. AC 1 forwards
the packets that the client sends to the host.
# When AC 1 fails, verify that the client can still ping the host.
# Display information about VRRP group 1 on AC 2 is displayed.

[AC2-Vlan-interface2] display vrrp verbose

IPv4 Standby Information: