< Home

Configuring Country Codes

Context

A country code identifies the country to which AP radios belong. Different countries support different AP radio attributes, including the transmit power and supported channels. Correct country code configuration ensures that radio attributes of APs comply with laws and regulations of countries and regions to which the APs are delivered.

The country code is configured in a regulatory domain profile. Two configuration scenarios are available:
  • If the APs managed by an AC are located in the same country or region, you only need to configure one country code.
  • If the APs managed by an AC are located in different countries, you need to configure different country codes for the APs.
As shown in Figure 1, APs using regulatory domain profile 1 in country 1 and those using regulatory domain profile 2 in country 2 are all managed and controlled by the same AC. In this situation, you need to configure the country code of country 1 in regulatory domain profile 1 and that of country 2 in regulatory domain profile 2.
Figure 1 Multiple country codes
  • When configuring an AC for the first time, you must configure the correct country code. The country code must comply with local laws and regulations.

  • If the country codes configured for an AD9000 (central AP) and matching RUs are different, the country code configured for the RUs does not take effect.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run wlan

    The WLAN view is displayed.

  3. Run regulatory-domain-profile name profile-name

    A regulatory domain profile is created, and the regulatory domain profile view is displayed.

    By default, the system provides the regulatory domain profile default.

  4. Run country-code country-code

    A country code is configured.

    By default, the country code CN is configured.

    For details about country codes, see country-code.

    Modifying the country code in a regulatory domain profile will restart APs using the profile.

  5. Run quit

    Return to the WLAN view.

  6. Bind the regulatory domain profile to an AP group or AP.

    • Binding the regulatory domain profile to an AP group
      1. Run the ap-group name group-name command to enter the AP group view.

      2. Run the regulatory-domain-profile profile-name command to bind the regulatory domain profile to the AP group.

        By default, the regulatory domain profile default is bound to an AP group.

    • Binding the regulatory domain 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 regulatory-domain-profile profile-name command to bind the regulatory domain profile to the AP.

        By default, no regulatory domain profile is bound to an AP.

Verifying the Configuration

  • Run the display regulatory-domain-profile { all | name profile-name } command to check the country code configured in a regulatory domain profile.
  • Run the display references regulatory-domain-profile name profile-name command to check reference information about a regulatory domain profile.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >