< Home

Configuring Spectrum Analysis on an AC

Context

You can configure spectrum analysis on a WLAN with severe interference to determine whether non-Wi-Fi interference exists on the WLAN.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run ap-system-profile name profile-name

    An AP system profile is created, and the AP system profile view is displayed.

    By default, the system provides the AP system profile default.

  4. Run spectrum-analysis server ip-address ip-address port port-number [ via-ac ac-port ac-port-number ]

    The IP address and port number of a spectrum server are configured.

    • If the AP uploads the collected data directly to the spectrum server, you do not need to configure the via-ac ac-port ac-port-number command.
    • If the AP uploads the collected data to the spectrum server via the AC, configure the via-ac ac-port ac-port-number command.
    • If no spectrum server is available, to view the spectrum in the web system of an AC, specify a valid IP address and port number for the spectrum server (The specified values do not take effect.) and configure the via-ac ac-port ac-port-number command.

  5. (Optional) Run spectrum-analysis non-wifi-device aging-time aging-time

    The aging time of non-Wi-Fi devices on the AC during spectrum analysis is configured.

    By default, the aging time of non-Wi-Fi devices on an AC during spectrum analysis is 3 minutes.

  6. Run quit

    Return to the WLAN view.

  7. (Optional) Run spectrum-analysis source ip-address ip-address

    The source IP address of packets sent by the AC to a spectrum server is configured.

    By default, an AC uses the IP address of the outbound interface on the matched route as the source IP address of packets sent to a spectrum server.

    • Ensure that the AC's IP address manually configured on the spectrum server is the same as that configured using the spectrum-analysis source command.
    • The configured source IP address must exist on the AC and is routable with the spectrum server.

  8. Configure the air scan function.

    The configured air scan profile applies to radio calibration, smart roaming, spectrum analysis, terminal location, and WIDS. The channels to be scanned for spectrum analysis are fixed as all channels supported by the corresponding country code of an AP and are irrelevant to the configuration in an air scan profile.

    In spectrum analysis scenarios, to obtain enough sampling data, it is recommended that the scanning interval be set no more than 10 seconds and the scanning duration to 100 ms.

    1. Run the air-scan-profile name profile-name command to create an air scan profile and enter the air scan profile view.
    2. Run the undo scan-disable command to enable the air scan function.

      By default, the air scan function is enabled.

    3. Run the scan-interval scan-time command to configure an air scan interval.

      By default, the air scan interval is 10000 ms.

    4. Run the scan-period scan-time command to configure an air scan period.

      By default, the air scan period is 60 ms.

    5. Run the quit command to return to the WLAN view.
    6. Enter the radio profile view.

      By default, the system provides the 2G radio profile default and 5G radio profile default.

      • When the configured air scan channel set contains only 2.4 GHz channels, run the radio-2g-profile name profile-name command to enter the 2G radio profile.

      • When the configured air scan channel set contains only 5 GHz channels, run the radio-5g-profile name profile-name command to enter the 5G radio profile.

      • When the configured air scan channel set contains both 2.4 GHz and 5 GHz channels, enter the 2G and 5G radio profiles.

      You can bind the created air scan profile to the current radio profile bound to the AP. To bind the air scan profile to a new radio profile, bind the radio profile to the radio of an AP group or a specific AP first. For details, see Binding a Radio Profile.

    7. Run the air-scan-profile profile-name command to bind the air scan profile to the 2G or 5G radio profile.

      By default, the air scan profile default is bound to a radio profile.

    8. Run the quit command to return to the WLAN view.
  9. Run vap-profile name profile-name

    A VAP profile is created.

    By default, the system provides the VAP profile default.

    When a VAP profile exists in the system, you can use the existing one or create a new one.

  10. Run quit

    Return to the WLAN view.

  11. Bind the VAP profile to radios of an AP group or a specific AP as required to make the radios properly work. For details, see Binding VAP Profiles.
  12. Run quit

    Return to the WLAN view.

  13. Bind the radio profile and spectrum profile to an AP group or AP. For the detailed procedure of binding a radio profile, see Binding a Radio Profile.

    Binding the radio profile and spectrum profile to an AP group

    1. Run the ap-group name group-name command to enter the AP group view.
    2. Run the ap-system-profile profile-name command to bind the specified AP system profile to the AP group.

    Binding the radio profile and spectrum profile to an AP

    1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
    2. Run the ap-system-profile profile-name command to bind the specified AP system profile to the AP.
  14. Enable spectrum analysis on an AP radio.

    Enabling spectrum analysis on the specified radio in an AP group.

    1. Run the ap-group name group-name command to enter the AP group view.
    2. Run the radio radio-id command to enter the AP group radio view.
    3. Run the spectrum-analysis enable command to enable spectrum analysis on the radio.
    4. Run the quit command to return to the AP group view.

    Enabling spectrum analysis on the specified AP radio.

    1. Run the ap-id ap-id, ap-mac ap-mac, or ap-name ap-name command to enter the AP view.
    2. Run the radio radio-id command to enter the AP radio view.
    3. Run the spectrum-analysis enable command to enable spectrum analysis on the AP radio.
    4. Run the quit command to return to the AP view.
  15. Run the quit command to return to the WLAN view.
  16. Run spectrum-report { ap-name ap-name | ap-id ap-id } radio radio-id

    The function of reporting spectrum analysis data is enabled on an AP radio. The spectrum server uses the reported data to analyze spectrum and draw spectrum graphs.

    By default, the function of reporting spectrum data is disabled on an AP radio.

Verifying the Configuration

  • Run the display spectrum-analysis server-reporter command to check the list of APs reporting spectrum analysis data to a spectrum server.
  • Run the display air-scan-profile name profile-name command to check the air scan profile configuration.
  • Run the display radio-2g-profile name profile-name command to check the air scan profile bound to a 2G radio profile.
  • Run the display radio-5g-profile name profile-name command to check the air scan profile bound to a 5G radio profile.
  • Run the display ap-group name ap-group-name command to check the 2G or 5G radio profile bound to an AP group.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >