Adding a WAC Group
Context
If standalone WACs are used and deployed in hot standby (HSB) mode, member devices must be added to the site before they are managed by iMaster NCE-Campus (refer to Adding Devices for more information). In addition, you need to configure HSB using commands in advance. After the configuration is complete, add a WAC group to the site on iMaster NCE-Campus.
When deploying VRRP HSB on standalone WACs, use the direct link between the master and backup WACs as the link for VRRP packet forwarding.
Configuration Tasks
Description |
Operation Procedure |
---|---|
Configuring the HSB function |
Configure the HSB function using the CLI. For details, see Configuring HSB. |
Adding a WAC group |
Manually add member devices to a WAC group. |
Reference Links for iMaster NCE-Campus Operations
Configuring HSB
Figure 4-4 shows the data for configuring two standalone WACs to work in HSB mode.
- Configure VLANs and interface addresses for connecting WAC 1 and WAC 2 to the core switch.
# Add GE0/0/1 on WAC 1 to VLAN 100, and configure the VLANIF 100 interface.
<WAC1> system-view [WAC1] vlan batch 100 [WAC1] interface gigabitethernet 0/0/1 [WAC1-GigabitEthernet0/0/1] port link-type trunk [WAC1-GigabitEthernet0/0/1] undo port trunk allow-pass vlan 1 [WAC1-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 [WAC1-GigabitEthernet0/0/1] quit [WAC1] interface vlanif 100 [WAC1-Vlanif100] ip address 10.23.100.1 24 [WAC1-Vlanif100] quit
# Add GE0/0/1 on WAC 2 to VLAN 100 and VLAN 101, and configure VLANIF 100 and VLANIF 101 interfaces.
<WAC2> system-view [WAC2] vlan batch 100 101 [WAC2] interface gigabitethernet 0/0/1 [WAC2-GigabitEthernet0/0/1] port link-type trunk [WAC2-GigabitEthernet0/0/1] undo port trunk allow-pass vlan 1 [WAC2-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 [WAC2-GigabitEthernet0/0/1] quit [WAC2] interface vlanif 100 [WAC2-Vlanif100] ip address 10.23.100.2 24 [WAC2-Vlanif100] quit
- Configure the VLAN and interface addresses for enabling mutual communication between WAC 1 and WAC 2.
# Add GE0/0/2 that connects WAC 1 to WAC 2 to VLAN 102, and add VLAN 102 to an independent MSTP instance.
[WAC1] vlan batch 102 [WAC1] interface gigabitethernet 0/0/2 [WAC1-GigabitEthernet0/0/2] port link-type trunk [WAC1-GigabitEthernet0/0/2] undo port trunk allow-pass vlan 1 [WAC1-GigabitEthernet0/0/2] port trunk allow-pass vlan 102 [WAC1-GigabitEthernet0/0/2] quit [WAC1] interface vlanif 102 [WAC1-Vlanif102] ip address 10.23.102.1 24 [WAC1-Vlanif102] quit [WAC1] stp region-configuration [WAC1-mst-region] region-name WAC [WAC1-mst-region] instance 1 vlan 102 [WAC1-mst-region] active region-configuration [WAC1-mst-region] quit
# Add GE0/0/2 that connects WAC 2 to WAC 1 to VLAN 102, and add VLAN 102 to an independent MSTP instance.
[WAC2] vlan batch 102 [WAC2] interface gigabitethernet 0/0/2 [WAC2-GigabitEthernet0/0/2] port link-type trunk [WAC2-GigabitEthernet0/0/2] undo port trunk allow-pass vlan 1 [WAC2-GigabitEthernet0/0/2] port trunk allow-pass vlan 102 [WAC2-GigabitEthernet0/0/2] quit [WAC2] interface vlanif 102 [WAC2-Vlanif102] ip address 10.23.102.2 24 [WAC2-Vlanif102] quit [WAC2] stp region-configuration [WAC2-mst-region] region-name WAC [WAC2-mst-region] instance 1 vlan 102 [WAC2-mst-region] active region-configuration [WAC2-mst-region] quit
- Configure VRRP on WAC 1 to implement WAC HSB.
# Set the recovery delay of the VRRP group to 30 seconds.
[WAC1] vrrp recover-delay 30
# Create a management VRRP group on WAC 1. Set the priority of WAC 1 in the management VRRP group to 120 and the preemption delay to 1800 seconds.
[WAC1] interface vlanif 100 [WAC1-Vlanif100] vrrp vrid 1 virtual-ip 10.23.100.3 [WAC1-Vlanif100] vrrp vrid 1 priority 120 [WAC1-Vlanif100] vrrp vrid 1 preempt-mode timer delay 1800 [WAC1-Vlanif100] admin-vrrp vrid 1 [WAC1-Vlanif100] quit
# Create HSB service 0 on WAC 1 and configure the IP addresses and port numbers for the active and standby channels. Set the retransmission time and interval of HSB service 0.
[WAC1] hsb-service 0 [WAC1-hsb-service-0] service-ip-port local-ip 10.23.102.1 peer-ip 10.23.102.2 local-data-port 10241 peer-data-port 10241 [WAC1-hsb-service-0] service-keep-alive detect retransmit 3 interval 6 [WAC1-hsb-service-0] quit
# Create HSB group 0 on WAC 1, and bind HSB service 0 and the management VRRP group to HSB group 0.
[WAC1] hsb-group 0 [WAC1-hsb-group-0] bind-service 0 [WAC1-hsb-group-0] track vrrp vrid 1 interface vlanif 100 [WAC1-hsb-group-0] quit
# Bind the NAC service to the HSB group.
[WAC1] hsb-service-type access-user hsb-group 0
# Bind the WLAN service to the HSB group.
[WAC1] hsb-service-type ap hsb-group 0
# Enable HSB.
[WAC1] hsb-group 0 [WAC1-hsb-group-0] hsb enable [WAC1-hsb-group-0] quit
- Configure VRRP on WAC 2 to implement WAC HSB.
# Set the recovery delay of the VRRP group to 30 seconds.
[WAC2] vrrp recover-delay 30
# Create a management VRRP group on WAC 2.
[WAC2] interface vlanif 100 [WAC2-Vlanif100] vrrp vrid 1 virtual-ip 10.23.100.3 [WAC2-Vlanif100] admin-vrrp vrid 1 [WAC2-Vlanif100] quit
# Create HSB service 0 on WAC 2 and configure the IP addresses and port numbers for the active and standby channels. Set the retransmission time and interval of HSB service 0.
[WAC2] hsb-service 0 [WAC2-hsb-service-0] service-ip-port local-ip 10.23.102.2 peer-ip 10.23.102.1 local-data-port 10241 peer-data-port 10241 [WAC2-hsb-service-0] service-keep-alive detect retransmit 3 interval 6 [WAC2-hsb-service-0] quit
# Create HSB group 0 on WAC 2, and bind HSB service 0 and the management VRRP group to HSB group 0.
[WAC2] hsb-group 0 [WAC2-hsb-group-0] bind-service 0 [WAC2-hsb-group-0] track vrrp vrid 1 interface vlanif 100 [WAC2-hsb-group-0] quit
# Bind the NAC service to the HSB group.
[WAC2] hsb-service-type access-user hsb-group 0
# Bind the WLAN service to the HSB group.
[WAC2] hsb-service-type ap hsb-group 0
# Enable HSB.
[WAC2] hsb-group 0 [WAC2-hsb-group-0] hsb enable [WAC2-hsb-group-0] quit