Example for Configuring Wireless Configuration Synchronization in VRRP HSB Scenarios
Service Requirements
To ensure that services are running normally, an enterprise wants to improve network reliability while reducing the configuration maintenance workload. Wireless configuration synchronization can be deployed in VRRP HSB to meet this requirement. In this solution, the master and backup ACs are often deployed in the same location, and the service switchover is fast and has higher reliability than dual-link HSB.
Networking Requirements
- AC networking mode: Layer 2 bypass mode
- DHCP deployment mode: The AC functions as a DHCP server to assign IP addresses to APs and STAs.
- Service data forwarding mode: direct forwarding
- Switch cluster: A cluster is set up using a CSS card, containing SwitchB and SwitchC at the core layer. SwitchB is the active switch and SwitchC is the standby switch.
Data Planning
Item |
Data |
---|---|
AC1's source interface |
Virtual IP address: 10.23.100.3/24 |
AC2's source interface |
Virtual IP address: 10.23.100.3/24 |
Virtual IP address of the management VRRP group |
10.23.100.3/24 |
Virtual IP address of the service VRRP group |
10.23.101.3/24 |
VAP profile |
|
AP group |
|
Regulatory domain profile |
|
SSID profile |
|
Security profile |
|
DHCP server |
The AC functions as a DHCP server to assign IP addresses to APs and STAs. |
APs' gateway |
VLANIF 100: 10.23.100.3/24 |
IP address pool for APs |
10.23.100.4 to 10.23.100.254/24 |
STAs' gateway |
VLANIF 101: 10.23.101.3/24 |
IP address pool for STAs |
10.23.101.4 to 10.23.101.254/24 |
IP addresses and port numbers for the active and standby channels of AC1 |
IP address of VLANIF 102: 10.23.102.1/24 Port number: 10241 |
IP addresses and port numbers for the active and standby channels of AC2 |
IP address of VLANIF 102: 10.23.102.2/24 Port number: 10241 |
Scheduled wireless configuration synchronization |
Start time of scheduled synchronization: 01:00 Interval for scheduled synchronization: 1440 minutes |
Configuration Roadmap
- Configure a cluster between SwitchB and SwitchC through cluster cards to improve core layer reliability and configure SwitchB as the master switch.
- Configure network connectivity between SwitchA, SwitchB, and SwitchC.
- Configure AC1 based on the configuration wizard. VRRP HSB and wireless configuration synchronization are both configured based on the configuration wizard.
- Configure APs to go online and basic WLAN services on AC1.
- Configure AC2 based on the configuration wizard.
- Trigger wireless configuration synchronization on AC1.
Configuration Notes
- No ACK mechanism is provided for multicast packet transmission on air interfaces. In addition, wireless links are unstable. To ensure stable transmission of multicast packets, they are usually sent at low rates. If a large number of such multicast packets are sent from the network side, the air interfaces may be congested. You are advised to configure multicast packet suppression to reduce impact of a large number of low-rate multicast packets on the wireless network. Exercise caution when configuring the rate limit; otherwise, the multicast services may be affected.
- In direct forwarding mode, you are advised to configure multicast packet suppression on switch interfaces connected to APs.
- In tunnel forwarding mode, you are advised to configure multicast packet suppression in traffic profiles of the AC.
Configure port isolation on the interfaces of the device directly connected to APs. If port isolation is not configured and direct forwarding is used, a large number of unnecessary broadcast packets may be generated in the VLAN, blocking the network and degrading user experience.
In tunnel forwarding mode, the management VLAN and service VLAN cannot be the same. Only packets from the management VLAN are transmitted between the AC and APs. Packets from the service VLAN are not allowed between the AC and APs.
- Check whether loops occur on the wired network. If loops occur, configure MSTP on corresponding NEs.
- In the VRRP HSB networking, the configurations of the DHCP address pools on the master and backup ACs must be consistent. For example, the ranges of IP addresses that cannot be automatically assigned to clients in the DHCP address pools must be consistent.
Procedure
- Establish a cluster using CSS card.
# Set the CSS ID, CSS priority, and CSS connection mode to 1, 100, and CSS card connection for SwitchB.
<HUAWEI> system-view [HUAWEI] sysname SwitchB [SwitchB] set css mode css-card [SwitchB] set css id 1 [SwitchB] set css priority 100
# Set the CSS ID, CSS priority, and CSS connection mode to 2, 10, and CSS card connection for SwitchC.
<HUAWEI> system-view [HUAWEI] sysname SwitchC [SwitchC] set css mode css-card [SwitchC] set css id 2 [SwitchC] set css priority 10
# Check the CSS configuration on SwitchB.
[SwitchB] display css status saved Current Id Saved Id CSS Enable CSS Mode Priority Master force ------------------------------------------------------------------------------ 1 1 Off CSS card 100 Off
# Check the CSS configuration on SwitchC.
[SwitchC] display css status saved Current Id Saved Id CSS Enable CSS Mode Priority Master force ------------------------------------------------------------------------------ 1 2 Off CSS card 10 Off
# Enable the CSS function on SwitchB and restart SwitchB.
[SwitchB] css enable Warning: The CSS configuration will take effect only after the system is rebooted. T he next CSS mode is CSS card. Reboot now? [Y/N]:y
# Enable the CSS function on SwitchC and restart SwitchC.
[SwitchC] css enable Warning: The CSS configuration will take effect only after the system is rebooted. T he next CSS mode is CSS card. Reboot now? [Y/N]:y
# Log in to the CSS through the console port on any MPU to check whether the CSS is established successfully.
<SwitchB> display device Chassis 1 (Master Switch) S12708's Device status: Slot Sub Type Online Power Register Status Role ------------------------------------------------------------------------------- 1 - ET1D2SFUD000 Present PowerOn Registered Normal NA 1 EH1D2VS08000 Present PowerOn Registered Normal NA 5 - ET1D2G48SEC0 Present PowerOn Registered Normal NA 7 - ET1D2X16SSC0 Present PowerOn Registered Normal NA 9 - ET1D2MPUA000 Present PowerOn Registered Normal Slave 10 - ET1D2MPUA000 Present PowerOn Registered Normal Master 12 - ET1D2SFUD000 Present PowerOn Registered Normal NA 1 EH1D2VS08000 Present PowerOn Registered Normal NA 13 - ET1D2SFUD000 Present PowerOn Registered Normal NA 1 EH1D2VS08000 Present PowerOn Registered Normal NA 14 - ET1D2SFUD000 Present PowerOn Registered Normal NA 1 EH1D2VS08000 Present PowerOn Registered Normal NA PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present PowerOn Registered Normal NA CMU2 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Normal NA FAN2 - - Present PowerOn Registered Normal NA FAN3 - - Present PowerOn Registered Normal NA FAN4 - - Present PowerOn Registered Normal NA Chassis 2 (Standby Switch) S12708's Device status: Slot Sub Type Online Power Register Status Role ------------------------------------------------------------------------------- 1 - ET1D2SFUD000 Present PowerOn Registered Normal NA 1 EH1D2VS08000 Present PowerOn Registered Normal NA 3 - ET1D2G48SEC0 Present PowerOn Registered Normal NA 4 - ET1D2X16SSC0 Present PowerOn Registered Normal NA 9 - ET1D2MPUA000 Present PowerOn Registered Normal Slave 10 - ET1D2MPUA000 Present PowerOn Registered Normal Master 12 - ET1D2SFUD000 Present PowerOn Registered Normal NA 1 EH1D2VS08000 Present PowerOn Registered Normal NA 13 - ET1D2SFUD000 Present PowerOn Registered Normal NA 1 EH1D2VS08000 Present PowerOn Registered Normal NA 14 - ET1D2SFUD000 Present PowerOn Registered Normal NA 1 EH1D2VS08000 Present PowerOn Registered Normal NA PWR1 - - Present PowerOn Registered Normal NA PWR2 - - Present PowerOn Registered Normal NA CMU1 - EH1D200CMU00 Present PowerOn Registered Normal Master FAN1 - - Present PowerOn Registered Normal NA FAN2 - - Present PowerOn Registered Normal NA FAN3 - - Present PowerOn Registered Normal NA FAN4 - - Present PowerOn Registered Normal NA <SwitchB> display css status CSS Enable switch On Chassis Id CSS Enable CSS Status CSS Mode Priority Master Force ------------------------------------------------------------------------------ 1 On Master CSS card 100 Off 2 On Standby CSS card 10 Off
The command output shows the card status and CSS status of both member switches, indicating that the CSS is established successfully.
# Check whether the cluster links are normal.
<SwitchB> display css channel Chassis 1 || Chassis 2 -------------------------------------------------------------------------------- Num [Port] [Speed] || [Speed] [Port] 1 1/1/0/1 10G 10G 2/1/0/1 2 1/1/0/2 10G 10G 2/1/0/2 3 1/1/0/3 10G 10G 2/1/0/3 4 1/1/0/4 10G 10G 2/1/0/4 5 1/1/0/5 10G 10G 2/1/0/5 6 1/1/0/6 10G 10G 2/1/0/6 7 1/1/0/7 10G 10G 2/1/0/7 8 1/1/0/8 10G 10G 2/1/0/8 9 1/12/0/1 10G 10G 2/12/0/1 10 1/12/0/2 10G 10G 2/12/0/2 11 1/12/0/3 10G 10G 2/12/0/3 12 1/12/0/4 10G 10G 2/12/0/4 13 1/12/0/5 10G 10G 2/12/0/5 14 1/12/0/6 10G 10G 2/12/0/6 15 1/12/0/7 10G 10G 2/12/0/7 16 1/12/0/8 10G 10G 2/12/0/8 17 1/13/0/1 10G 10G 2/13/0/1 18 1/13/0/2 10G 10G 2/13/0/2 19 1/13/0/3 10G 10G 2/13/0/3 20 1/13/0/4 10G 10G 2/13/0/4 21 1/13/0/5 10G 10G 2/13/0/5 22 1/13/0/6 10G 10G 2/13/0/6 23 1/13/0/7 10G 10G 2/13/0/7 24 1/13/0/8 10G 10G 2/13/0/8 25 1/14/0/1 10G 10G 2/14/0/1 26 1/14/0/2 10G 10G 2/14/0/2 27 1/14/0/3 10G 10G 2/14/0/3 28 1/14/0/4 10G 10G 2/14/0/4 29 1/14/0/5 10G 10G 2/14/0/5 30 1/14/0/6 10G 10G 2/14/0/6 31 1/14/0/7 10G 10G 2/14/0/7 32 1/14/0/8 10G 10G 2/14/0/8 --------------------------------------------------------------------------------
The command output shows that all the cluster links are in Up state, indicating that the CSS has been established successfully.
- Configure SwitchA, SwitchB, and SwitchC so that the AC and APs can transmit CAPWAP packets.
If direct forwarding is used, configure port isolation on GE0/0/1 of SwitchA connected to the AP. If port isolation is not configured, many broadcast packets will be transmitted in the VLANs or WLAN users on different APs can directly communicate at Layer 2.
# On SwitchA, set the PVID of GE0/0/1 connected to the AP to management VLAN 100, add GE0/0/1 to VLAN 100 amd VLAN 101 (service VLAN), and add GE0/0/2 connected to SwitchB and GE0/0/3 connected to SwitchC to Eth-Trunk 10.
<HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] vlan batch 100 101 [SwitchA] interface gigabitethernet 0/0/1 [SwitchA-GigabitEthernet0/0/1] port link-type trunk [SwitchA-GigabitEthernet0/0/1] port trunk pvid vlan 100 [SwitchA-GigabitEthernet0/0/1] undo port trunk allow-pass vlan 1 [SwitchA-GigabitEthernet0/0/1] port trunk allow-pass vlan 100 101 [SwitchA-GigabitEthernet0/0/1] port-isolate enable [SwitchA-GigabitEthernet0/0/1] quit [SwitchA] interface eth-trunk 10 [SwitchA-Eth-Trunk10] port link-type trunk [SwitchA-Eth-Trunk10] undo port trunk allow-pass vlan 1 [SwitchA-Eth-Trunk10] port trunk allow-pass vlan 100 101 [SwitchA-Eth-Trunk10] quit [SwitchA] interface gigabitethernet 0/0/2 [SwitchA-GigabitEthernet0/0/2] undo port link-type [SwitchA-GigabitEthernet0/0/2] eth-trunk 10 [SwitchA-GigabitEthernet0/0/2] quit [SwitchA] interface gigabitethernet 0/0/3 [SwitchA-GigabitEthernet0/0/3] undo port link-type [SwitchA-GigabitEthernet0/0/3] eth-trunk 10 [SwitchA-GigabitEthernet0/0/3] quit
# Add GE1/1/0/2 on SwitchB and GE2/1/0/2 on SwitchC to Eth-Trunk 10, and add E1/1/0/1 on SwitchB and GE2/1/0/1 on SwitchC both to VLANs 100 and 101.
[SwitchB] sysname CSS [CSS] vlan batch 100 101 [CSS] interface gigabitethernet 1/1/0/1 [CSS-GigabitEthernet1/1/0/1] port link-type trunk [CSS-GigabitEthernet1/1/0/1] undo port trunk allow-pass vlan 1 [CSS-GigabitEthernet1/1/0/1] port trunk allow-pass vlan 100 101 [CSS-GigabitEthernet1/1/0/1] quit [CSS] interface gigabitethernet 2/1/0/1 [CSS-GigabitEthernet2/1/0/1] port link-type trunk [CSS-GigabitEthernet2/1/0/1] undo port trunk allow-pass vlan 1 [CSS-GigabitEthernet2/1/0/1] port trunk allow-pass vlan 100 101 [CSS-GigabitEthernet2/1/0/1] quit [CSS] interface eth-trunk 10 [CSS-Eth-Trunk10] port link-type trunk [CSS-Eth-Trunk10] undo port trunk allow-pass vlan 1 [CSS-Eth-Trunk10] port trunk allow-pass vlan 100 101 [CSS-Eth-Trunk10] quit [CSS] interface gigabitethernet 1/1/0/2 [CSS-GigabitEthernet1/1/0/2] undo port link-type [CSS-GigabitEthernet1/1/0/2] eth-trunk 10 [CSS-GigabitEthernet1/1/0/2] quit [CSS] interface gigabitethernet 2/1/0/2 [CSS-GigabitEthernet2/1/0/2] undo port link-type [CSS-GigabitEthernet2/1/0/2] eth-trunk 10 [CSS-GigabitEthernet2/1/0/2] quit
- Configure AC1.
- Configure APs connected to AC1.
- Configure basic WLAN services on AC1.
- Configure AC2.
- Trigger wireless configuration synchronization manually on AC1.
# Choose Wireless Configuration Synchronization Information page is displayed. Set Auto refresh to ON.
. The# Click Manual synchronization under Operation. In the Confirm dialog box that is displayed, click OK. AC2 restarts automatically.
- Verify the configuration.
# After AC2 restarts, check the configuration synchronization state on AC1. If Configuration Synchronization State is Synchronization success, wireless configuration synchronization succeeds.
# STAs associated with the AP can find the SSID wlan-net and connect to the WLAN.
# If the link between the AP and AC1 is disconnected, AC2 becomes the active AC, ensuring user service continuity.