Example for Configuring Smart Roaming
Networking Requirements
To ensure optimal user experience, a stadium requires that users associate with the nearest APs when moving on the stadium stand. Furthermore, users' services are not affected during roaming in the coverage area.
Data Planning
Item |
Data |
---|---|
RRM profile |
|
2G radio profile |
|
5G radio profile |
|
Configuration Roadmap
Configure smart roaming and adjust smart roaming parameters to steer STAs (especially sticky STAs) to reconnect or roam to APs with strong signals.
Some STAs on live networks have low roaming aggressiveness. As a result, they stick to the initially connected APs regardless of whether they move far from the APs, and have weak signals or low rates. The STAs fail to roam to neighbor APs with better signals. They are called sticky STAs.
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.
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.
Procedure
- Check the basic configuration of the WLAN.
Check Item
Command
Data
Check the AP group to which an AP belongs.
display ap all
AP group: ap-group1
Check all profiles referenced by the AP group.
display ap-group name ap-group1
VAP profile: wlan-net
Check all profiles referenced by the VAP profile.
display vap-profile name wlan-net
SSID profile: wlan-net
- Configure smart roaming.
# Create the RRM profile wlan-rrm, enable smart roaming in the RRM profile, configure SNR-based roaming trigger mode and roaming threshold to 15 dB.
<AC> system-view [AC] wlan [AC-wlan-view] rrm-profile name wlan-rrm [AC-wlan-rrm-prof-wlan-rrm] undo smart-roam disable [AC-wlan-rrm-prof-wlan-rrm] smart-roam roam-threshold check-snr [AC-wlan-rrm-prof-wlan-rrm] smart-roam roam-threshold snr 15 [AC-wlan-rrm-prof-wlan-rrm] quit
# Create the 2G radio profile wlan-radio2g and bind the RRM profile wlan-rrm to the 2G radio profile.
[AC-wlan-view] radio-2g-profile name wlan-radio2g [AC-wlan-radio-2g-prof-wlan-radio2g] rrm-profile wlan-rrm [AC-wlan-radio-2g-prof-wlan-radio2g] quit
# Create the 5G radio profile wlan-radio5g and bind the RRM profile wlan-rrm to the 5G radio profile.
[AC-wlan-view] radio-5g-profile name wlan-radio5g [AC-wlan-radio-5g-prof-wlan-radio5g] rrm-profile wlan-rrm [AC-wlan-radio-5g-prof-wlan-radio5g] quit
# Bind the 5G radio profile wlan-radio5g and 2G radio profile wlan-radio2g to the AP group ap-group1.
[AC-wlan-view] ap-group name ap-group1 [AC-wlan-ap-group-ap-group1] radio-5g-profile wlan-radio5g radio 1 [AC-wlan-ap-group-ap-group1] radio-2g-profile wlan-radio2g radio 0 [AC-wlan-ap-group-ap-group1] quit
- Verify the configuration.
# Run the display rrm-profile name wlan-rrm command on the AC to check the smart roaming configuration.
[AC-wlan-view] display rrm-profile name wlan-rrm ------------------------------------------------------------ ... Smart-roam : enable ... Smart-roam check SNR : enable ... Smart-roam standing SNR threshold(dB) : 15 ... ------------------------------------------------------------
# When a large number of users in the stadium access the WLAN, they can still enjoy good Internet experience.
Configuration Files
AC configuration file
# sysname AC # wlan rrm-profile name wlan-rrm smart-roam roam-threshold check-snr smart-roam roam-threshold snr 15 radio-2g-profile name wlan-radio2g rrm-profile wlan-rrm radio-5g-profile name wlan-radio5g rrm-profile wlan-rrm ap-group name ap-group1 radio 0 radio-2g-profile wlan-radio2g vap-profile wlan-net wlan 1 radio 1 radio-5g-profile wlan-radio5g vap-profile wlan-net wlan 1 # return