- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-AP management commands | 77.17 KB |
AP management commands
region-code
Use region-code to specify a region code.
Syntax
region-code code
Default
The region code for APs in China is CN, and the region code for APs in Japan is JP. No region code is specified for APs in any other countries or regions.
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 |
Guyana |
GY |
Syrian |
SY |
Honduras |
HN |
Thailand |
TH |
Hong Kong |
HK |
Tunisia |
TN |
Croatia |
HR |
Turkey |
TR |
Hungary |
HU |
Trinidad and Tobago |
TT |
Iceland |
IS |
, Province of China |
TW |
India |
IN |
Ukraine |
UA |
Indonesia |
ID |
United States of America |
US |
Ireland |
IE |
Uruguay |
UY |
Israel |
IL |
Uzbekistan |
UZ |
Iraq |
IQ |
The Vatican City State |
VA |
Italy |
IT |
Venezuela |
VE |
Iran |
IR |
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 an AP.
Examples
# Specify 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 an 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
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
The following compatibility matrixes show the support of hardware platforms for this command:
Hardware series |
Model |
Command compatibility |
WA6600 series |
WA6628E-T |
No |
WA5600 series |
WA5630X |
No |
WA5620E-T |
No |
|
WA5500 series |
WA5530 |
Yes |
WA5530i |
No |
|
WA5530X |
No |
|
WA5530S |
Yes |
|
WA5530-SI |
No |
|
WA5530-LI |
No |
|
WA5510E-T |
No |
|
WA5300 series |
WA5340 |
No |
WA5320i |
Yes |
|
WA5320i-LI |
Yes |
|
WA5320X |
No |
|
WA5320X-LI |
No |
|
WA5320X-E |
No |
|
WA5320X-SI |
No |
|
UAP300 series |
UAP300 |
Yes |
WAP723 series |
WAP723-W2 |
No |
WAP722 series |
WAP722X-W2 |
No |
WAP722XS-W2 |
No |
Hardware series |
Model |
Command compatibility |
WA530 series |
WA538 |
Yes |
WA536 |
No |
|
WA5330 |
No |
|
WA530X |
No |
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 connect-ac enable
Use wlan connect-ac enable to enable the AP to connect to the AC.
Use undo wlan connect-ac enable to disable the AP from connecting to the AC.
Syntax
wlan connect-ac enable
undo wlan connect-ac enable
Default
The default setting depends on the device model.
Views
System view
Predefined user roles
network-admin
Usage guidelines
After this feature is disabled, all APs connected to the AC will disconnect from the AC.
Examples
# Enable the AP to connect to the AC.
<Sysname> system-view
[Sysname] wlan connect-ac enable
wlan global-configuration
Use wlan global-configuration to enter global configuration view.
Syntax
wlan global-configuration
Views
System view
Predefined user roles
network-admin
Usage guidelines
The configuration priorities for an AP in AP view, AP group view, and global configuration view are in descending order. If no settings are configured in one view, the settings in the view with a lower priority are used. If no settings are configured in any one of the three views, the AP uses the default configuration in the view that has the lowest priority.
Examples
# Enter global configuration view.
<Sysname> system-view
[Sysname] wlan global-configuration
[Sysname-wlan-global-configuration]
wlan led-mode
Use wlan led-mode to set the LED 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 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. How LEDs flash in this mode varies by AP model. For more information, see the installation guide for the AP.
quiet: Specifies the quiet mode. In this mode, all the LEDs are off.
Examples
# Set the LED mode to awake.
<Sysname> system-view
[Sysname] wlan led-mode awake
wlan power-level
Use wlan power-level to set the default input power level of the AP.
Use undo wlan power-level to restore the default.
Syntax
wlan power-level default { high | low | middle }
undo wlan power-level default
Default
The default input power level of the AP is middle.
Views
System view
Predefined user roles
network-admin
Parameters
high: Specifies the high default input power level.
low: Specifies the low default input power level.
middle: Specifies the middle default input power level.
Usage guidelines
Configure this command in case the AP cannot obtain its input power level at startup from the uplink switch.
The power level of an AP can be high, middle, or low. An AP automatically learns its input power level from the uplink switch at startup. If the learning operation fails, the AP operates at the input power level specified by this command.
The following table shows the relationship between the AP's power supply mode and input power level:
Power supply mode |
Input power level |
· Power adapter. · Multiple PoE+ ports. · Combination of PoE and PoE+ ports. |
High |
· Single PoE+ port · Multiple PoE ports |
Middle |
Single PoE port |
Low |
An AP's support for MIMO modes and the USB interface varies by power level, as shown in Table 2.
Table 2 AP's support for MIMO modes and the USB interface
Input power level |
MIMO modes |
Whether the USB interface can be enabled |
High |
1×1, 2×2, 3×3, and 4×4. |
Yes. |
Middle |
1×1, 2×2, 3×3, and 4×4. |
Yes when the MIMO mode is 1×1 or 2×2. |
Low |
1×1. |
No. |
Examples
# Set the default input power level to low for the AP.
<Sysname> system-view
[Sysname] wlan power-level default low