H3C Technologies H3C WX3000E Series Wireless Switches User Manual

Page 34

Advertising
background image

26

# Set VLAN interface 3 on AC 1 to be tracked, and configure the amount by which the priority

value decreases to be more than 10 (30 in this example), so that when VLAN-interface 3 fails, the
priority of AC 1 in VRRP group 1 decreases to a value lower than 100 and thus AC 2 can become

the master.

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

3.

Configure AC 2:
# Configure VLAN 2.

<AC2> system-view

[AC2] vlan 2

[AC2-vlan2] quit

[AC2] interface WLAN-ESS 1

[AC2-WLAN-ESS1] port link-type hybrid

[AC2-WLAN-ESS1] undo port hybrid vlan 1

[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 a 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 the authentication mode of the VRRP group as simple and authentication key as hello.

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

# Set the interval for master to send VRRP advertisement to four seconds.

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

# Configure AC 2 to operate in preemptive mode, so that AC 2 can become the master after the
priority of AC 1 decreases to a value lower than 100. Configure the preemption delay as five

seconds to avoid frequent status switchover.

[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 : 4

Admin Status : Up State : Master

Config Pri : 110 Running Pri : 110

Preempt Mode : Yes Delay Time : 5

Auth Type : Simple Key : hello

Virtual IP : 202.38.160.111

Virtual MAC : 0000-5e00-0101

Master IP : 202.38.160.1

VRRP Track Information:

Track Interface: Vlan3 State : Up Pri Reduced : 30

Advertising