Configuring Country Codes

Configuring Country Codes

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest feature information and caveats, see the release notes for your platform and software release.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to http:/​/​www.cisco.com/​go/​cfn. An account on Cisco.com is not required.

Prerequisites for Configuring Country Codes

  • Generally, you configure one country code per switch; you configure one code that matches the physical location of the switch and its access points. You can configure up to 20 country codes per switch. This multiple-country support enables you to manage access points in various countries from a single switch.
  • When the multiple-country feature is used, all switchs that are going to join the same RF group must be configured with the same set of countries, configured in the same order.
  • Access points are capable of using all the available legal frequencies. However, access points are assigned to the frequencies that are supported in their relevant domains.
  • The country list configured on the RF group leader determines which channels the members would operate on. This list is independent of which countries have been configured on the RF group members.
  • For switchs in the Japan regulatory domain, you must have had one or more Japan country codes (JP, J2, or J3) configured on your switch at the time you last booted your switch.
  • For switchs in the Japan regulatory domain, you must have at least one access point with a -J regulatory domain joined to your switch.

Information About Configuring Country Codes

Controllers and access points are designed for use in many countries with varying regulatory requirements. The radios within the access points are assigned to a specific regulatory domain at the factory (such as -E for Europe), but the country code enables you to specify a particular country of operation (such as FR for France or ES for Spain). Configuring a country code ensures that each radio’s broadcast frequency bands, interfaces, channels, and transmit power levels are compliant with country-specific regulations.

Information About Migrating Access Points from the -J Regulatory Domain to the -U Regulatory Domain

The Japanese government has changed its 5-GHz radio spectrum regulations. These regulations allow a text box upgrade of 802.11a 5-GHz radios. Japan allows three frequency sets:

  • J52 = 34 (5170 MHz), 38 (5190 MHz), 42 (5210 MHz), 46 (5230 MHz)
  • W52 = 36 (5180 MHz), 40 (5200 MHz), 44 (5220 MHz), 48 (5240 MHz)
  • W53 = 52 (5260 MHz), 56 (5280 MHz), 60 (5300 MHz), 64 (5320 MHz)

Cisco has organized these frequency sets into the following regulatory domains:

  • -J regulatory domain = J52
  • -P regulatory domain = W52 + W53
  • -U regulatory domain = W52

Regulatory domains are used by Cisco to organize the legal frequencies of the world into logical groups. For example, most of the European countries are included in the -E regulatory domain. Cisco access points are configured for a specific regulatory domain at the factory and, with the exception of this migration process, never change. The regulatory domain is assigned per radio, so an access point’s 802.11a and 802.11b/g radios can be assigned to different domains.


Note


Switchs and access points might not operate properly if they are not designed for use in your country of operation. For example, an access point with part number AIR-CAP3602I-A-K9 (which is included in the Americas regulatory domain) cannot be used in Australia. Always be sure to purchase switchs and access points that match your country’s regulatory domain.


The Japanese regulations allow the regulatory domain that is programmed into an access point’s radio to be migrated from the -J domain to the -U domain. New access points for the Japanese market contain radios that are configured for the -P regulatory domain. -J radios are no longer being sold. In order to make sure that your existing -J radios work with the new -P radios in one network, you need to migrate your -J radios to the -U domain.

Country codes define the channels that can be used legally in each country. These country codes are available for Japan:

  • JP—Allows only -J radios to join the controller
  • J2—Allows only -P radios to join the controller
  • J3—Uses the -U frequencies but allows both -U and -P radios to join the controller
  • J4—Allows 2.4G PQU and 5G JPQU to join the controller

See the Channels and Maximum Power Settings for Cisco Aironet Lightweight Access Points document for the list of channels and power levels supported by access points in the Japanese regulatory domains.

Using the W56 Band in Japan

The Japanese government is formally permitting wireless LAN use of the frequencies in the W56 band for 802.11a radios. The W56 band includes the following channels, frequencies, and power levels (in dBm):

Channel

Frequency (MHz)

Maximum Power for AIR-LAP1132AG-Q-K9

