- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-AP management commands | 58.50 KB |
AP management commands
region-code
Use region-code to specify a region code.
Syntax
region-code code
undo region-code
Default
The region code is CN.
Views
Global configuration view
Predefined user roles
network-admin
Parameters
code: Specifies a region code. For more information about region codes, see Table 1.
Table 1 Region code information
Country |
Code |
Country |
Code |
Andorra |
AD |
Korea, Republic of Korea |
KR |
United Arab Emirates |
AE |
Kenya |
KE |
Albania |
AL |
Kuwait |
KW |
Armenia |
AM |
Kazakhstan |
KZ |
Australia |
AU |
Lebanon |
LB |
Argentina |
AR |
Liechtenstein |
LI |
Australia |
AT |
Sri Lanka |
LK |
Azerbaijan |
AZ |
Lithuania |
LT |
Bosnia and Herzegovina |
BA |
Luxembourg |
LU |
Belgium |
BE |
Latvia |
LV |
Bulgaria |
BG |
Libyan |
LY |
Bahrain |
BH |
Morocco |
MA |
Brunei Darussalam |
BN |
Monaco |
MC |
Bolivia |
BO |
Moldova |
MD |
Brazil |
BR |
Macedonia |
MK |
Bahamas |
BS |
Macau |
MO |
Belarus |
BY |
Martinique |
MQ |
Belize |
BZ |
Malta |
MT |
Canada |
CA |
Mauritius |
MU |
Switzerland |
CH |
Mexico |
MX |
Cote d'ivoire |
CI |
Malay Archipelago |
MY |
Chile |
CL |
Namibia |
NA |
China |
CN |
Nigeria |
NG |
Colombia |
CO |
Nicaragua |
NI |
Costarica |
CR |
Netherlands |
NL |
Serbia |
RS |
Norway |
NO |
Cyprus |
CY |
New Zealand |
NZ |
Czech Republic |
CZ |
Oman |
OM |
Germany |
DE |
Panama |
PA |
Denmark |
DK |
Peru |
PE |
Dominica |
DO |
Poland |
PL |
Algeria |
DZ |
Philippines |
PH |
Ecuador |
EC |
Pakistan |
PK |
Estonia |
EE |
Puerto Rico |
PR |
Egypt |
EG |
Portugal |
PT |
Spain |
ES |
Paraguay |
PY |
Faroe Islands |
FO |
Qatar |
QA |
Finland |
FI |
Romania |
RO |
France |
FR |
Russian Federation |
RU |
Britain |
GB |
Saudi Arabia |
SA |
Georgia |
GE |
Sweden |
SE |
Gibraltar |
GI |
Singapore |
SG |
Greenland |
GL |
Slovenia |
SI |
Guadeloupe |
GP |
Slovak |
SK |
Greece |
GR |
San Marino |
SM |
Guatemala |
GT |
Salvador |
SV |
Guam |
GU |
Syrian |
SY |
Guyana |
GY |
Thailand |
TH |
Honduras |
HN |
Tunisia |
TN |
Hong Kong |
HK |
Turkey |
TR |
Croatia |
HR |
Trinidad and Tobago |
TT |
Hungary |
HU |
, China |
TW |
Iceland |
IS |
Ukraine |
UA |
India |
IN |
United States of America |
US |
Indonesia |
ID |
Uruguay |
UY |
Ireland |
IE |
Uzbekistan |
UZ |
Israel |
IL |
The Vatican City State |
VA |
Iraq |
IQ |
Venezuela |
VE |
Italy |
IT |
Virgin Islands |
VI |
Jamaica |
JM |
Vietnam |
VN |
Jordan |
JO |
Yemen |
YE |
Japan |
JP |
South Africa |
ZA |
Democratic People's Republic of Korea |
KP |
Zimbabwe |
ZW |
Usage guidelines
A region code determines characteristics such as available frequencies, available channels, and transmit power level. Set a valid region code before configuring the AP.
Examples
# Specify US as the global region code.
<Sysname> system-view
[Sysname] wlan global-configuration
[Sysname-wlan-global-configuration] region-code US
Related commands
region-code-lock
region-code-ie
Use region-code-ie to include or exclude region codes in beacon frames and probe responses and specify the installation environment type.
Use undo region-code-ie to restore the default.
Syntax
region-code-ie { disable | enable { any | indoor | outdoor } }
undo region-code-ie
Default
Beacon frames and probe responses contain region codes and the installation environment type is any.
Views
Service template view
Predefined user roles
network-admin
Parameters
disable: Excludes region codes in beacon frames and probe responses.
enable: Includes region codes in beacon frames and probe responses.
any: Specifies APs that can be installed both indoors and outdoors.
indoor: Specifies APs that can only be installed indoors.
outdoor: Specifies APs that can only be installed outdoors.
Usage guidelines
If you bind different service templates to radios of the AP, make sure the service templates are specified with the same installation environment type.
Examples
# Include region codes in beacon frames and probe responses and specify the type of installation environment as indoor.
<Sysname> system-view
[Sysname] wlan service-template service1
[Sysname-wlan-st-service1] region-code-ie enable indoor
Related commands
region-code
region-code-lock
Use region-code-lock enable to lock the region code.
Use region-code-lock disable to unlock the region code.
Use undo region-code-lock to restore the default.
Syntax
region-code-lock { disable | enable }
undo region-code-lock
Default
The region code is not locked.
Views
Global configuration view
Predefined user roles
network-admin
Parameters
A locked region code cannot be changed.
Examples
# Lock the global region code.
<Sysname> system-view
[Sysname] wlan global-configuration
[Sysname-wlan-global-configuration] region-code-lock enable
Related commands
region-code
usb
Use usb enable to enable the USB interface on the AP.
Use undo usb to restore the default.
Syntax
usb enable
undo usb enable
Default
The USB interface is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command takes effect only when the input power level of the AP is middle or high.
If the input power level is middle, the MIMO mode can only be 1×1 or 2×2 with the USB interface enabled. With the USB interface disabled, the MIMO mode can reach 4×4.
Examples
# Enable the USB interface.
<Sysname> system-view
[Sysname] usb enable
wlan led-mode
Use wlan led-mode to set the LED lighting mode.
Use undo wlan led-mode to restore the default.
Syntax
wlan led-mode { always-on | awake | normal | quiet }
undo wlan led-mode
Default
The LED lighting mode is normal.
Views
System view
Predefined user roles
network-admin
Parameters
always-on: Specifies the always-on mode. In this mode, all LEDs are steady on.
awake: Specifies the awake mode. In this mode, all the LEDs flash once every minute.
normal: Specifies the normal mode.
quiet: Specifies the quiet mode. In this mode, all the LEDs are off.
Examples
# Set the LED lighting mode to awake.
<Sysname> system-view
[Sysname] wlan led-mode awake