AP RF tuning networking diagram
Introduction to RF tuning
- The main function of RF tuning is to dynamically adjust the channel and power of the AP, which can keep the channel and power of each AP managed by the same AC relatively balanced and ensure that the AP works in the best state. In WLAN network, the working state of AP will be affected by the surrounding environment. For example, for multiple APS under the management of an AC, if the working channels of adjacent APS have overlapping frequency bands, or the power of an AP is too large to cause signal interference to adjacent APS, the RF tuning function can be configured on the AC.
Common scenarios for RF tuning:
- When users start a new game, they can use the RF tuning function to automatically select the best channel.
- If a new AP joins the network or the network environment changes, the user can regularly adjust the channel and power of the AP to ensure that the AP works in the best state.
Networking requirements
- As shown in Figure 1, multiple AP S are deployed in the office building through the access Switch_A is connected with AC to provide wireless services for users.
- Due to the large number of APS, it will be very cumbersome to manually configure RF parameters such as channels one by one. The customer's IT department hopes that AC can automatically allocate channels for APS according to the wireless network environment, so as to improve the convenience of network deployment.
Configuration ideas
Use the following ideas to configure RF tuning:
- 1. Configure AP, AC and upper network equipment to realize network interworking.
- 2. Configure AC as DHCP server to assign IP addresses to STA and AP.
- 3. Configure VLAN pool as service VLAN.
- 4. Configure AP online.
- a. Create an AP group, which is used to add APS that need the same configuration to the AP group to realize unified configuration.
- b. Configure the system parameters of AC, including country code and source interface of communication between AC and AP.
- c. Configure the authentication mode of the AP online and import the AP offline to realize the normal online of the AP.
- 5. Configure WLAN service parameters to realize the function of STA accessing WLAN network.
- 6. Configure RF tuning function and automatically allocate the best working channel for AP through AC.
Operation steps
- The first mock exam is to configure NAC mode on AC (default value, no configuration) on 1.. Configure SwitchA and AC so that CAPWAP messages can be transmitted between AP and AC.
# configure SwitchA and add interfaces GE0/0/1, GE0/0/2 and GE0/0/3 to VLAN100 (Management VLAN).
<HUAWEI> system-view [HUAWEI] sysname SwitchA [SwitchA] vlan batch 100 [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] port trunk allow-pass vlan 100 [SwitchA-GigabitEthernet0/0/1] undo port trunk allow-pass vlan 1 [SwitchA-GigabitEthernet0/0/1] stp edged-port enable [SwitchA-GigabitEthernet0/0/1] port-isolate enable [SwitchA-GigabitEthernet0/0/1] quit [SwitchA] interface gigabitethernet 0/0/2 [SwitchA-GigabitEthernet0/0/2] port link-type trunk [SwitchA-GigabitEthernet0/0/2] port trunk pvid vlan 100 [SwitchA-GigabitEthernet0/0/2] port trunk allow-pass vlan 100 [SwitchA-GigabitEthernet0/0/2] undo port trunk allow-pass vlan 1 [SwitchA-GigabitEthernet0/0/2] stp edged-port enable [SwitchA-GigabitEthernet0/0/3] port-isolate enable [SwitchA-GigabitEthernet0/0/2] quit [SwitchA] interface gigabitethernet 0/0/3 [SwitchA-GigabitEthernet0/0/3] port link-type trunk [SwitchA-GigabitEthernet0/0/3] port trunk pvid vlan 100 [SwitchA-GigabitEthernet0/0/3] port trunk allow-pass vlan 100 [SwitchA-GigabitEthernet0/0/3] undo port trunk allow-pass vlan 1 [SwitchA-GigabitEthernet0/0/3] stp edged-port enable [SwitchA-GigabitEthernet0/0/3] port-isolate enable [SwitchA-GigabitEthernet0/0/3] quit
# configure the interface GE0/0/4 between SwitchA and AC to join VLAN100.
[SwitchA] interface gigabitethernet 0/0/4 [SwitchA-GigabitEthernet0/0/4] port link-type trunk [SwitchA-GigabitEthernet0/0/4] port trunk allow-pass vlan 100 [SwitchA-GigabitEthernet0/0/4] undo port trunk allow-pass vlan 1 [SwitchA-GigabitEthernet0/0/4] quit
# configure the interface GE1/0/1 of AC connection SwitchA to join VLAN100.
[HUAWEI] sysname AC [AC] vlan batch 100 101 [AC] interface gigabitethernet 1/0/1 [AC-GigabitEthernet1/0/1] port link-type trunk [AC-GigabitEthernet1/0/1] port trunk allow-pass vlan 100 [AC-GigabitEthernet1/0/1] undo port trunk allow-pass vlan 1 [AC-GigabitEthernet1/0/1] quit
- 2. Configure AC to interworking with upper network equipment
# configure AC uplink interface GE1/0/2 to join VLAN101 (service VLAN).
[AC] interface gigabitethernet 1/0/2 [AC-GigabitEthernet1/0/2] port link-type trunk [AC-GigabitEthernet1/0/2] port trunk allow-pass vlan 101 [AC-GigabitEthernet1/0/2] undo port trunk allow-pass vlan 1 [AC-GigabitEthernet1/0/2] quit
- 3. Configure AC as DHCP server and assign IP addresses to STA and AP
# configure DHCP server based on interface address pool, where VLANIF100 interface provides IP address for AP and VLANIF101 provides IP address for STA.
explain:
Please configure the DNS server address according to the actual needs. Common configuration methods are as follows:
• in the interface address pool scenario, you need to execute the command DHCP server DNS list IP address IP in the VLANIF interface view.
• in the global address pool scenario, you need to execute the command DNS list IP address IP in the IP address pool view.
[AC] dhcp enable //Enable DHCP function [AC] interface vlanif 100 [AC-Vlanif100] ip address 10.23.100.1 24 [AC-Vlanif100] dhcp select interface //Configure interface based address pool [AC-Vlanif100] quit [AC] interface vlanif 101 [AC-Vlanif101] ip address 10.23.101.1 24 [AC-Vlanif101] dhcp select interface [AC-Vlanif101] quit
- 4. Configure AP Online
# create an AP group, which is used to add APS with the same configuration to the same AP group.
[AC] wlan [AC-wlan-view] ap-group name ap-group1 [AC-wlan-ap-group-ap-group1] quit
# create a domain management template, configure the country code of AC under the domain management template, and reference the domain management template under the AP group.
[AC-wlan-view] regulatory-domain-profile name domain1 [AC-wlan-regulate-domain-domain1] country-code cn [AC-wlan-regulate-domain-domain1] quit [AC-wlan-view] ap-group name ap-group1 [AC-wlan-ap-group-ap-group1] regulatory-domain-profile domain1 Warning: Modifying the country code will clear channel, power and antenna gain configurations of the radio and reset the AP. Continu e?[Y/N]:y [AC-wlan-ap-group-ap-group1] quit [AC-wlan-view] quit
# configure the source interface of AC.
[AC] capwap source interface vlanif 100
# import AP offline on AC and save area_1 and area_2 join AP group "ap-group1". Assume that the MAC address of the AP is 60de-4476-e360, and configure the name for the AP according to the deployment location of the AP, so that you can know the deployment location of the AP from the name. For example, an AP with a MAC address of 60de-4476-e360 is deployed in area 1, and the AP is named area_1.
explain:
The AP auth mode command is MAC authentication by default. If the default configuration has not been modified before, you can not execute AP auth mode MAC auth.
The AP used in the example is AP6010DN-AGN, with RF 0 and RF 1. The RF 0 of AP6010DN-AGN is 2.4GHz RF and RF 1 is 5GHz RF.
[AC] wlan [AC-wlan-view] ap auth-mode mac-auth [AC-wlan-view] ap-id 0 ap-mac 60de-4476-e360 [AC-wlan-ap-0] ap-name area_1 [AC-wlan-ap-0] ap-group ap-group1 Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:y [AC-wlan-ap-0] quit [AC-wlan-view] ap-id 1 ap-mac dcd2-fc04-b500 [AC-wlan-ap-1] ap-name area_2 [AC-wlan-ap-1] ap-group ap-group1 Warning: This operation may cause AP reset. If the country code changes, it will clear channel, power and antenna gain configuration s of the radio, Whether to continue? [Y/N]:y [AC-wlan-ap-1] quit
# after the AP is powered on, when you execute the command display ap all and see that the "State" field of the AP is "nor", it indicates that the AP is online normally.
[AC-wlan-view] display ap all Total AP information: nor : normal [2] --------------------------------------------------------------------------------------- ID MAC Name Group IP Type State STA Uptime --------------------------------------------------------------------------------------- 0 60de-4476-e360 area_1 ap-group1 10.23.101.253 AP6010DN-AGN nor 0 5M:2S 1 dcd2-fc04-b500 area_2 ap-group1 10.23.101.254 AP6010DN-AGN nor 0 5M:4S --------------------------------------------------------------------------------------- Total: 2
- 5. Configure WLAN service parameters
# create a security template named "WLAN security" and configure the security policy.
explain:
In the example, take the security policy of WPA2+PSK+AES as an example, and the password is "a1234567". In the actual configuration, please configure the security policy that meets the actual requirements according to the actual situation.
[AC-wlan-view] security-profile name wlan-security [AC-wlan-sec-prof-wlan-security] security wpa2 psk pass-phrase a1234567 aes //Configure the security policy as WPA2+PSK+AES [AC-wlan-sec-prof-wlan-security] quit
# create an SSID template named "WLAN SSID" and configure the SSID name to be "WLAN net".
[AC-wlan-view] ssid-profile name wlan-ssid [AC-wlan-ssid-prof-wlan-ssid] ssid wlan-net //Configure SSID name as WLAN net [AC-wlan-ssid-prof-wlan-ssid] quit
# create a VAP template named "WLAN VAP", configure the service data forwarding mode and service VLAN, and reference the security template and SSID template.
[AC-wlan-view] vap-profile name wlan-vap [AC-wlan-vap-prof-wlan-vap] forward-mode tunnel //Configure the service forwarding mode as tunnel forwarding [AC-wlan-vap-prof-wlan-vap] service-vlan vlan-id 101 //By default, VLAN ID is 1 and modified VLAN ID is 101 [AC-wlan-vap-prof-wlan-vap] security-profile wlan-security [AC-wlan-vap-prof-wlan-vap] ssid-profile wlan-ssid [AC-wlan-vap-prof-wlan-vap] quit
# configure the AP group to refer to the VAP template. Both RF 0 and RF 1 on the AP use the configuration of the VAP template "WLAN VAP".
[AC-wlan-view] ap-group name ap-group1 [AC-wlan-ap-group-ap-group1] vap-profile wlan-vap wlan 1 radio 0 [AC-wlan-ap-group-ap-group1] vap-profile wlan-vap wlan 1 radio 1 [AC-wlan-ap-group-ap-group1] quit
- 6. Configure RF tuning function
# create the RRM template "WLAN net", and enable the automatic channel selection function of channel and the automatic channel selection function of transmission power under the RRM template. By default, the automatic channel selection function and the automatic channel selection function of transmission power are enabled.
[AC-wlan-view] rrm-profile name wlan-net [AC-wlan-rrm-prof-wlan-net] undo calibrate auto-channel-select disable [AC-wlan-rrm-prof-wlan-net] undo calibrate auto-txpower-select disable [AC-wlan-rrm-prof-wlan-net] quit
# create the air interface scanning template "WLAN airscan", and configure the scanning channel set, scanning interval and scanning duration. By default, the air interface scanning channel set is all channels supported by the AP corresponding country code.
[AC-wlan-view] air-scan-profile name wlan-airscan [AC-wlan-air-scan-prof-wlan-airscan] scan-channel-set country-channel [AC-wlan-air-scan-prof-wlan-airscan] scan-period 80 [AC-wlan-air-scan-prof-wlan-airscan] scan-interval 80000 [AC-wlan-air-scan-prof-wlan-airscan] quit
# create 2G RF template "radio2g" and reference RRM template "WLAN net" and air interface scanning template "WLAN airscan" under this template.
[AC-wlan-view] radio-2g-profile name radio2g [AC-wlan-radio-2g-prof-radio2g] rrm-profile wlan-net [AC-wlan-radio-2g-prof-radio2g] air-scan-profile wlan-airscan [AC-wlan-radio-2g-prof-radio2g] quit
# create 5G RF template "radio5g" and reference RRM template "WLAN net" and air interface scanning template "WLAN airscan" under this template.
[AC-wlan-view] radio-5g-profile name radio5g [AC-wlan-radio-5g-prof-radio5g] rrm-profile wlan-net [AC-wlan-radio-5g-prof-radio5g] air-scan-profile wlan-airscan [AC-wlan-radio-5g-prof-radio5g] quit
# under the AP group named "ap-group1", reference 5G RF template "radio5g" and 2G RF template "radio2g".
[AC-wlan-view] ap-group name ap-group1 [AC-wlan-ap-group-ap-group1] radio-5g-profile radio5g [AC-wlan-ap-group-ap-group1] radio-2g-profile radio2g [AC-wlan-ap-group-ap-group1] quit
# configure the RF tuning mode as the timing mode, and the tuning time is set at 3 a.m.
[AC-wlan-view] calibrate enable schedule time 03:00:00
- 7. Submit configuration
[AC-wlan-view] commit all Warning: Committing configuration may cause service interruption, continue?[Y/N]:y
Starting from V200R011C10, WLAN configuration will be issued automatically. There is no need to execute the command commit all to submit the configuration.
- 8. Verify the configuration results
# STA searches the wireless network named "WLAN net", enters the password "a1234567" and associates it normally, and executes the command display station SSID WLAN net on the AC to see that the user has connected to the wireless network "WLAN net".
[AC-wlan-view] display station ssid wlan-net Rf/WLAN: Radio ID/WLAN ID Rx/Tx: link receive rate/link transmit rate(Mbps) ---------------------------------------------------------------------------------------- STA MAC AP ID Ap name Rf/WLAN Band Type Rx/Tx RSSI VLAN IP address ---------------------------------------------------------------------------------------- e019-1dc7-1e08 0 area_1 0/1 2.4G 11n 65/38 -29 101 10.23.101.253 b878-2eb4-2689 1 area_2 0/1 2.4G 11n 78/43 -33 101 10.23.101.254 ---------------------------------------------------------------------------------------- Total: 2 2.4G: 2 5G: 0
# execute the display radio all command on the AC to view the RF tuning effect.
[AC-wlan-view] display radio all CH/BW:Channel/Bandwidth CE:Current EIRP (dBm) ME:Max EIRP (dBm) CU:Channel utilization ST:Status ---------------------------------------------------------------------- AP ID Name RfID Band Type ST CH/BW CE/ME STA CU ---------------------------------------------------------------------- 1 area_2 0 2.4G bgn on 1/20M 28/28 1 10% 1 area_2 1 5G an on 149/20M 29/29 0 15% 0 area_1 0 2.4G bgn on 6/20M 28/28 1 15% 0 area_1 1 5G an on 153/20M 29/29 0 49% ---------------------------------------------------------------------- Total:4
After half hour of manual tuning, the tuning is finished. The following configuration steps are not reflected in the configuration file. At this time, the user can choose the following two schemes:
(recommended) change the RF tuning mode to regular tuning, and set the tuning time as the user's business idle time (such as 00:00-06:00 a.m. local time).
[AC-wlan-view] calibrate enable schedule time 03:00:00 [AC-wlan-view] commit all Warning: Committing configuration may cause service interruption, continue?[Y/N]:y
Manual fixed channel: turn off the automatic channel selection function and the automatic channel selection function of transmission power under the RRM template. Waiting for a new AP to join, the user can manually trigger RF tuning again.
[AC-wlan-view] rrm-profile name wlan-net [AC-wlan-rrm-prof-wlan-net] calibrate auto-channel-select disable [AC-wlan-rrm-prof-wlan-net] calibrate auto-txpower-select disable [AC-wlan-rrm-prof-wlan-net] quit [AC-wlan-view] calibrate enable manual [AC-wlan-view] calibrate manual startup [AC-wlan-view] commit all Warning: Committing configuration may cause service interruption, continue?[Y/N]:y