Maximum Power for AIR-LAP1242AG-Q-K9

100

5500

17

15

104

5520

17

15

108

5540

17

15

112

5560

17

15

116

5580

17

15

120

5600

17

15

124

5620

17

15

128

5640

17

15

132

5660

17

15

136

5680

17

15

140

5700

17

15

To set up a network consisting of only -P and -Q access points, configure the country code to J2. To set up a network that consists of -P, -Q, and -U access points, configure the country code to J3.

Dynamic Frequency Selection

The Cisco converged access solution complies with regulations that require radio devices to use DFS to detect radar signals and avoid interfering with them.

When a lightweight access point with a 5-GHz radio operates on one of the 15 channels listed in the table below, the switch to which the access point is associated, automatically uses DFS to set the operating frequency.

When you manually select a channel for DFS-enabled 5-GHz radios, the controller checks for radar activity on the channel for 60 seconds. If there is no radar activity, the access point operates on the channel that you selected. If there is radar activity on the channel that you selected, the controller automatically selects a different channel, and after 30 minutes, the access point retries the channel.


Note


After radar has been detected on a DFS-enabled channel, it cannot be used for 30 minutes.



Note


The Rogue Location Detection Protocol (RLDP) and rogue containment are not supported on the channels listed in the table below.



Note


The maximum legal transmit power is greater for some 5-GHz channels than for others. When the switch randomly selects a 5-GHz channel on which power is restricted, it automatically reduces the transmit power to comply with power limits for that channel.


Table 1 DFS-Enabled 5-GHz Channels

52 (5260 MHz)

104 (5520 MHz)

124 (5620 MHz)

56 (5280 MHz)

108 (5540 MHz)

128 (5640 MHz)

60 (5300 MHz)

112 (5560 MHz)

132 (5660 MHz)

64 (5320 MHz)

116 (5580 MHz)

136 (5680 MHz)

100 (5500 MHz)

120 (5600 MHz)

140 (5700 MHz)

Using DFS, the controller monitors operating frequencies for radar signals. If it detects radar signals on a channel, the controller takes these steps:

  • It changes the access point channel to a channel that has not shown radar activity within the last 30 minutes. (The radar event is cleared after 30 minutes.) The controller selects the channel at random.
  • If the channel selected is one of the channels in the UNII-2 or UNII-2e that is affected by DFS, it scans the new channel for radar signals for 60 seconds. If there are no radar signals on the new channel, the switch accepts client associations.
  • It records the channel that showed radar activity as a radar channel and prevents activity on that channel for 30 minutes.
  • It generates a trap to alert the network manager.

How to Configure Country Codes (CLI)


Note


The procedure to perform this task using the switch GUI is not currently available.


SUMMARY STEPS

    1.    enable

    2.    show wireless country supported

    3.    configure terminal

    4.    ap dot11 24ghz shutdown

    5.    ap dot11 5ghz shutdown

    6.    ap country country_code

    7.    end

    8.    show wireless country channels

    9.    configure terminal

    10.    no ap dot11 5ghz shutdown

    11.    no ap dot11 24ghz shutdown

    12.    end

    13.    ap name Cisco_AP shutdown

    14.    configure terminal

    15.    ap country country_code

    16.    end

    17.    ap name Cisco_AP no shutdown


