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 networking in bypass mode
- DHCP deployment mode: The AC functions as a DHCP server to assign IP addresses to APs, and a CSS functions as a DHCP server to assign IP addresses to STAs.
- Service data forwarding mode: direct forwarding
- Switch cluster: A cluster is set up using CSS cards, containing SwitchB and SwitchC at the core layer. SwitchB is the master 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 |
VAP profile |
|
AP group |
|
Regulatory domain profile |
|
SSID profile |
|
Security profile |
|
DHCP server |
The AC functions as the DHCP server to assign IP addresses to APs, and a CSS functions as the DHCP server to assign IP addresses to STAs. |
Gateway for APs |
VLANIF 100: 10.23.100.3/24 |
IP address pool for APs |
10.23.100.4-10.23.100.254/24 |
Gateway for STAs |
VLANIF 101: 10.23.101.1/24 |
IP address pool for STAs |
10.23.101.2-10.23.101.254/24 |
IP address and port number of the HSB channel for AC1 |
IP address: 10.23.102.1/24 of VLANIF 102 Port number: 10241 |
IP address and port number of the HSB channel for AC2 |
IP address: 10.23.102.2/24 of VLANIF 102 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 the core layer reliability and configure SwitchB as the master switch.
- Configure SwitchA, SwitchB, and SwitchC to communicate with each other.
- Configure AC1 based on the configuration wizard. VRRP HSB and wireless configuration synchronization are both configured following the configuration wizard.
- Configure APs to go online and basic WLAN services on AC1.
- Configure AC2 following the configuration wizard.
- Trigger wireless configuration synchronization manually 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.
- During the configuration, check whether loops occur on the wired network. If so, 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 to ensure that APs and ACs can exchange 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 VLAN 100.
[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 [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 [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 a DHCP server.# Configure the CSS as a DHCP server to assign IP addresses to STAs.
[CSS] dhcp enable [CSS] interface vlanif 101 [CSS-Vlanif101] ip address 10.23.101.1 24 [CSS-Vlanif101] dhcp select interface [CSS-Vlanif101] 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 status on AC1. If Configuration Synchronization State is Synchronization success, the wireless configuration synchronization function is normal.
# The WLAN with SSID wlan-net is available for STAs connected to the AP, and these STAs can connect to the WLAN and go online normally.
# Simulate a master AC fault by restarting the master AC to verify the backup configuration. Restart AC1. When an AP detects a fault on the link connected to AC1, AC2 takes the active role, ensuring service stability.Before restarting the AC, click Save in the upper right corner of the web page to save the configuration file on the AC to prevent configuration loss after the restart.
# During the restart of AC1, services on the STAs are not interrupted. The AP goes online on AC2. On AC2, choose
. It is found that the AP status changes from standby to normal.# After AC1 recovers from the restart, an active/standby switchback is triggered. The AP automatically goes online on AC1.