H3C Technologies H3C WX3000E Series Wireless Switches User Manual
Page 37
29
[AC1-Vlan-interface2] ip address 202.38.160.1 255.255.255.128
# Create a VRRP group 1 on VLAN-interface 2 and set its virtual IP address to 202.38.160.100.
[AC1-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.100
# Configure the priority of AC 1 in VRRP group 1 as 110, which is higher than that of AC 2 (100),
so that AC 1 can become the master in VRRP group 1.
[AC1-Vlan-interface2] vrrp vrid 1 priority 110
[AC1-Vlan-interface2] quit
# Configure VLAN 3.
[AC1] vlan 3
[AC1-vlan3] quit
[AC1] interface WLAN-ESS 2
[AC1-WLAN-ESS2] port link-type hybrid
[AC1-WLAN-ESS2] undo port hybrid vlan 1
[AC1-WLAN-ESS2] port hybrid vlan 3 untagged
[AC1-WLAN-ESS2] port hybrid pvid vlan 3
[AC1-WLAN-ESS2] quit
[AC1] interface vlan-interface 3
[AC1-Vlan-interface3] ip address 202.38.160.130 255.255.255.128
# Create a VRRP group 2 and set its virtual IP address to 202.38.160.200.
[AC1-Vlan-interface3] vrrp vrid 2 virtual-ip 202.38.160.200
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.128
# Create a VRRP group 1 on VLAN-interface 2 and set its virtual IP address to 202.38.160.100.
[AC2-Vlan-interface2] vrrp vrid 1 virtual-ip 202.38.160.100
[AC2-Vlan-interface2] quit
# Configure VLAN 3.
[AC2] vlan 3
[AC2] interface WLAN-ESS 2
[AC2-WLAN-ESS2] port link-type hybrid
[AC2-WLAN-ESS2] undo port hybrid vlan 1
[AC2-WLAN-ESS2] port hybrid vlan 3 untagged
[AC2-WLAN-ESS2] port hybrid pvid vlan 3
[AC2-WLAN-ESS2] quit
[AC2] interface vlan-interface 3
[AC2-Vlan-interface3] ip address 202.38.160.131 255.255.255.128