DETAILED STEPS
     Command or ActionPurpose
    Step 1 enable


    Example:
    Switch# enable
    
     

    Enters privileged EXEC mode.

     
    Step 2 show wireless country supported


    Example:
    Switch# show wireless country supported
     

    Displays a list of all available country codes.

     
    Step 3 configure terminal


    Example:
    Switch# configure terminal
     

    Enters global configuration mode.

     
    Step 4ap dot11 24ghz shutdown


    Example:
    Switch(config)# ap dot11 5ghz shutdown
     

    Disables the 802.11a network.

     
    Step 5ap dot11 5ghz shutdown


    Example:
    Switch(config)# ap dot11 24ghz shutdown
     

    Disables the 802.11b/g network.

     
    Step 6ap country country_code


    Example:
    Switch(config)# ap country IN
     

    Assigns access points to a specific country.

    Note   

    Make sure that the country code you choose is compatible with the regulatory domain of at least one of the access point’s radios.

     
    Step 7end


    Example:
    Switch(config)# end
     

    Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-z to exit global configuration mode.

     
    Step 8show wireless country channels


    Example:
    Switch# show wireless country channels
     

    Displays the list of available channels for the country codes configured on your switch.

    Note   

    Perform Steps 9 through 17 only if you have configured multiple country codes in Step 6.

     
    Step 9 configure terminal


    Example:
    Switch# configure terminal
     

    Enters global configuration mode.

     
    Step 10no ap dot11 5ghz shutdown


    Example:
    Switch(config)# no ap dot11 5ghz shutdown
     

    Enables the 802.11a network.

     
    Step 11no ap dot11 24ghz shutdown


    Example:
    Switch(config)# no ap dot11 24ghz shutdown
     

    Enables the 802.11b/g network.

     
    Step 12end


    Example:
    Switch(config)# end
     

    Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-z to exit global configuration mode.

     
    Step 13ap name Cisco_AP shutdown


    Example:
    Switch# ap name AP02 shutdown
     
    Disables the access point.
    Note   

    Ensure that you disable only the access point for which you are configuring country codes.

     
    Step 14 configure terminal


    Example:
    Switch# configure terminal
     

    Enters global configuration mode.

     
    Step 15ap country country_code


    Example:
    Switch# ap country IN
     
    Assigns an access point to a specific country.
    Note   

    Ensure that the country code that you choose is compatible with the regulatory domain of at least one of the access point’s radios.

    Note   

    If you enabled the networks and disabled some access points and then enter the ap country country_code command, the specified country code is configured on only the disabled access points. All other access points are ignored.

     
    Step 16end


    Example:
    Switch(config)# end
     

    Returns to privileged EXEC mode. Alternatively, you can also press Ctrl-z to exit global configuration mode.

     
    Step 17ap name Cisco_AP no shutdown


    Example:
    Switch# ap name AP02 no shutdown
     

    Enables the access point.

     

    Configuration Examples for Configuring Country Codes

    Displaying Channel List for Country Codes: Example

    This example shows how to display the list of available channels for the country codes configured on your switch:

    Switch# show wireless country channels
    
    Configured Country........................: US - United States
    KEY: * = Channel is legal in this country and may be configured manually.
    A = Channel is the Auto-RF default in this country.
    . = Channel is not legal in this country.
    C = Channel has been configured for use by Auto-RF.
    x = Channel is available to be configured for use by Auto-RF.
    (-,-) = (indoor, outdoor) regulatory domain allowed by this country.
    -----------------:+-+-+-+-+-+-+-+-+-+-+-+-+-+-
    802.11bg :
    Channels : 1 1 1 1 1
    : 1 2 3 4 5 6 7 8 9 0 1 2 3 4
    -----------------:+-+-+-+-+-+-+-+-+-+-+-+-+-+-
    (-A ,-AB ) US : A * * * * A * * * * A . . .
    Auto-RF : . . . . . . . . . . . . . .
    -----------------:+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
    802.11a : 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
    Channels : 3 3 3 4 4 4 4 4 5 5 6 6 0 0 0 1 1 2 2 2 3 3 4 4 5 5 6 6
    : 4 6 8 0 2 4 6 8 2 6 0 4 0 4 8 2 6 0 4 8 2 6 0 9 3 7 1 5
    -----------------:+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
    (-A ,-AB ) US : . A . A . A . A A A A A * * * * * . . . * * * A A A A
    *
    Auto-RF : . . . . . . . . . . . . . . . . . . . . . . . . . . . .
    -----------------:+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
    4.9GHz 802.11a :
    Channels : 1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2 2
    : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6
    -----------------:+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
    US (-A ,-AB ): * * * * * * * * * * * * * * * * * * * A * * * * * A
    Auto-RF : . . . . . . . . . . . . . . . . . . . . . . . . . .
    -----------------:+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-