01-09 WLAN Service Configuration Commands (Common AP) PDF
01-09 WLAN Service Configuration Commands (Common AP) PDF
9.87 utmost-power
9.88 vap-profile (WLAN view)
9.89 vap-profile (radio interface view)
9.90 vap-service-backup auth-server-down
9.91 vht a-mpdu max-length-exponent
9.92 vht a-msdu enable
9.93 vht a-msdu max-frame-num
9.94 vht mcs-map
9.95 vht mcs-map (SSID profile)
9.96 wlan
Format
active-dull-client enable
undo active-dull-client enable
Parameters
None
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Due to individual reasons, some terminals may not run services normally when
entering energy-saving mode. You can run the active-dull-client enable
Example
# Enable the function of preventing terminals from entering energy-saving mode.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] active-dull-client enable
Format
advertise-ap-name enable
undo advertise-ap-name enable
Parameters
None
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
In certain scenarios, you can run the advertise-ap-name enable command to
enable Beacon frames to carry the AP name. In this way, you can quickly locate
and identify APs by identifying the AP name carried in an SSID or display the AP
name on STAs that can receive and resolve the host name carried in SSIDs of
multiple APs.
Example
# Enable Beacon frames to carry the AP name in the SSID profile ssid1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] advertise-ap-name enable
9.3 agile-antenna-polarization
Function
The agile-antenna-polarization enable command enables self-adaptive
polarization for agile antennas.
The undo agile-antenna-polarization enable command disables self-adaptive
polarization for agile antennas.
By default, self-adaptive polarization is disabled for agile antennas.
NOTE
Format
agile-antenna-polarization enable
undo agile-antenna-polarization enable
Parameters
None
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Self-adaptive polarization for agile antennas can reduce interference between
transmit signals of antennas, and increase the transmit power of antennas and the
demodulation SNR of STAs. When providing wireless coverage, you can enable this
function when the following types of STA exist:
● STA with one transmit antenna and one receive antenna in 1x1 mode
● STA with two transmit antennas and two receive antennas in 2x2 mode
After this function is enabled, the AP uses two mutually orthogonal antennas to
communicate with STAs but not a third antenna.
Prerequisites
Dual-polarized antennas have been connected to radio ports A and B on the same
frequency band.
Example
# Enable self-adaptive polarization for agile antennas in a 2G radio profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] agile-antenna-polarization enable
9.4 antenna-gain
Function
The antenna-gain command configures the antenna gain of an AP radio.
Format
antenna-gain antenna-gain
undo antenna-gain
Parameters
Parameter Description Value
antenna-gain Specifies the The value is an integer that ranges from –10 to
antenna gain. 30, in dB.
Views
Radio interface view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
The antenna gain is the ratio of the power density produced by an antenna to the
power density that should be obtained at the same point if the power accepted by
the antenna were radiated equally. It can measure the capability for an antenna to
receive and send signals in a specified direction, which is one of the most
important parameters to select a BTS antenna. In the same condition, if the
antenna gain is high, the wave travels far.
Precautions
Example
# Set the antenna gain to 4 for the radio interface Wlan-Radio 0/0/0.
<HUAWEI> system-view
[HUAWEI] interface wlan-radio 0/0/0
[HUAWEI-Wlan-Radio0/0/0] antenna-gain 4
9.5 association-timeout
Function
The association-timeout command configures an association aging time for STAs.
Format
association-timeout association-timeout
undo association-timeout
Parameters
Parameter Description Value
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
The administrator can run the association-timeout command to set the
association aging time for STAs. If the AP receives no data packet from a STA in a
specified time, the STA goes offline after the association aging time expires.
Precautions
Changing the association aging time of a STA may interrupt the STA services.
Example
# Set the association aging time of STAs to 15 minutes in the SSID profile ssid1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] association-timeout 15
Warning: This action may cause service interruption. Continue?[Y/N]y
Format
auto-off service start-time start-time end-time end-time
Parameters
Parameter Description Value
Views
VAP profile view, 2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
When an enterprise does not want employees to access the internal WLAN from
01:00 to 05:00, the administrator can run the auto-off service command to
enable the scheduled VAP auto-off function.
Precautions
● After the service mode of a VAP is enabled using the undo service-mode
disable command, you can run the auto-off service command to configure
the scheduled VAP auto-off function. In the scheduled time, the VAP is
disabled and cannot be enabled using the undo service-mode disable
command. To enable the VAP, run the undo auto-off service command.
● The scheduled VAP auto-off function takes effect in the scheduled time only
after the undo service-mode disable command is executed. If the service
mode of a VAP is disabled using the service-mode disable command, the
VAP auto-off function does not take effect.
● You can run the auto-off service time-range time-range-name command to
set the time range when a VAP is disabled.
● The scheduled VAP auto-off function enabled in a VAP profile view takes
effect only on the APs using the VAP profile, and the scheduled VAP auto-off
function enabled in a radio profile view takes effect only on the APs using the
radio profile.
● auto-off service, start-time start-time, end-time end-time, and auto-off
service time-range time-range-name cannot be configured at the same time.
Example
# Configure the scheduled VAP auto-off function in the VAP profile vap1, and
configure the VAP to be disabled from 1:00:00 to 7:00:00.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] auto-off service start-time 1:00:00 end-time 7:00:00
# Configure the scheduled VAP auto-off function in the 2G radio profile default,
and configure the VAP to be disabled from 1:00:00 to 7:00:00.
<HUAWEI> system-view
[HUAWEI] time-range VAP 1:00 to 7:00 daily
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] auto-off service time-range VAP
9.7 beacon-2g-rate
Function
The beacon-2g-rate command sets the transmit rate of management frames
(including Beacon frames, Probe Response frames, Assoc/Reassoc Response
frames, and Auth frames) on a 2.4 GHz radio.
The undo beacon-2g-rate command restores the default transmit rate of 2.4 GHz
management frames.
Format
beacon-2g-rate beacon-2g-rate
undo beacon-2g-rate
Parameters
Parameter Description Value
Views
SSID profile view, Mesh profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
In high-density wireless scenarios, too many management frames occupy a large
number of wireless resources. To reduce wireless resource occupation of
management frames and improve channel usage efficiency, you can run the
beacon-2g-rate command to set a large transmit rate for 2.4 GHz management
frames.
Precautions
Modifying the transmit rate of management frames will cause service interruption
of STAs. Exercise caution when running the command.
The 802.11b protocol supports only 1 Mbit/s, 2 Mbit/s, 5.5 Mbit/s, and 11 Mbit/s.
If you set the transmit rate of management frames to a rate not supported by the
802.11b protocol, STAs supporting only 802.11b cannot connect to the wireless
network.
If you run the radio-type dot11b command in the 2G radio profile view to set the
radio type to dot11b, and the 2G radio profile is applied to an AP, beacon-2g-rate
that takes effect on the 2 GHz radio of the AP is fixed as 1 Mbit/s, and beacon-2g-
rate configured in the SSID profile view does not take effect on the AP.
Example
# Set the transmit rate of 2.4 GHz management frames to 18 Mbit/s in the SSID
profile ssid1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] beacon-2g-rate 18
9.8 beacon-5g-rate
Function
The beacon-5g-rate command sets the transmit rate of management frames
(including Beacon frames, Probe Response frames, Assoc/Reassoc Response
frames, and Auth frames) on a 5 GHz radio.
The undo beacon-5g-rate command restores the default transmit rate of 5 GHz
management frames.
Format
beacon-5g-rate beacon-5g-rate
undo beacon-5g-rate
Parameters
Parameter Description Value
Views
SSID profile view, Mesh profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
In high-density wireless scenarios, too many management frames occupy a large
number of wireless resources. To reduce wireless resource occupation of
management frames and improve channel usage efficiency, you can run the
beacon-5g-rate command to set a large transmit rate for 5 GHz management
frames.
Precautions
Modifying the transmit rate of management frames will cause service interruption
of STAs. Exercise caution when running the command.
Example
# Set the transmit rate of 5 GHz management frames to 18 Mbit/s in the SSID
profile ssid1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] beacon-5g-rate 18
9.9 beacon-interval
Function
The beacon-interval command sets the interval for sending Beacon frames.
The undo beacon-interval restores the default interval for sending Beacon
frames.
By default, the interval for sending Beacon frames is 100 TUs.
Format
beacon-interval beacon-interval
undo beacon-interval
Parameters
Parameter Description Value
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
An AP broadcasts Beacon frames at intervals to notify STAs of an existing 802.11
network. After receiving a Beacon frame, a STA can modify parameters used to
connect to the 802.11 network.
A long interval for sending Beacon frames lengthens the dormancy time of STAs,
while a short interval for sending Beacon frames increases air interface costs.
Therefore, you are advised to set the interval for sending Beacon frames for an AP
based on the VAP quantity. The following intervals for sending Beacon frames are
recommended for APs with different VAP quantities on a single radio:
● No more than 4 VAPs: about 100 TUs
● 5 to 8 VAPs: about 200 TUs
● 9 to 12 VAPs: about 300 TUs
● 13 to 16 VAPs: about 400 TUs
Ensure that the air scan interval meets the following condition: scan-interval ≥
beacon-interval + 100 ms
Example
# Set the interval for sending Beacon frames to 200 TUs in the 2G radio profile
default.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] beacon-interval 200
NOTE
This configuration is valid only for APs of V200R019C00 and earlier versions.
Format
beamforming enable
undo beamforming enable
Parameters
None
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Beamforming is a signal processing technique that controls signal transmission
direction, and transmission and reception of radio signals. The transmit end uses
weight to transmit signals. The signals are transmitted to the destination as
narrow beams. Beamforming increases the signal-to-noise ratio (SNR) for the
destination device.
Precautions
Table 9-1 describes the support of Huawei APs for beamforming.
AP5030DN,
AP5130DN,
AP2030DN,
AP2030DN-S,
AP3030DN,
AP4030DN,
AP4130DN,
AP3010DN-
V2,
AP5030DN-S,
AP9131DN, Y
AP9132DN,
AD9430DN-1 For
2 (with N AP4030TN, N N
R230D, only the radio
R240D), 0 supports
AD9430DN-2 this feature.
4 (with
R230D,
R240D),
AD9431DN-2
4X (with
R230D,
R240D),
AP4030DN-E,
AP4030TN,
AP430-E
AP8030DN,
AP8130DN, N N N N
AP1050DN-S
AD9430DN-1
2 (with
R250D,
R251D),
AD9430DN-2
4 (with
R250D,
R251D,
R450D,
R251D-E and
R250D-E),
AD9431DN-2
4X (with
R250D,
R251D,
R450D,
R251D-E and
R250D-E),
AP2050DN,
AP2050DN-S, Y Y
AP2050DN-E,
AP2051DN, For For
AP2051DN-E, AP2051DN-L- AP2051DN-L-
AP2051DN-S, S, only the N N S, only the
AP2051DN-L- 2.4G 2.4G
S, AP4050DN- frequency frequency
E, AP4050DN- band supports band supports
HD, this feature. this feature.
AP5050DN-S,
AP6050DN,
AP6150DN,
AP7050DN-E,
AP7050DE,
AP4050DN,
AP4051DN,
AP4050DN-S,
AP4151DN,
AP4051DN-S,
AP8050DN,
AP8150DN,
AP8050DN-S,
AP6052DN,
AP7052DN,
AP7152DN,
AP7052DE,
AP8050TN-
HD,
AP8082DN,
AP8182DN,
AP7060DN,
AP3050DE,
AP4050DE-M,
AP4050DE-M-
S, AP4050DE-
B-S,
AP4051TN,
WA375DD-
CE, AP5510-
W-GP,
AP6750-10T,
AirEngine
5760-10
AP7030DE,
N N N Y
AP9330DN
Example
# Enable Beamforming.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] beamforming enable
9.11 channel
Function
The channel command configures the working bandwidth and channel for a
specified radio.
The undo channel command restores the default working bandwidth and channel
of a radio.
By default, the working bandwidth of a radio is 20 MHz, and no working channel
is configured for a radio.
To check the channel used by a radio, run the display ap config-info command.
Format
channel { 20mhz | 40mhz-minus | 40mhz-plus | 80mhz | 160mhz } channel
channel 80+80mhz channel1 channel2
NOTE
Parameters
Parameter Description Value
Views
Radio interface view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Different radios use different channels. Channels for radios also vary in different
countries and regions. Select channels based on the actual situations.
Precautions
The channel parameter settings must match the radio frequency band. For details
about mappings between channel parameters and frequency bands, see Country
Codes & Channels Compliance. You can obtain this table at Huawei technical
support website.
● Enterprise technical support website: https://support.huawei.com/enterprise
● Carrier technical support website: https://support.huawei.com
The configured channels must be supported by STAs; otherwise, the STAs cannot
discover radio signals.
If an AP works in dual-5G mode, configure the two 5 GHz radios to work on non-
adjacent channels.
For example, a country supports 40 MHz+ 5G channels 36, 44, 52, and 60. When
deploying 5 GHz radio channels, if one radio is deployed to work on channel 36, it
is recommended that channel 52 or 60 be configured for the other radio. Channel
44 is not recommended in this case.
NOTE
● You can configure the 80 MHz, 160 MHz, or 80+80 MHz bandwidth only in the 5G radio
view.
● For details about AP models that support 80 MHz, 160 MHz, and 80+80 MHz, see
Configuration Limitations for Basic WLAN Services in Configuration Guide - WLAN Service
Configuration Guide.
Example
# Set the working bandwidth to 20 MHz and working channel to 6 for the radio
interface Wlan-Radio 0/0/0.
<HUAWEI> system-view
[HUAWEI] interface wlan-radio 0/0/0
[HUAWEI-Wlan-Radio0/0/0] channel 20mhz 6
Warning: This action may cause service interruption. Continue?[Y/N]y
Format
channel-switch announcement disable
undo channel-switch announcement disable
Parameters
None
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
When the AP works on a Depth First Select (DFS) channel, a radar detection is
performed. The AP automatically switches to another channel because the DFS
channel frequency may interfere with the radar frequency.
After the undo channel-switch announcement disable command is run, if the
AP channel switches, the AP sends an Action frame to instruct STAs to switch
channels after multiple Beacon intervals. The AP also switches the channel after
the same intervals. The AP and STAs switch channels at the same time to prevent
STA reassociations and ensure rapid service recovery.
NOTE
The channel switching announcement function must be supported by both the AP and STA.
Example
# Disable the AP from sending an announcement after the channel is switched.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] channel-switch announcement disable
Format
channel-switch mode { stop-transmitting | continue-transmitting }
Parameters
Parameter Description Value
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
During channel switching, STA communication is interrupted. The administrator
can stop an associated STA sending data on the current channel until channel
switching is complete. Alternatively, data transmission from STAs can be continued
on the current channel before channel switching is complete.
Example
# Stop data transmission from STAs on the current channel during channel
switching.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] channel-switch mode stop-transmitting
9.14 copy-from
Function
The copy-from command copies data to the current profile from a profile of the
same type.
Format
copy-from profile-name
Parameters
Parameter Description Value
profile-name Specifies the name of the profile from The profile name
which data is copied. must already exist.
Views
All WLAN profile views except the WIDS profile, WIDS whitelist profile view, WIDS
spoof SSID profile
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
You can run the copy-from command to copy data to the current profile from a
profile of the same type. This simplifies profile configuration and improves
configuration efficiency.
● To create a profile that has the same configuration as an existing profile,
enter the view of the profile to be created and run the copy-from command
to copy data from the existing profile.
● To create a profile that has most configurations the same as an existing
profile, enter the view of the new profile, run the copy-from command to
copy data from the existing profile, and modify the different configurations.
Precautions
If the current profile is referenced by another profile, you cannot run the
command to copy data to the current profile.
When the WAPI certificate or private key configuration exists in the security
profile, you must manually perform the configuration instead of using this
command to copy data.
Example
# Create the VAP profile huawei and copy data from the profile sample.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name huawei
[HUAWEI-wlan-vap-prof-huawei] copy-from sample
9.15 country-code
Function
The country-code command configures a country code.
The undo country-code command restores the default country code.
By default, the country code CN is configured.
Format
country-code country-code
undo country-code
Parameters
Parameter Description Value
Views
WLAN view
Default Level
2: Configuration level
Usage Guidelines
AM Armenia
AR Argentina
AT Austria
AU Australia
AZ Azerbaijan
BE Belgium
BG Bulgaria
BH Bahrain
BN Brunei Darussalam
BO Bolivia
BR Brazil
BY Belarus
BZ Belize
CA Canada
CH Switzerland
CL Chile
CN China (default)
CO Colombia
CR Costa Rica
CY Cyprus
CZ Czech Republic
DE Germany
DK Denmark
DO Dominican Republic
EC Ecuador
EE Estonia
EG Egypt
ES Spain
FI Finland
FR France
GB United Kingdom
GE Georgia
GR Greece
GT Guatemala
HN Honduras
HR Croatia
HU Hungary
ID Indonesia
IE Ireland
IL Israel
IN India
IQ Iraq
IR Iran
IS Iceland
IT Italy
JO Jordan
JP Japan
KR Republic of Korea
KW Kuwait
KZ Kazakhstan
LB Lebanon
LI Liechtenstein
LK Sri Lanka
LT Lithuania
LU Luxembourg
LV Latvia
MA Morocco
MC Monaco
MK Macedonia
MT Malta
MX Mexico
MY Malaysia
NG Nigeria
NL Netherlands
NO Norway
NZ New Zealand
OM Oman
PA Panama
PE Peru
PH Philippines
PK Pakistan
PL Poland
PR Puerto Rico
PT Portugal
QA Qatar
RO Romania
RS Serbia
RU Russia
SA Saudi Arabia
SE Sweden
SG Singapore
SI Slovenia
SK Slovakia
SV El Salvador
SY Syria
TH Thailand
TN Tunisia
TR Turkey
UA Ukraine
US United States
UY Uruguay
UZ Uzbekistan
VE Venezuela
VN Vietnam
YE Yemen
ZA South Africa
ZW Zimbabwe
Usage Scenario
You can configure country codes for devices to satisfy different radio features in
different countries or regions, such as power and channel codes.
Configuration Impact
Example
# Set the country code to US.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] country-code us
Warning: Modifying the country code will clear channel, power and antenna gain configurations of the
radio. Continue?[Y/N]:y
Format
deny-broadcast-probe enable
Parameters
None
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Precautions
Example
# Configure an AP not to respond to broadcast Probe Request frames.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] deny-broadcast-probe enable
Function
The dhcp option82 insert enable command enables the function of adding the
Option 82 field to DHCP packets sent by STAs.
The undo dhcp option82 insert enable command disables the function of adding
the Option 82 field to DHCP packets sent by STAs.
By default, the function of adding the Option 82 field to DHCP packets sent by
STAs is disabled.
Format
dhcp option82 insert enable
undo dhcp option82 insert enable
Parameters
None
Views
VAP profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
After going online, a STA obtains the IP address through DHCP. When the DHCP
Request packet from the STA reaches an AP, the AP adds the Option 82 field to
the packet and sends the packet to the DHCP server. The Option 82 field contains
the MAC address or SSID of the associated AP. Therefore, the DHCP server knows
the AP on which the STA goes online.
Prerequisites
Before enabling the function of adding the Option 82 field to DHCP packets sent
by STAs, run the undo learn-client-address disable command to enable the STA
IP address learning. By default, STA IP address learning is enabled.
Example
# Enable the function of adding the Option 82 field to DHCP packets sent by STAs.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] dhcp option82 insert enable
Format
dhcp option82 { circuit-id | remote-id } format { ap-mac [ mac-format
{ normal | compact | hex } ] | ap-mac-ssid [ mac-format { normal | compact } ]
| user-defined text | ap-name | ap-name-ssid }
Parameters
user-defined text Sets the format of Option 82 to the user- The value is a
defined format. string of 1 to 255
characters.
Views
VAP profile view
Default Level
2: Configuration level
Usage Guidelines
After an AP is enabled to insert the Option 82 field in DHCP packets sent from a
STA, you can run the dhcp option82 format command to configure the format of
the Option 82 field.
You can use the following keywords to define the Option 82 field.
● ap-mac: MAC address of the AP. After DHCP packets from a STA reach an AP,
the AP inserts its MAC address into the Option 82 field of the DHCP packets.
● ap-mac-ssid: MAC address and SSID of the AP. After DHCP packets from a
STA reach an AP, the AP inserts its MAC address and SSID associated with the
STA into the Option 82 field of the DHCP packets.
● ap-name: AP name. After DHCP packets from a STA reach an AP, the AP
inserts its name into the Option 82 field of the DHCP packets.
● ap-name-ssid: AP name and SSID. After DHCP packets from a STA reach an
AP, the AP inserts its name and associated SSID into the Option 82 field of the
DHCP packets.
When you define the format of the Option 82 field, the total length of the circuit-
id and remote-id options in the Option 82 field cannot exceed 255 bytes.
Otherwise, some Option 82 information may be lost. Note that a Chinese
character may occupy 2 or 3 bytes.
Example
# Set the format of remote-id in Option 82 carried in DHCP packets sent by STAs
to ap-mac-ssid.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] dhcp option82 remote-id format ap-mac-ssid
9.19 display ap
Function
The display ap command displays AP information.
Format
display ap
Parameters
None
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
To view information about APs, run this command.
Example
# Display AP information.
<HUAWEI> display ap
AP detail information:
--------------------------------------------------------------------------------
AP type: AP8130DN
AP MAC: 00e0-fc3f-e900
State: normal
AP high temperature threshold(degree C) : 83
AP low temperature threshold(degree C) : -43
--------------------------------------------------------------------------------
Item Description
Format
display ap configurable channel
Parameters
None
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
Different countries or regions use different wireless channels and powers. Setting
country and area codes can specify channels that can be used on WLANs of
different countries. The display ap configurable channel command displays the
configurable channels supported by a specified AP.
Example
# Display configurable channels supported by AP.
<HUAWEI> display ap configurable channel
2.4G 20M : 1,2,3,4,5,6,7,8,9,10,11,12,13.
2.4G 40M+: 1,2,3,4,5,6,7.
2.4G 40M-: 5,6,7,8,9,10,11.
5G 20M : 36,40,44,48,52,56,60,64,149,153,157,161,165.
5G 40M+: 36,44,52,60,149,157.
5G 40M-: 40,48,56,64,153,161.
5G 80M : 36,40,44,48,52,56,60,64,149,153,157,161.
Item Description
Item Description
Format
display interface wlan-radio [ wlan-radio-number | main ]
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
Usage Scenario
To check the status of a radio interface or locate an interface fault, you can run
the display interface wlan-radio command to obtain the status and
configuration of the radio interface. The information can help you locate interface
faults.
Precautions
If [ wlan-radio-number | main ] is not specified, the display interface wlan-radio
command displays the status and configuration of all radio interfaces in the
system.
Example
# Display the status and configuration of the specified radio interface.
<HUAWEI> display interface wlan-radio 0/0/0
Wlan-Radio0/0/0 current state : UPLine protocol current state : UP
Description:HUAWEI, AP Series, Wlan-Radio0/0/0 Interface
Switch Port, TPID : 8100(Hex), The Maximum Transmit Unit is 1500
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00bc-da3f-e900
Last physical up time : 2005-07-31 15:12:29 UTC+08:00
Last physical down time : 2005-07-31 15:12:24 UTC+08:00
Current system time: 2005-08-04 15:52:09+08:00
Input bandwidth utilization : --
Output bandwidth utilization : --
Last physical up time Last time the interface went Up physically. If this field
displays "-", the physical status of the interface does not
change.
Last physical down Last time the interface went Down physically. If this
time field displays "-", the physical status of the interface
does not change.
Format
display radio all
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run this command to view the working status of AP radios.
Example
# Display the working status of AP radios.
<HUAWEI> display radio all
CH/BW:Channel/Bandwidth
CE:Current EIRP (dBm)
ME:Max EIRP (dBm)
CU:Channel utilization
ST:Status
WM:Working Mode (normal/monitor/monitor dual-band-scan)
-------------------------------------------------------------------
RfID Band Type ST CH/BW CE/ME STA CU WM
-------------------------------------------------------------------
0 2.4G bgn on 6/20M 24/24 0 55% normal
1 5G an on 56/20M 25/25 0 3% normal
--------------------------------------------------------------------
Total:2
Item Description
Item Description
CU Channel utilization.
When an AP radio works in monitor
mode, this parameter is displayed as -.
Format
display radio-2g-profile { all | name profile-name }
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run this command to view configuration and reference information about
a 2G radio profile.
Example
# Display information about all 2G radio profiles.
<HUAWEI> display radio-2g-profile all
----------------------------------------------------------
Profile name Reference
----------------------------------------------------------
default 1
----------------------------------------------------------
Total: 1
Item Description
Item Description
Item Description
Item Description
Item Description
Item Description
Item Description
Format
display radio-5g-profile { all | name profile-name }
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run this command to view configuration and reference information about
a 5G radio profile.
Example
# Display information about all 5G radio profiles.
<HUAWEI> display radio-5g-profile all
----------------------------------------------------------
Profile name Reference
----------------------------------------------------------
default 1
----------------------------------------------------------
Total: 1
Smart-antenna : disable
Agile-antenna-polarization : disable
CCA threshold(dBm) :-
High PER threshold(%) : 80
Low PER threshold(%) : 20
Training interval(s) : auto
Training mpdu num : 640
Throughput trigger training threshold (%) : 10
------------------------------------------------------------
AP EDCA parameters:
------------------------------------------------------------
ECWmax ECWmin AIFSN TXOPLimit(32us) Ack-Policy
AC_VO 3 2 1 47 normal
AC_VI 4 3 1 94 normal
AC_BE 6 4 3 0 normal
AC_BK 10 4 7 0 normal
------------------------------------------------------------
Item Description
Item Description
Item Description
Item Description
Item Description
Item Description
Format
display references radio-2g-profile name profile-name
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run the display references radio-2g-profile command to view reference
information about a 2G radio profile.
Example
# Display reference information about the 2G radio profile default.
<HUAWEI> display references radio-2g-profile name default
----------------------------------------------------------------------
Reference type Reference name Reference radio
----------------------------------------------------------------------
AP-group Wlan-Radio0/0/0 Radio-0
----------------------------------------------------------------------
Total:1
Item Description
Format
display references radio-5g-profile name profile-name
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run the display references radio-5g-profile command to view reference
information about a 5G radio profile.
Example
# Display reference information about the 5G radio profile default.
<HUAWEI> display references radio-5g-profile name default
----------------------------------------------------------------------
Reference type Reference name Reference radio
----------------------------------------------------------------------
AP-group Wlan-Radio0/0/0 Radio-0
----------------------------------------------------------------------
Total:1
Format
display references ssid-profile name profile-name
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run the display references ssid-profile command to view reference
information about an SSID profile.
Example
# Display reference information about the SSID profile default.
<HUAWEI> display references ssid-profile name default
-------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------
VAP profile vap-profile1
-------------------------------------------------------------------
Total:1
Format
display references vap-profile name profile-name
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run the display references vap-profile command to view reference
information about a VAP profile.
Example
# Display reference information about the VAP profile default.
<HUAWEI> display references vap-profile name default
--------------------------------------------------------------------------------
Reference type Reference name WLAN ID
--------------------------------------------------------------------------------
Interface Wlan-Radio0/0/0 1
--------------------------------------------------------------------------------
Total: 1
Item Description
Format
display resource occupancy message
Parameters
None
Views
All views
Default Level
2: Configuration level
Usage Guidelines
None
Example
# Display average usage of the Dopra message unit within the latest 10 minutes.
<HUAWEI> display resource occupancy message
Average usage rate of system message in 10 minutes: 0%
Format
display ssid-profile { all | name profile-name }
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run the display ssid-profile command to check configuration and
reference information about SSID profiles.
Example
# Display information about all SSID profiles.
<HUAWEI> display ssid-profile all
---------------------------------------------------------------
Profile name Beacon 2.4G/5G rate(Mbps) Reference SSID
---------------------------------------------------------------
default 1/6 2 HUAWEI-WLAN
---------------------------------------------------------------
Total: 1
AC_VO 3 2 2 47
AC_VI 4 3 2 94
AC_BE 10 4 3 0
AC_BK 10 4 7 0
-------------------------------------------------------------------
Item Description
Action upon reaching the max STA Action to take when the number of
number access users reaches the maximum.
● SSID hide: hiding the SSID
● SSID broadcast: broadcasting the
SSID
● priority-based STA replacement:
allowing access of VIP users instead
of non-VIP users based on priorities
To configure this parameter, run the
reach-max-sta command.
Item Description
Item Description
Item Description
Item Description
Format
display station { sta-mac sta-mac-address | all | interface interface }
Parameters
Parameter Description Value
sta-mac sta- Displays access information about a STA The STA's MAC
mac-address with the specified MAC address. address must exist.
STA information can
be displayed only
when the AP
associated with the
STA is in normal
state.
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run the display station command to view access information about STAs.
You can run the display access-user command to view access information about
online wired and wireless users. The information includes users' authentication,
authorization, and accounting information.
Example
# Display access information about all STAs.
<HUAWEI> display station all
Rf/WLAN: Radio ID/WLAN ID
Rx/Tx: link receive rate/link transmit rate(Mbps)
-----------------------------------------------------------------------------------------------------------
STA MAC Ap name Rf/WLAN Band Type Rx/Tx RSSI VLAN IP address SSID Status
-----------------------------------------------------------------------------------------------------------
00e0-fc12-3456 1047-8007-6f80 0/2 2.4G 11n 3/8 -70 10 10.10.10.253 tap1 Normal
-----------------------------------------------------------------------------------------------------------
Total: 1 2.4G: 1 5G: 0
Item Description
Ap name AP name.
Item Description
Station's HT capability : WQ
Station capabilities :E
Station PMF capabilities : PMFC=0,PMFR=0
Station VHT capabilities
256QAM capabilities : Yes
VHT explicit beamforming capabilities : Yes
MU-MIMO capabilities : Yes
Station HE capabilities
OFDMA capabilities : No
BSS color capabilities : No
Station's RM capabilities
Neighbor Report : Yes
Beacon Passive Measurement : Yes
Beacon Active Measurement : Yes
Beacon Table Measurement : Yes
Station's RSSI(dBm) : -28
Station's radio mode : 11n
Station's AP ID :0
Station's AP Name : area_3
Station's Radio ID :1
Station's Authentication Method : Open
Station's Cipher Type : NO CIPHER
Station's User Name : b8782eb42689
Station's Vlan ID : 22
Station's Channel Band-width : 20MHz
Station's asso BSSID : 00e0-fc12-3457
Station's state : Asso with auth
Station's QoS Mode : WMM
Station's HT Mode : HT20
Station's MCS value :9
Station's NSS value :2
Station's Short GI : nonsupport
Station's roam state : No
HAC CAPWAP IP :-
HAP CAPWAP IP : 10.23.100.1
Supported band : 2.4G/5G
Supported 2.4G channels :-
Supported 5G channels : 36,40,44,48,52,56,60,64
: 149,153,157,161,165
802.11k support : Yes
802.11r support : Yes
802.11v support : No
Station device type : windows
U-APSD list:
-------------------------------------------------------
AC-VI AC-VO AC-BE AC-BK
-------------------------------------------------------
not-support not-support not-support not-support
-------------------------------------------------------
------------------------------------------------------------------------------
Item Description
Item Description
Item Description
Item Description
Format
display station offline-record { all | sta-mac sta-mac }
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
After a STA goes offline, you can use this command to check the reason why the
STA goes offline.
Example
# Display all STAs' going-offline records.
<HUAWEI> display station offline-record all
Reason distribution
----------------------------------------------------------------------------------------
Reason Count Percent
----------------------------------------------------------------------------------------
The STA ages out. 1 14.29%
Other Reasons. 6 85.71%
----------------------------------------------------------------------------------------
Total Count: 7
Recent records
Rf/WLAN: Radio ID/WLAN ID
------------------------------------------------------------------------------
STA MAC Ap name Rf/WLAN Last record time
Reason
------------------------------------------------------------------------------
Last record time Time when the STA went offline last
time.
Format
display station online-fail-record { all | sta-mac sta-mac-address }
Parameters
Parameter Description Value
sta-mac sta- Displays online failure records of the STA The STA's MAC
mac-address with the specified MAC address. address must exist.
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
If a STA fails to go online, you can run the command to check the failure reason,
which helps locate the fault.
After the number of records of STAs' failures to go online reaches the maximum
that can be stored, new records overwrite existing ones.
Example
# Display online failure records of all STAs.
<HUAWEI> display station online-fail-record all
Reason distribution
----------------------------------------------------------------------------------------
Reason Count Percent
----------------------------------------------------------------------------------------
The key is incorrect or the STA uses the cached PMK. 1 100.00%
----------------------------------------------------------------------------------------
Total Count: 1
Recent records
Rf/WLAN: Radio ID/WLAN ID
------------------------------------------------------------------------------
STA MAC Ap name Rf/WLAN Last record time
Reason
------------------------------------------------------------------------------
00e0-fc12-3456 area_11 0/1 2018-04-11/15:53:18
The key is incorrect or the STA uses the cached PMK.
------------------------------------------------------------------------------
Total stations: 1 Total records: 1
STA authentication times out. Reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Invalid association request packet. Reassociate the STA with the network.
If this fault persists, the STA may be
incompatible. Contact technical
support personnel.
Authentication fails in the association Reassociate the STA with the network.
stage. If this fault persists, contact technical
support personnel.
The STA is not authenticated. Reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
The AP does not support the rate set Reassociate the STA with the network
specified in the association request or modify the basic rate set in the
packet of the STA. radio profile.
Failed to decrypt the challenge packet. Reassociate the STA with the network
or check whether the STA works
properly. If this fault persists, contact
technical support personnel.
Access from legacy STAs is denied. Check whether the configuration for
denying access of legacy STAs is
required. To modify this configuration,
run the undo legacy-station disable
command to permit access of legacy
STAs.
The number of STAs exceeds the Expand the network capacity or retain
physical specifications allowed by the the current configuration as required.
AP.
The WMM capability of the STA and Check whether WMM is forcibly
VAP does not match. enabled in the radio profile or check
the specified configuration of the STA.
STAs have a compatibility issue(STAs Check whether the STA supports the
do not support short timeslots). 802.11g protocol.
STAs have a compatibility issue(STAs Check whether the STA supports the
do not support DFS.) 802.11h protocol.
The STA is not in the global whitelist. Check whether the STA needs to be
added to the global whitelist.
The STA is in the global blacklist. Check whether the STA needs to be
added to the global blacklist.
The STA is not in the VAP's whitelist. Check whether the STA needs to be
added to the VAP's whitelist.
The STA is in the VAP's blacklist. Check whether the STA needs to be
added to the VAP's blacklist.
The STA associates with a heavily Check whether the load balancing
loaded radio. configuration is proper.
The STA is in the dynamic blacklist. View the attack record to check
whether the STA is an attacker.
The number of users exceeds the Expand the network capacity or run
maximum allowed on the VAP defined the max-sta-number command to
by the AC. increase the maximum number of STAs
associated with the VAP.
Batch backup is in progress. STA access Reassociate the STA with the network.
is denied. If this fault persists, contact technical
support personnel.
STA access failed due to other reasons. Reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
During roaming association, the SSID Check whether the SSID is the same
is inconsistent with that before before and after roaming. If this fault
roaming. persists, contact technical support
personnel.
During roaming association, the STA Reassociate the STA with the network.
status is abnormal. If this fault persists, contact technical
support personnel.
The STA fails the roaming check due Reassociate the STA with the network.
to other reasons. If this fault persists, contact technical
support personnel.
The STA uses a static IP address. Check whether the static IP address is
configured by the user. If so, configure
the STA to dynamically obtain an IP
address.
The STA's SNR is below the user CAC Check whether the SNR-based user
threshold. CAC threshold is properly set. To
modify this threshold, run the uac
client-snr threshold command and
reassociate the STA with the WLAN.
Alternatively, determine the STA
location and provide coverage to the
location.
The number of STAs exceeds the UAC Check whether the CAC threshold
threshold of the radio. based on the number of users is
properly set. To modify this threshold,
run the uac client-number threshold
command and reassociate the STA
with the WLAN.
The channel utilization of the radio Check whether the user CAC threshold
has reached the upper threshold. based on the channel utilization is
properly set. To modify this threshold,
run the uac channel-utilization
threshold command and reassociate
the STA with the WLAN.
The STA does not send an Reassociate the STA with the network.
authentication request before If this fault persists, contact technical
associating with the network. support personnel.
The encryption mode used by STAs is Check the encryption modes used by
different from that used by the VAP. STAs and the VAP.
The possible cause is that the STA Reassociate the STA with the network.
configuration is incorrect, the signal If this fault persists, contact technical
quality on the air interface is low, or support personnel.
the AC forces the STA to reassociate
with the network to ensure
uninterrupted STA services.
The client capability does not match. The client capability does not meet the
requirements. Upgrade the client
version or Wi-Fi version.
Received an Authentication frame with Reassociate the STA with the network.
authentication transaction sequence If this fault persists, contact technical
number out of expected sequence. support personnel.
Invalid pairwise master key Forget the network and reassociate the
identifier(PMKID). STA with the network. If this fault
persists, contact technical support
personnel.
The key is incorrect or the STA uses Check whether the key is correct or
the cached PMK. reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Failed to receive the handshake packet Check whether the key is correct or
(2/4) from the STA. reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Failed to receive the handshake packet Check whether the key is correct or
(4/4) from the STA. reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
802.11r EAPOL Msg 2/4 did not Check whether the station has some
contain R1 name. compatibility problems and please
disable dot1x reauthenticate when
enable 802.11r. If this fault persists,
contact technical support personnel.
Key negotiation fails(the length of the Verify that the correct password is
key data is invalid). entered on the STA. If this fault
persists, contact technical support
personnel.
Key negotiation fails(the length of the Verify that the correct password is
key data(2/4) is invalid). entered on the STA. If this fault
persists, contact technical support
personnel.
Key negotiation fails(the length of the Verify that the correct password is
key data(4/4) is invalid). entered on the STA. If this fault
persists, contact technical support
personnel.
Key negotiation fails(fail to send the Verify that the correct password is
handshake packet). entered on the STA. If this fault
persists, contact technical support
personnel.
The MAC address of the access user is Run the display wlan ppsk-user all
different from that configured for the command to check whether a PPSK
PPSK account. account allows the access from this
MAC address. If so, use this PPSK
account for access. If not, configure a
PPSK account mapping this MAC
address and use the new PPSK account
for access.
The PPSK account does not exist. Run the display wlan ppsk-user all
command to check whether any PPSK
account maps the access SSID. If not,
create the PPSK account and bind it to
the SSID.
The number of PPSK users exceeds the Run the display wlan ppsk-user all
maximum value. command to query the maximum
number of access users supported by
the PPSK account, and then modify the
maximum number of access users as
required.
The PPSK account expires. Run the display wlan ppsk-user all
command to check the timeout period
of the PPSK account, and change it to
a valid time.
Key negotiation fails (message 2/4 Check whether the key is correct or
processing error). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (message 4/4 Check whether the key is correct or
processing error). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (message 1/2 Check whether the key is correct or
processing error). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (start unicast Check whether the key is correct or
negotiation fails because of incorrect reassociate the STA with the network.
input parameters). If this fault persists, contact technical
support personnel.
Key negotiation fails (start multicast Check whether the key is correct or
negotiation fails because of incorrect reassociate the STA with the network.
input parameters). If this fault persists, contact technical
support personnel.
Key negotiation fails (message 2/4 Check whether the key is correct or
authentication mode or encryption reassociate the STA with the network.
type mismatch). If this fault persists, contact technical
support personnel.
Key negotiation fails (message 4/4 Check whether the key is correct or
authentication mode or encryption reassociate the STA with the network.
type mismatch). If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid length of Check whether the key is correct or
the message 2/2). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid length of Check whether the key is correct or
WPA data packets). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid length of Check whether the key is correct or
the message 2/4). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid length of Check whether the key is correct or
the message 4/4). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid length of Check whether the key is correct or
the message 4/4 packet key). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid length of Check whether the key is correct or
the message 2/2 packet key). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid key Check whether the key is correct or
information in the message 2/4 reassociate the STA with the network.
packet). If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid key Check whether the key is correct or
information in the message 4/4 reassociate the STA with the network.
packet). If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid key Check whether the key is correct or
information in the message 2/2 reassociate the STA with the network.
packet). If this fault persists, contact technical
support personnel.
Key negotiation fails (message 2/4 Check whether the key is correct or
handshake status mismatch). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (message 4/4 Check whether the key is correct or
handshake status mismatch). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (message 2/2 Check whether the key is correct or
handshake status mismatch). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid number Check whether the key is correct or
of message 2/4 replay times). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid number Check whether the key is correct or
of message 4/4 replay times). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid number Check whether the key is correct or
of message 2/2 replay times). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (message 4/4 Check whether the key is correct or
MIC verification failure). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (message 2/2 Check whether the key is correct or
MIC verification failure). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (packet length Check whether the key is correct or
calculation failure). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (the EAP packet Check whether the key is correct or
length is 0). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (the EAP packet Check whether the key is correct or
is too long). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (the key body Check whether the key is correct or
length of EAP packets is 0). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid length of Check whether the key is correct or
the EAP packet key). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (incorrect EAP Check whether the key is correct or
packet descriptor). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid EAP Check whether the key is correct or
packet type). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (PMK parse Check whether the key is correct or
failure). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (the type is not Check whether the key is correct or
FTIE). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (invalid FTIE Check whether the key is correct or
length). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (MIC generation Check whether the key is correct or
failure). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (failure to modify Check whether the key is correct or
the rsnie field). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (failure to fill Check whether the key is correct or
FTIE data). reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Re-authentication fails (failure to fill Reassociate the STA with the network.
the start negotiation message). If this fault persists, contact technical
support personnel.
Authentication fails (failure to fill the Reassociate the STA with the network.
start negotiation message). If this fault persists, contact technical
support personnel.
Authentication fails (start negotiation Reassociate the STA with the network.
failure). If this fault persists, contact technical
support personnel.
Authentication fails (failure to receive Reassociate the STA with the network.
EAP key packets). If this fault persists, contact technical
support personnel.
Authentication fails (MAC address Reassociate the STA with the network.
authentication processing error). If this fault persists, contact technical
support personnel.
Authentication fails (MAC address Reassociate the STA with the network.
authentication failure). If this fault persists, contact technical
support personnel.
The authentication request times out. Reassociate the STA with the network.
If this fault persists, contact technical
support personnel.
Key negotiation fails (WPA key Verify that the correct password is
negotiation failure). entered on the STA. If this fault
persists, contact technical support
personnel.
Key negotiation fails (access security Verify that the correct password is
processing failure). entered on the STA. If this fault
persists, contact technical support
personnel.
Format
display station statistics [ sta-mac sta-mac-address ]
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
Usage Scenario
When you run the display station statistics command to check statistics
information about STAs,
● If no parameter is specified, statistics information about all STAs associated
with the device is displayed.
● If sta-mac is specified, the number of packets exchanged between the
specified STA and device and the corresponding rate are displayed.
Prerequisites
To view statistics information about STAs based on sta-mac, ensure that the STA
has been associated with an AP.
Example
# Display statistics information about all STAs.
<HUAWEI> display station statistics
------------------------------------------------------------------------------
Successful associations on the AC :0
AC authentication failures due to a password error :0
AC authentication failures due to an invalid algorithm :0
AC authentication failures due to timeout :0
AC authentication failures due to rejection :0
AC authentication failures due to other reasons :0
STAs supporting neighbor report :0
STAs supporting beacon report :0
Beacon passive measurement :0
Beacon active measurement :0
Beacon table measurement :0
2.4G-only STAs :0
5G-only STAs :0
Dual-band STAs :0
Online STAs :0
STAs associated with 2.4G band :0
STAs associated with 5G band :0
------------------------------------------------------------------------------
Item Description
Item Description
STAs associated with 2.4G band Number of STAs associated with the
2.4 GHz band. The number of STAs of
different types is displayed, including
802.11b, 802.11g, 802.11n 20 MHz,
and 802.11n 40 MHz STAs.
Item Description
Packets received from the station Number of packets sent by the STA.
Bytes received from the station Number of bytes sent by the STA.
Wireless data rate sent to the Rate at which packets are sent to the
station(kbps) STA, in kbit/s.
Wireless data rate received from the Rate at which packets are received
station(kbps) from the STA, in kbit/s.
Format
display vap { all | ssid ssid }
Parameters
Parameter Description Value
ssid ssid Displays information about service VAPs The SSID must exist.
of a specified SSID.
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run the display vap command to view information about service VAPs.
Example
# Display information about all service VAPs.
<HUAWEI> display vap all
WID : WLAN ID
---------------------------------------------------------------------
AP MAC RfID WID BSSID Status Auth type STA SSID
---------------------------------------------------------------------
00bc-da3f-e900 0 3 00BC-DA3F-E902 ON Open 0 GUEST-WLAN
---------------------------------------------------------------------
Total: 1
Format
display vap-profile { all | name profile-name }
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run this command to check configuration and reference information
about VAP profiles.
Example
# Display information about all VAP profiles.
<HUAWEI> display vap-profile all
STA U/D : Rate limit client up/down
VAP U/D : Rate limit VAP up/down
BR2G/5G : Beacon 2.4G/5G rate
------------------------------------------------------------------------------------------------------------
Name Type VLAN AuthType STA U/D(Kbps) VAP U/D(Kbps) BR2G/5G(Mbps) Reference
SSID
------------------------------------------------------------------------------------------------------------
default service VLAN 1 Open -/- -/- 1/6 0 HUAWEI-WLAN
vap-profile1 service VLAN 1 Open -/- -/- 1/6 0 HUAWEI-WLAN
------------------------------------------------------------------------------------------------------------
Total: 2
Item Description
Item Description
Item Description
Item Description
ARP flood STA rate threshold Rate threshold for ARP flood detection.
To configure this parameter, run the
anti-attack flood sta-rate-threshold
command.
Item Description
IGMP flood STA rate threshold Rate threshold for IGMP flood
detection.
To configure this parameter, run the
anti-attack flood sta-rate-threshold
command.
DHCP flood STA rate threshold Rate threshold for DHCP flood
detection.
To configure this parameter, run the
anti-attack flood sta-rate-threshold
command.
Item Description
DHCPv6 flood STA rate threshold Rate threshold for DHCPv6 flood
detection.
To configure this parameter, run the
anti-attack flood sta-rate-threshold
command.
mDNS flood STA rate threshold Rate threshold for mDNS flood
detection.
To configure this parameter, run the
anti-attack flood sta-rate-threshold
command.
Item Description
Other broadcast flood STA rate Rate threshold for flood detection of
threshold broadcast packets other than ARP,
DHCP, DHCPv6, and ND packets.
To configure this parameter, run the
anti-attack flood sta-rate-threshold
command.
Other multicast flood STA rate Rate threshold for flood detection of
threshold multicast packets other than IGMP
and mDNS packets.
To configure this parameter, run the
anti-attack flood sta-rate-threshold
command.
Item Description
Item Description
Format
display wlan config-errors
Parameters
None
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run this command to check WLAN configuration errors.
Example
# Display WLAN configuration errors.
<HUAWEI> display wlan config-errors
--------------------------------------------------------------------------------
Profile Error
--------------------------------------------------------------------------------
vap-profile 1 The authentication type specifie
d in the authentication-profile 1 does not match that in the security-profile 1.
--------------------------------------------------------------------------------
Total: 1
Format
display station online-track sta-mac-address
Parameters
Parameter Description Value
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run this command to view online time information about a STA.
Example
# Display online time information about a specified STA.
<HUAWEI> display station online-track 00e0-fc08-9abf
------------------------------------------------------------------------------
Event Event Start(hh:mm:ss) Event End(hh:mm:ss) Cost(ms)
------------------------------------------------------------------------------
Association 14:20:28 14:20:28 10
Auth 14:20:28 14:20:30 2240
WPA 14:20:30 14:20:31 330
DHCP 14:20:31 14:20:31 10
------------------------------------------------------------------------------
Total cost: 2590ms
Item Description
Format
display vap create-fail-record { ap-mac ap-mac | all }
Parameters
Parameter Description Value
ap-mac ap- Displays records about VAP creation The AP's MAC
mac failures on an AP with the specified MAC address must exist.
address.
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run the display vap create-fail-record command to check records about
VAP creation failures.
Example
# Display all records about VAP creation failures.
<HUAWEI> display vap create-fail-record all
Rf/WLAN: Radio ID/WLAN ID
-------------------------------------------------------------------------------
AP MAC Rf/WLAN Profile Name
VAP Type Reason
-------------------------------------------------------------------------------
00e0-fc76-e360 0/4 1
Service Preshared key is not configured.
00e0-fc76-e370 1/4 1
Service Preshared key is not configured.
00e0-fc76-e360 0/6 1
Service Preshared key is not configured.
00e0-fc76-e370 1/6 1
Service Preshared key is not configured.
-------------------------------------------------------------------------------
Total records: 4
Table 9-29 Description of the display vap create-fail-record all command output
Item Description
The bridge is enabled. WLAN IDs 13 and 14 are Select another WLAN ID
Please undo first. used to set up a WDS or delete the WDS
bridge. Select other configuration.
WLAN IDs or delete the
WDS configuration.
Format
display vap-service-backup auth-server-down [ vap-profile profile-name ]
Parameters
Parameter Description Value
vap-profile profile- Specifies the name of a VAP The VAP profile name
name profile. must exist.
Views
All views
Default Level
1: Monitoring level
Usage Guidelines
You can run this command to check the status of an authentication-server-down
backup service VAP.
Example
# Display the status of an authentication-server-down backup service VAP.
<HUAWEI> display vap-service-backup auth-server-down
----------------------------------------------------------------------------------------------------
Vap-profile VapSwitch Mode Radius-template RadiusState
----------------------------------------------------------------------------------------------------
vap-1 ON Auto Radius-1 Down
vap-2 ON Manual Radius-2 Down
vap-3 OFF Manual Radius-3 Up
----------------------------------------------------------------------------------------------------
Total:3
Item Description
Format
dot11a basic-rate { dot11a-rate-value &<1-8> | all }
undo dot11a basic-rate
Parameters
Parameter Description Value
Views
5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
The rates specified in the basic rate set must be supported by both the AP and
STA; otherwise, the STA cannot associate with the AP. For example, if you
configure the basic rate set to contain rates 6 Mbps and 9 Mbps and deliver the
configuration to an AP, only STAs supporting the two rates can associate with the
AP. The AP and STA select a rate from the basic rate set or the supported rate set
to transmit packets.
After you run this command to configure a basic rate set in a radio profile, bind
the radio profile to an AP radio interface. If a STA associates with the AP in
802.11a mode, the STA must support all rates specified by the basic rate set;
otherwise, the STA cannot associate with the AP.
Precautions
This configuration applies only to STAs associated with an AP in 802.11a mode but
does not take effect on STAs associated with the AP in other modes.
The basic rate set and supported rate set cannot be empty simultaneously.
Example
# Configure the 802.11a basic rate set to contain rates 6 Mbps and 9 Mbps in the
5G radio profile default.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-5g-profile name default
[HUAWEI-wlan-radio-5g-prof-default] dot11a basic-rate 6 9
Format
dot11a supported-rate { dot11a-rate-value &<1-8> | all }
undo dot11a supported-rate
Parameters
Parameter Description Value
Views
5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
The supported rate set contains rates supported by the AP except the basic rates.
The AP and STA can transmit data at all rates specified by the supported rate set.
The AP and STA select a rate from the basic rate set or the supported rate set to
transmit packets.
When a STA supports rates specified in the basic rate set, the STA can associate
with the AP regardless of whether the STA supports rates specified in the
supported rate set. In this case, the AP and STA can only select a rate from the
basic rate set to transmit packets. For example, assume that you configure the
basic rate set to contain rates 6 Mbps and 9 Mbps and the supported rate set to
contain rates 48 Mbps and 54 Mbps. After you deliver the configurations to an AP,
the STA supporting 6 Mbps and 9 Mbps can associate with the AP, and select
either of the two rates to transmit packets with the AP. However, if the STA
supports 6 Mbps, 9 Mbps, and 54 Mbps, the STA and AP select any of the three
rates to transmit packets after the STA associates with the AP.
After you run this command to configure a supported rate set in a radio profile,
bind the radio profile to an AP radio interface. If a STA associates with the AP in
802.11a mode, the AP and STA select a rate from the basic rate set or supported
rate set to transmit packets.
Precautions
This configuration applies only to STAs associated with an AP in 802.11a mode but
does not take effect on STAs associated with the AP in other modes.
The basic rate set and supported rate set cannot be empty simultaneously.
Example
# Configure the 802.11a supported rate set to contain rates 6 Mbps and 9 Mbps in
the 5G radio profile default.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-5g-profile name default
[HUAWEI-wlan-radio-5g-prof-default] dot11a supported-rate 6 9
Format
dot11bg basic-rate { dot11bg-rate-value &<1-12> | all }
undo dot11bg basic-rate
Parameters
Parameter Description Value
Views
2G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
The rates specified in the basic rate set must be supported by both the AP and
STA; otherwise, the STA cannot associate with the AP. For example, if you
configure the basic rate set to contain rates 6 Mbps and 9 Mbps and deliver the
configuration to an AP, only STAs supporting the two rates can associate with the
AP. The AP and STA select a rate from the basic rate set or the supported rate set
to transmit packets.
After you run this command to configure a basic rate set in a radio profile, bind
the radio profile to an AP radio interface. If a STA associates with the AP in
802.11bg mode, the STA must support all rates specified by the basic rate set;
otherwise, the STA cannot associate with the AP.
Precautions
This configuration applies only to STAs associated with an AP in 802.11bg mode
but does not take effect on STAs associated with the AP in other modes.
The basic rate set and supported rate set cannot be empty simultaneously.
Example
# Configure the 802.11bg basic rate set to contain rates 6 Mbps and 9 Mbps in the
2G radio profile default.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] dot11bg basic-rate 6 9
The undo dot11bg supported-rate command restores the default supported rate
set of the 802.11bg protocol in a 2G radio profile.
By default, the supported rate set of the 802.11bg protocol in a 2G radio profile
includes rates 1 Mbps, 2 Mbps, 5.5 Mbps, 6 Mbps, 9 Mbps, 11 Mbps, 12 Mbps, 18
Mbps, 24 Mbps, 36 Mbps, 48 Mbps, and 54 Mbps.
Format
dot11bg supported-rate { dot11bg-rate-value &<1-12> | all }
Parameters
Parameter Description Value
Views
2G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
The supported rate set contains rates supported by the AP except the basic rates.
The AP and STA can transmit data at all rates specified by the supported rate set.
The AP and STA select a rate from the basic rate set or the supported rate set to
transmit packets.
When a STA supports rates specified in the basic rate set, the STA can associate
with the AP regardless of whether the STA supports rates specified in the
supported rate set. In this case, the AP and STA can only select a rate from the
basic rate set to transmit packets. For example, assume that you configure the
basic rate set to contain rates 6 Mbps and 9 Mbps and the supported rate set to
contain rates 48 Mbps and 54 Mbps. After you deliver the configurations to an AP,
the STA supporting 6 Mbps and 9 Mbps can associate with the AP, and select
either of the two rates to transmit packets with the AP. However, if the STA
supports 6 Mbps, 9 Mbps, and 54 Mbps, the STA and AP select any of the three
rates to transmit packets after the STA associates with the AP.
After you run this command to configure a supported rate set in a radio profile,
bind the radio profile to an AP radio interface. If a STA associates with the AP in
802.11bg mode, the AP and STA select a rate from the basic rate set or supported
rate set to transmit packets.
Precautions
This configuration applies only to STAs associated with an AP in 802.11bg mode
but does not take effect on STAs associated with the AP in other modes.
The basic rate set and supported rate set cannot be empty simultaneously.
Example
# Configure the 802.11bg supported rate set to contain rates 6 Mbps and 9 Mbps
in the 2G radio profile default.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] dot11bg supported-rate 6 9
9.45 dtim-interval
Function
The dtim-interval command sets the delivery traffic indication map (DTIM)
interval in an SSID profile.
The undo dtim-interval command restores the default DTIM interval in an SSID
profile.
By default, the DTIM interval is 1.
Format
dtim-interval dtim-interval
undo dtim-interval
Parameters
Parameter Description Value
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
DTIM refers to delivery traffic indication map. After a STA enters the dormancy
mode, the associated AP saves the broadcast and multicast frames for the STA.
When a Beacon frame sent to the STA by the AP contains DTIM, the saved
broadcast and multicast frames will be transmitted to the STA. The DTIM interval
refers to the number of Beacon frames sent before the Beacon frame that contains
the DTIM. To set the interval for sending Beacon frames in an SSID profile, run the
beacon-interval command.
● When the STA is in the dormancy status, the AP saves data transmitted to the
STA and notifies the STA with a bit in broadcast Beacon frames. The STA
receives data according to this bit. You can run this command to set the DTIM
interval in the specified SSID profile.
● The DTIM interval specifies how many Beacon frames are sent before the
Beacon frame that contains the DTIM. A long DTIM interval lengthens the
dormancy time of the STA and saves power, but degrades the transmission
capability of the STA. A short interval helps transmitting data in a timely
manner, but the STA is waken up frequently, causing high power consumption.
Example
# Set the DTIM interval to 5 in the SSID profile ssid1.
<HUAWEI> system-view
[HUAWEI] wlan
9.46 eirp
Function
The eirp command configures the transmit power for a radio.
The undo eirp command restores the transmit power for a radio.
By default, the transmit power of a radio is 127 dBm. The transmit power that
takes effect on APs is related to the AP type, country code, channel, and channel
bandwidth. It is the maximum transmit power supported by the AP radio under
the current configuration.
Format
eirp eirp
undo eirp
Parameters
Parameter Description Value
Views
Radio interface view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
You can configure the transmit power for a radio based on actual network
environments, enabling radios to provide the required signal strength and
improving signal quality on WLANs.
Precautions
The value of antenna-gain in the antenna-gain antenna-gain command must be
consistent with the gain of the antenna connected to an AP.
If automatic transmit power selection is enabled by running the calibrate auto-
txpower-select enable command, the transmit power configured by running the
eirp command does not take effect. The automatically selected transmit power
prevails.
Example
# Set the transmit power to 30 dBm for the radio interface Wlan-Radio 0/0/0.
<HUAWEI> system-view
[HUAWEI] interface wlan-radio 0/0/0
[HUAWEI-Wlan-Radio0/0/0] eirp 30
Info: The EIRP value takes effect only when automatic transmit power selection i
s disabled, and the value depends on the AP specifications and local laws and re
gulations.
9.47 fragmentation-threshold
Function
The fragmentation-threshold command sets the fragmentation threshold in a
radio profile.
Format
fragmentation-threshold fragmentation-threshold
undo fragmentation-threshold
Parameters
Parameter Description Value
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
A proper packet fragmentation threshold can improve channel bandwidth usage.
Set the fragmentation threshold as required. A large threshold is recommended.
Precautions
When the packet fragmentation threshold is too small, packets are fragmented
into smaller frames. These frames are transmitted at a high extra cost, resulting in
low channel efficiency.
When the packet fragmentation threshold is too large, long packets are usually
not fragmented, which increases the transmission time and error probability. If an
error occurs, packets are retransmitted, resulting in a waste of channel bandwidth.
Example
# Set the fragmentation threshold to 1500 bytes in the 2G radio profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] fragmentation-threshold 1500
9.48 frequency
Function
The frequency command sets the working frequency of radio 0 to the 5 GHz
frequency band.
The undo frequency command restores the working frequency of radio 0 to the
2.4 GHz frequency band.
By default, radio 0 works on the 2.4 GHz frequency band, and radio 2 works on
the 5 GHz frequency band.
Format
frequency { 2.4g | 5g }
undo frequency
Parameters
None.
Views
Radio interface view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
On APs supporting radio switching between the 2.4 GHz and 5 GHz frequency
bands, some radios support both the two bands. However, such radios can work
on one band at a time. You can configure the working frequency band of the AP
based on the frequency band of STAs.
Precautions
When working in dual-5G mode, some APs support only low-band channels (36 to
64) or high-band channels (100 to 165) on the 5 GHz band.
● AP4030TN: Radio 0, radio 1, and radio 2 on all bands
● AP8130DN: Radio 0 and radio 1 on all bands
● AP8150DN: Radio 0 and radio 1 on all bands
● AP6052DN: Radio 0 on low bands and radio 1 on high bands
● AP7052DN: Radio 0 on low bands and radio 1 on high bands
● AP7152DN: Radio 0 on low bands and radio 1 on high bands
● AP8182DN: Radio 0 on low bands and radio 1 on high bands
● AP4051TN: Radio 1 on high bands and radio 2 on low bands
● AP8050TN-HD: Radio 1 on high bands and radio 2 on low bands
● AP6750-10T: Radio 1 on high bands and radio 2 on low bands
Changing the working frequency of radio 0 and radio 2 will delete the channel,
power, and antenna gain configurations on radio 0 and radio 2. If an AP uses an
external antenna, run the antenna-gain antenna-gain command to reconfigure
the antenna gain to be consistent with the gain of the external antenna connected
to the AP.
If an AP works in dual-5G mode, configure the two 5 GHz radios to work on non-
adjacent channels.
For example, a country supports 40 MHz+ 5G channels 36, 44, 52, and 60. When
deploying 5 GHz radio channels, if one radio is deployed to work on channel 36, it
is recommended that channel 52 or 60 be configured for the other radio. Channel
44 is not recommended in this case.
Example
# Set the working frequency to the 5 GHz frequency band for radio 0 of AP.
<HUAWEI> system-view
[HUAWEI] interface wlan-radio 0/0/0
[HUAWEI-Wlan-Radio0/0/0] frequency 5g
Warning: Modifying the frequency band will delete the channel, power, and antenn
a gain configurations of the current radio on the AP. Continue?[Y/N]:Y
9.49 guard-interval-mode
Function
The guard-interval-mode command configures the guard interval (GI) mode.
By default, the GI mode for 802.11n/ac is short, and the GI mode for 802.11ax is
0.8 us.
Format
guard-interval-mode { short | normal }
undo guard-interval-mode
Parameters
Parameter Description Value
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
During data transmission, the receive and transmit ends do not receive and send
data at all times. When data is transmitted and received or transmitted for
multiple times, multi-path interference exists during radio transmission in the
space. Setting the GI can reduce interference impact on signals.
A smaller GI indicates higher transmission efficiency. A larger GI indicates a higher
anti-interference capability. In indoor environments with little interference, a small
GI is recommended. In outdoor environments with high interference, a large GI is
recommended.
● The GI for 802.11a/b/g is fixed at 800 ns.
● The GI for 802.11n and 802.11ac is 400 ns (short) or 800 ns (normal).
● The GI for 802.11ax can be 0.8 us (800 ns), 1.6 us, or 3.2 us.
Example
# Set the GI mode to short.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] guard-interval-mode short
Format
he { tx | rx } mcs-map nss nss-value map mcs-value
undo he { tx | rx } mcs-map
Parameters
Parameter Description Value
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
● When the value of nss-value is greater than or equal to the number of spatial
streams actually supported by an AP, the MCS value corresponding to all the
spatial streams of the AP is the value of mcs-value.
● When the value of nss-value is smaller than the number of spatial streams
actually supported by an AP, only the MCS value corresponding to the spatial
streams on the AP is the value of mcs-value, and the maximum MCS value
corresponding to other spatial streams does not take effect.
For example, if the value of nss-value is 2, and the AP supports three spatial
streams, only the MCS value corresponding to spatial streams 1 and 2 is the
value of mcs-value, and the MCS value corresponding to spatial stream 3 does
not take effect.
Precautions
This configuration takes effect only when the AP communicates with STAs through
802.11ax.
Example
# Set the MCS value corresponding to spatial stream 4 to 9 when data is received
in an SSID profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] he rx mcs-map nss 4 map 9
The undo ht a-mpdu disable command enables the MPDU aggregation function.
Format
ht a-mpdu disable
Parameters
None
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
To reduce costs, 802.11n uses MPDU aggregation technology that aggregates two
or more frames into one frame for transmission.
The 802.11ac and 802.11ax protocols require that the A-MPDU aggregation mode
be enabled. Therefore, this command takes effect only for 2.4 GHz and 5 GHz
radios on 802.11n APs or 2.4 GHz radios on 802.11ac APs.
Example
# Disable the MPDU aggregation function.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] ht a-mpdu disable
By default, the index for the maximum length of an A-MPDU is 3. The maximum
length of the A-MPDU is 65535 bytes.
Format
ht a-mpdu max-length-exponent max-length-exponent-index
Parameters
Parameter Description Value
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
To reduce costs, 802.11n uses frame aggregation technology that aggregates two
or more frames into an A-MPDU to transmit.
Example
# Set the index of the maximum length of the A-MPDU to 2 in the 2G radio
profile default. The index 2 corresponds to a maximum length of 32767 bytes.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] ht a-mpdu max-length-exponent 2
Format
interface wlan-radio wlan-radio-number
Parameters
Parameter Description Value
wlan-radio- Displays the specified radio interface The value can be:
number view. ● 0/0/0
● 0/0/1
● 0/0/2
NOTE
All types of APs
support 2.4 GHz and
5 GHz radio
interfaces.
On APs supporting
radio switching
between the 2.4 GHz
and 5 GHz frequency
bands, some radios
support both the two
bands. However, such
radios can work on
one band at a
time.You can run the
frequency command
to change the
working frequency
band of Radio 0.
Views
System view
Default Level
2: Configuration level
Usage Guidelines
● You can configure the radio after enter the wlan-radio interface.
● you can create a VAP by binding a VAP profile to WLAN-radio interface.
Example
# Display the view of Wlan-Radio0/0/0.
<HUAWEI> system-view
[HUAWEI] interface wlan-radio0/0/0
[HUAWEI-Wlan-Radio0/0/0]
Format
legacy-station [ only-dot11b ] disable
undo legacy-station disable
Parameters
Parameter Description Value
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Non-HT STAs support only 802.11a/b/g and provide a data transmission rate far
smaller than the rate of 802.11n/ac STAs. If the non-HT STAs access the wireless
network, the data transmission rate of 802.11n/ac STAs will be reduced. To prevent
the transmission rate of 802.11n/ac STAs from being affected, you can run the
legacy-station [ only-dot11b ] disable command to deny access of all or only
802.11b-compliant non-HT STAs.
Configuration Impact
After the legacy-station disable command is run, non-HT STAs supporting only
802.11a/b/g cannot access the wireless network.
After the legacy-station only-dot11b disable command is run, non-HT STAs
supporting only 802.11b cannot access the wireless network.
After access of non-HT STAs is denied, services may be interrupted.
Precautions
After the legacy-station disable command is run, the access of non-HT STAs
supporting only 802.11a/b/g fails to be denied if any of the following functions is
configured on the non-HT STAs:
● WMM function in a 2G or 5G radio profile disabled using the wmm disable
command
● Pre-shared key authentication and TKIP encryption for WPA/WPA2 configured
using the security { wpa | wpa2 | wpa-wpa2 } psk { pass-phrase | hex } key-
value tkip command when the security profile is used
● 802.1X authentication and TKIP encryption for WPA/WPA2 configured using
the security { wpa | wpa2 | wpa-wpa2 } dot1x tkip command when the
security profile is used
● WEP authentication configured using the security wep [ share-key |
dynamic ] command when the security profile is used
● 802.11b/g radio type in the 2G radio profile configured using the radio-type
{ dot11b | dot11g } command
● 802.11a radio type in the 5G radio profile configured using radio-type dot11a
command
After the legacy-station only-dot11b disable command is run, the access of non-
HT STAs supporting only 802.11b is denied. If 802.11b radio type in the 2G radio
profile has been configured using the radio-type dot11b command, the access of
non-HT STAs supporting only 802.11b fails to be denied.
Example
# Deny access of non-HT STAs.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] legacy-station disable
Warning: If the wmm disable command, TKIP, WEP, or radio type of 802.11a/b/g is configured, the function
of denying access of legac
y STAs cannot take effect.
Format
max-sta-number max-sta-number
undo max-sta-number
Parameters
Parameter Description Value
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
More access users on a VAP indicate fewer network resources that each user can
occupy. To ensure Internet experience of users, you can run the max-sta-number
command to set a proper maximum number of successfully associated STAs on a
VAP.
Configuration Impact
After th max-sta-number command is executed, online STAs are forcibly to go
offline. When STAs reassociate with the VAP and the number of associated STAs
on the VAP reaches the maximum, new STAs fail to associate with this VAP.
The max-sta-number max-sta-number command sets the maximum number of
successfully associated STAs on a VAP.
Precautions
The maximum number of successfully associated STAs on a specified VAP refers to
the maximum number of successfully associated STAs on a VAP of a single AP.
Example
# Set the maximum number of successfully associated STAs on a VAP to 50.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] max-sta-number 50
Warning: This action may cause service interruption. Continue?[Y/N]y
9.56 multicast-rate
Function
The multicast-rate command configures the multicast rate of wireless packets in
a radio profile.
The undo multicast-rate command restores the default multicast rate of wireless
packets in a radio profile.
By default, the multicast rate of wireless packets is not configured in a radio
profile. That is, the multicast rate is set to auto-sensing.
Format
multicast-rate multicast-rate
undo multicast-rate
Parameters
Parameter Description Value
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
After this command is run, the multicast rate of wireless packets is the configured
value and irrelevant to the STA access mode.
If the configured multicast rate is not in the basic rate set and the STA does not
support this rate, the STA cannot receive multicast data.
If you run the radio-type dot11b command in the 2G radio profile view to set the
radio type to dot11b, and the 2G radio profile is applied to an AP, multicast-rate
that takes effect on the 2 GHz radio of the AP is fixed as 1 Mbps, and multicast-
rate configured in the 2G radio profile view does not take effect on the AP.
Example
# Set the multicast rate of wireless packets to 54 Mbps in the 2G radio profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] multicast-rate 54
Format
mu-mimo disable
undo mu-mimo disable
Parameters
None
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Carrier sense multiple access with collision avoidance (CSMA-CA) allows an air
interface channel to be occupied only by one STA, and other STAs cannot
communicate with the AP. After MU-MIMO is enabled, STAs supporting MU-
MIMO can form an MU group to simultaneously receive downlink data from the
same air interface channel, improving channel efficiency and overall downlink
throughput.
Precautions
Example
# EnableMU-MIMO in the SSID profile test.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name test
[HUAWEI-wlan-ssid-prof-test] undo mu-mimo disable
Format
mu-mimo optimize enable
undo mu-mimo optimize enable
Parameters
None
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
In an environment with less interference, you can run the mu-mimo optimize
enable command to enable the MU-MIMO optimization function to meet
requirements for high downlink throughput of the AP. The expected effect may fail
to be achieved in some scenarios.
Prerequisites
The MU-MIMO function has been enabled using the undo mu-mimo disable
command.
Example
# Enable the MU-MIMO optimization function in the SSID profile test.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name test
[HUAWEI-wlan-ssid-prof-test] undo mu-mimo disable
[HUAWEI-wlan-ssid-prof-test] mu-mimo optimize enable
9.59 probe-response-retry
Function
The probe-response-retry command sets the number of times Probe Response
packets are retransmitted.
The undo probe-response-retry command restores the default number of times
Probe Response packets are retransmitted.
By default, the number of Probe Response retransmissions is 1.
Format
probe-response-retry retry-time
undo probe-response-retry
Parameters
Parameter Description Value
retry-time Specifies the number of The value is an integer that ranges from
times Probe Response 0 to 3.
packets are retransmitted.
When the value is set to 0, Probe
Response packets are not retransmitted.
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
In high-density wireless scenarios, too many Probe Response frames occupy a
large number of wireless resources. To reduce wireless resource occupation of the
frames, you can run the probe-response-retry command to set a small number of
or forbid Probe Response packet retransmissions.
Precautions
A small number of Probe Response packet retransmissions may reduce the
channel scan efficiency of some STAs while a large number of Probe Response
packet retransmissions may lower the wireless network performance.
Example
# Set the number of times Probe Response packets are retransmitted to 0.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] probe-response-retry 0
Format
qbss-load enable
undo qbss-load enable
Parameters
None
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
After the qbss-load enable command is executed, STAs are notified of the AP load
status during the STA association. The notified information includes the number of
STAs associated with AP radios and channel utilization. A STA selects the optimal
AP based on the load of each AP to improve air interface performance.
NOTE
This command takes effect only when dynamic load balancing is disabled, because with
dynamic load balancing enabled, APs will definitely notify STAs of their loads.
Modifying this configuration will cause STAs connected to the SSID to go offline and then
online, interrupting STAs' services.
Example
# Enable the function of notifying STAs of AP load information in the SSID profile
ssid1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] qbss-load enable
Format
radio disable
undo radio disable
Parameters
None
Views
Radio interface view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
You can run this command to enable or disable a specified radio.
Example
# Disable the radio interface Wlan-Radio 0/0/0.
<HUAWEI> system-view
[HUAWEI] interface wlan-radio 0/0/0
[HUAWEI-Wlan-Radio0/0/0] radio disable
Warning: This action may cause service interruption. Continue?[Y/N]y
Format
radio-2g-profile name profile-name
Parameters
Parameter Description Value
name profile- Specifies the name of a 2G radio profile. The device supports
name only one 2G radio
profile named
default.
Views
WLAN view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
A 2G radio profile is used to configure and optimize the 2G radio of an AP, but
does not take effect on the 5G radio.
Example
# Display the 2G radio profile view.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default]
Format
radio-5g-profile name profile-name
Parameters
Parameter Description Value
name profile- Specifies the name of a 5G radio profile. The device supports
name only one 5G radio
profile named
default.
Views
WLAN view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
A 5G radio profile is used to configure and optimize the 5G radio of an AP, but
does not take effect on the 2G radio.
Example
# Display the 5G radio profile view.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-5g-profile name default
[HUAWEI-wlan-radio-5g-prof-default]
Format
radio-type { dot11b | dot11g | dot11n | dot11ax }
undo radio-type
Parameters
Parameter Description Value
Views
2G radio profile
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Usually, the default radio type is used and does not need to be modified. If the
default radio mode cannot meet requirements or a fault needs to be located,
configure the radio type as required.
Precautions
If a rate in the basic rate set or supported rate set, or the multicast rate is not
supported by the 802.11b protocol, the radio type cannot be set to 80211b.
When the radio type is set to dot11b or dot11g, the function of denying access
from non-HT STAs becomes invalid.
If WDS- or Mesh-enabled radios are configured not to support 802.11n/ac, the air
interface backhaul performance will be degraded.
If you run the radio-type dot11b command in the 2G radio profile view to set the
radio type to dot11b, and the 2G radio profile is applied to an AP, the rates of
management frames and multicast packets that take effect on the 2 GHz radio of
the AP are fixed as 1 Mbps, and the values configured using the beacon-2g-rate
Example
# Set the radio type to dot11g in a 2G radio profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] radio-type dot11g
The undo radio-type command restores the default radio type in a 5G radio
profile.
Format
radio-type { dot11a | dot11n | dot11ac | dot11ax }
undo radio-type
Parameters
Parameter Description Value
Views
5G radio profile
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Usually, the default radio type is used and does not need to be modified. If the
default radio mode cannot meet requirements or a fault needs to be located,
configure the radio type as required.
Precautions
When the radio type is set to dot11a, the function of denying access from non-HT
STAs becomes invalid.
If the configured radio type is not supported by an AP, the actual radio type
supported by the AP takes effect. For example, if you set the 802.11ac radio type
for an 802.11n AP, the 802.11n radio type takes effect on the AP.
If WDS- or Mesh-enabled radios are configured not to support 802.11n/ac, the air
interface backhaul performance will be degraded.
Example
# Set the radio type to dot11n in a 5G radio profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-5g-profile name default
[HUAWEI-wlan-radio-5g-prof-default] radio-type dot11n
9.66 reach-max-sta
Function
The reach-max-sta command controls access of new STAs when the number of
STAs of a VAP reaches the maximum value.
By default, when the number of access users reaches the maximum value, you can
determine whether to enable SSID hiding or enable the VAP to replace low-
priority STAs with high-priority STAs.
Format
reach-max-sta { hide-ssid disable | priority-replace }
undo reach-max-sta
Parameters
Parameter Description Value
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
When the number of access users reaches the maximum value, you can enable
SSID hiding or enable the VAP to replace low-priority STAs with high-priority STAs.
The two functions cannot be configured simultaneously.
● SSID hiding: New STAs cannot search for the SSID of the VAP and need to
access other VAPs.
● Replacing low-priority STAs with high-priority STAs: A new VIP user will
replace a common user. This ensures access experience of VIP users.
Example
# Disable automatic SSID hiding when the number of users reaches the maximum.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] reach-max-sta hide-ssid disable
Format
report-sta-assoc enable
undo report-sta-assoc enable
Parameters
None
Views
WLAN view
Default Level
2: Configuration level
Usage Guidelines
If a STA is associated or goes online after this function is enabled, the device
records the STA association or login information in the log.
NOTE
Enabling this function will generate a large number of logs. If there are a large number of
STAs, log files may overwrite each other due to limited storage space, which affects fault
locating.
Example
# Enable the function of recording STA association information or STA login
information in the log.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] report-sta-assoc enable
Format
reset channel switch-record all
Parameters
Parameter Description Value
all Deletes all channel switching records. -
Views
All views
Default Level
3: Management level
Usage Guidelines
Usage Scenario
You can use this command to delete existing channel switching records so that the
system can record new channel switching events.
Precautions
Deleted channel switching records cannot be restored.
Example
# Delete all channel switching records.
<HUAWEI> reset channel switch-record all
Format
reset station offline-record { all | sta-mac sta-mac }
Parameters
Parameter Description Value
Views
All views
Default Level
3: Management level
Usage Guidelines
Usage Scenario
You can use this command to delete existing STAs' going-offline records so that
the system can record new STAs' going-offline events.
Precautions
The deleted STAs' going-offline records cannot be restored.
Example
# Delete all STAs' going-offline records.
<HUAWEI> reset station offline-record all
Format
reset station online-fail-record { all | sta-mac sta-mac-address }
Parameters
Parameter Description Value
sta-mac sta- Deletes online failure records of the STA The specified STA's
mac-address with the specified MAC address. MAC address must
exist.
Views
All views
Default Level
3: Management level
Usage Guidelines
Usage Scenario
To re-collect records about STA online failures, run this command to delete
existing records.
Precautions
The deleted records cannot be restored.
Example
# Delete online failure records of all STAs.
<HUAWEI> reset station online-fail-record all
Format
reset station statistics [ sta-mac sta-mac-address ]
Parameters
Parameter Description Value
sta-mac sta- Specifies the MAC address of an online The STA's MAC
mac-address STA. address must exist.
Views
All views
Default Level
3: Management level
Usage Guidelines
Usage Scenario
Before recollecting statistics about online STAs, run the command to clear the
existing statistics.
Precautions
After the command is run, statistics about online STAs are cleared and cannot be
restored.
Example
# Delete statistics about the STA with MAC address 00e0-fc88-b74f.
<HUAWEI> reset station statistics sta-mac 00e0-fc88-b74f
9.72 rf-ping
Function
The rf-ping command enables an AP to automatically detect wireless link quality.
Format
rf-ping [ -m time | -c number ] [ -p { be | bk | vi | vo }] * mac-address
Parameters
Parameter Description Value
Views
WLAN view
Default Level
2: Configuration level
Usage Guidelines
Use Scenario
Prerequisites
Example
# Configure an AP to automatically detect quality of the link between the AP and
STA with the MAC address 00e0-fc12-3456.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] rf-ping 00e0-fc12-3456
Tx rate=52.0 Mbps, Reply from 00e0-fc12-3456: RSSI=-58 dBm time < 1 ms
1 packets transmitted, 1 received, 0% packet loss, time < 1 ms, RSSI -58 dBm
Item Description
9.73 rts-cts-mode
Function
The rts-cts-mode command sets the request to send (RTS)-clear to send (CTS)
operation mode in a radio profile.
The undo rts-cts-mode command restores the default RTS-CTS operation mode in
a radio profile.
Format
rts-cts-mode { cts-to-self | disable | rts-cts }
undo rts-cts-mode
Parameters
Parameter Description Value
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
● In rts-cts mode, when an AP needs to send data to a STA, the AP sends an
RTS packet to all STAs associated with it. After receiving the RTS packet, none
of the devices within the AP's coverage area sends data within a specified
period. After the destination STA receives the RTS packet, it sends a CTS
packet. After receiving the CTS packet, none of the devices within the STA's
coverage area sends data within a specified period. Using the rts-cts mode to
avoid conflicts requires two packets (RTS and CTS packets), increasing packet
overhead.
● In cts-to-self mode, when an AP needs to send data to STAs, it sends a CTS
packet with its IP address as the source and destination addresses. Then none
of the devices within the AP's coverage area sends data within a specified
period. In cts-to-self mode, an AP only needs to send a CTS packet to avoid
channel conflicts in most scenarios. However, if there is a device within the
STA's coverage area but not within the AP's coverage area, a channel conflict
may still occur.
Compared to the rts-cts mode, the cts-to-self mode reduces the number of control
packets sent on the network. In some situations, however, a channel conflict may
still occur when hidden nodes do not receive the CTS packet from the AP.
Therefore, the rts-cts mode is more effective in avoiding channel conflicts than the
cts-to-self mode.
To avoid a data transmission failure caused by channel conflicts, run the rts-cts-
mode command to set the RTS-CTS operation mode in a radio profile according to
networking requirements.
Example
# Set the RTS-CTS operation mode to rts-cts in the 2G radio profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] rts-cts-mode rts-cts
9.74 rts-cts-threshold
Function
The rts-cts-threshold command sets the RTS-CTS threshold in a radio profile.
The undo rts-cts-threshold command restores the default RTS-CTS threshold in a
radio profile.
The default RTS-CTS alarm threshold is 1400 bytes.
Format
rts-cts-threshold rts-cts-threshold
undo rts-cts-threshold
Parameters
Parameter Description Value
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
The IEEE 802.11 MAC protocol provides an RTS-CTS handshake protocol to prevent
conflicts between channels and failure to transmit data. STA A sends an RTS frame
before sending data to STA B. STA A can send data after receiving a CTS frame
from STA B. If multiple STAs send RTS frames to a STA, only the STA that receives
a CTS frame can send data, and other STAs have channel conflicts by default and
must wait and send RTS frames again.
If STAs implement RTS-CTS handshakes before sending data, the channel
bandwidth is consumed by too much RTS frames. You can set an RTS threshold to
specify the length of frames to be sent. When the length of frames to be sent by
the STA is smaller than the RTS threshold, no RTS/CTS handshake is implemented.
Example
# Set the RTS-CTS threshold to 2300 bytes in the 2G radio profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] rts-cts-threshold 2300
The undo service-mode disable command enables the service mode of a VAP.
Format
service-mode disable
Parameters
None
Views
VAP profile view
Default Level
2: Configuration level
Usage Guidelines
You can run the service-mode disable command to disable the service mode of a
VAP. After the service mode of a VAP is disabled, the VAP is disabled.
● After the service mode of a VAP is enabled, run the auto-off service
command to enable the scheduled VAP auto-off function. In the scheduled
time, the VAP is disabled. To enable the VAP, run the undo auto-off service
command.
● After the service mode of a VAP is disabled, the scheduled VAP auto-off
function does not take effect.
Example
# Disable the service mode of VAP vap1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] service-mode disable
Warning: This action may cause service interruption. Continue?[Y/N]y
Format
service-vlan vlan-id vlan-id
undo service-vlan
Parameters
Parameter Description Value
Views
VAP profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Each VAP has a service VLAN. Layer 2 data packets delivered from a VAP to an AP
carry the service VLAN ID.
Precautions
Modifying the service VLAN of a VAP will interrupt services of STAs connected to
the VAP. Exercise caution when you run the command.
Example
# Set the service VLAN to VLAN 2 in the VAP profile vap1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] service-vlan vlan-id 2
Format
short-preamble disable
undo short-preamble disable
Parameters
None
Views
2G radio profile view
Default Level
2: Configuration level
Usage Guidelines
The preamble is a section of bits in the header of a data frame. It synchronizes
signals transmitted between the sender and receiver. The preamble is classified
into the long preamble and short preamble. The short preamble ensures better
synchronization performance and therefore is recommended. The long preamble is
usually used for compatibility with earlier network adapters of clients.
Example
# Configure the 2G radio profile default to support the short preamble.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] short-preamble disable
Format
single-txchain enable
Parameters
None
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Some non-HT STAs that support 802.11a/b/g cannot receive packets sent by APs
using multiple antennas. As a result, network access failures, frequent STA
roaming, or network instability is caused. After running the single-txchain enable
command to enable the single-antenna transmission mode in an SSID profile,
management packets on the corresponding VAP and data packets sent by the AP
to non-HT STAs on the VAP will be sent in single-antenna transmission mode. For
a radio that is bound to a VAP with the single-antenna transmission mode
enabled, control packets of the radio are sent in single-antenna transmission
mode as long as non-HT STAs is connected to the VAP. When no non-HT STA is
connected to the VAP, the control packets are still sent in multi-antenna
transmission mode.
Precautions
After the single-antenna transmission mode is enabled in an SSID profile, the RSSI
of STAs may be affected.
Example
# Enable the single-antenna transmission mode in SSID profile ssid1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] single-txchain enable
Format
snmp-agent trap enable feature-name wlan [ trap-name trap-name ]
undo snmp-agent trap enable feature-name wlan [ trap-name trap-name ]
Parameters
Parameter Description Value
trap-name trap- Specifies the name of The value is a string and must be
name a trap. set according to the device
configuration.
Views
System view
Default Level
2: Configuration level
Usage Guidelines
You can specify trap-name to enable the trap function for one or more events of
the WLAN module.
Example
# Enable the hwapfaulttrap trap.
<HUAWEI> system-view
[HUAWEI] snmp-agent trap enable feature-name wlan trap-name hwapfaulttrap
9.80 ssid
Function
The ssid command sets a service set identifier (SSID) for an SSID profile.
Format
ssid ssid
undo ssid
Parameters
Parameter Description Value
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
An SSID specifies a wireless network. When you search for available wireless
networks on your wireless terminal, SSIDs are displayed to identify the available
wireless networks.
Precautions
Example
# Set the SSID to wlan-net in the SSID profile ssid1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] ssid wlan-net
The undo ssid-hide enable command disables SSID hiding in Beacon frames in an
SSID profile.
Format
ssid-hide enable
Parameters
None
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
A STA listens on the Beacon frames that an AP periodically sends in each channel
to obtain AP information. The STA can obtain SSIDs from Beacon frames that
contain the SSIDs.
The STA can actively send a probe frame with a specified SSID, only the AP with
the same SSID will respond to the STA. If the STA broadcasts a probe frame
without an SSID, only the APs on which SSID hiding in Beacon frames is disabled
will respond to the STA.
● After the ssid-hide enable command is used, an AP periodically sends Beacon
frames that contain empty SSID character strings and does not reply to the
broadcast probe requests sent from STAs. The STAs can send probe frames
with the AP's SSID to discover the SSID.
● After the undo ssid-hide enable command is used, an AP periodically sends
Beacon frames that contain valid SSID character strings and replies to the
broadcast probe requests sent from STAs. The STAs can send probe frames
with the AP's SSID to discover the SSID.
Precautions
If the ssid-hide enable or undo ssid-hide enable command is run in the SSID
profile after STAs are associated with an SSID, service interruptions may occur for
all online STAs.
Example
# Configure SSID hiding in Beacon frames in the SSID profile ssid1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] ssid-hide enable
NOTE
Format
ssid-profile name profile-name
undo ssid-profile { name profile-name | all }
Parameters
Parameter Description Value
name profile- Specifies the name of an SSID profile. The value is a string
name of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").
Views
WLAN view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
An SSID profile is mainly used to configure STA association and access parameters
based on SSIDs, including the SSID name, STA association timeout period, non-HT
STA access, and QoS CAR.
Follow-up Procedure
Run the ssid-profile (VAP profile view) command to bind the SSID profile to a
VAP profile and run the vap-profile command to bind the VAP profile to an AP
group, AP, AP radio, or AP group radio so that the SSID profile can take effect.
Precautions
● The SSID profile default cannot be deleted.
● The SSID profile referenced by a VAP profile cannot be deleted. To delete the
SSID profile, unbind it from the VAP profile first.
● If the VAP profile has been applied to an AP group or an AP, modifying the
SSID profile will interrupt services.
Example
# Create an SSID profile ssid1 and enter the SSID profile view.
<HUAWEI> system-view
[HUAWEI] wlan
Format
ssid-profile profile-name
undo ssid-profile
Parameters
Parameter Description Value
Views
VAP profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
After you create an SSID profile using the ssid-profile (WLAN view) command,
bind it to a VAP profile to make the SSID profile take effect.
Precautions
After an SSID profile is bound to a VAP profile, parameter settings in the SSID
profile take effect on all APs using the VAP profile.
Example
# Create the SSID profile ssid1 and bind it to the VAP profile vap1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] quit
Format
sta-network-detect disable
undo sta-network-detect disable
Parameters
None
Views
VAP profile view
Default Level
2: Configuration level
Usage Guidelines
After the device is enabled to monitor user traffic and forcibly disconnect STAs
without traffic, a STA meeting all the following conditions is forcibly disconnected
after reassociation and going online:
● The STA does not send DHCP Request messages or receive ARP Reply packets
within 5s after going online.
● The IP address of the STA changes after roaming.
● The STA has only uplink traffic but no downlink traffic.
When you do not require user traffic monitoring or want to prevent STAs from
being forcibly disconnected, run the sta-network-detect disable command.
Example
# Enable the device to monitor user traffic and forcibly disconnect STAs without
traffic.
<HUAWEI> system-view
[HUAWEI] wlan
Format
type service-backup auth-server-down radius-server template template-name
undo type
Parameters
Parameter Description Value
Views
VAP profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
● If the type of a VAP is set to service-backup auth-server-down, the VAP is
automatically enabled to allow network access of associated STAs when the
authentication server is not accessible. When the authentication server
recovers, this VAP is not automatically disabled. You can manually disable it if
needed. If the authentication server is accessible but rejects user access, this
VAP is not automatically enabled. You can manually enable it if needed. To
enable or disable this VAP, run the vap-service-backup auth-server-down
command.
Precautions
● After the VAP type is configured in the VAP profile view, the VAPs generated
by the VAP profile use the configured VAP type. The new VAP type will
overwrite the old one.
Example
# Create the VAP profile vap1 and set the VAP type to authentication-server-
down backup service.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] type service-backup auth-server-down radius-server template temp1
Format
u-apsd enable
undo u-apsd enable
Parameters
None
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
U-APSD is a new energy saving mode defined for WMM, which can improve the
energy-saving capability of STAs.
If some STAs on the network do not support the U-APSD function, disable the U-
APSD function.
Precautions
The U-APSD function takes effect only when WMM is enabled.
Example
# Enable the U-APSD function.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] u-apsd enable
Warning: This action may cause service interruption. Continue?[Y/N]y
9.87 utmost-power
Function
The utmost-power disable command disables radios from sending packets at the
maximum power.
The utmost-power enable command enables radios to send packets at the
maximum power.
The undo utmost-power command restores the adaptive mode for radios to send
packets.
By default, radios are enabled to send packets in adaptive mode.
Format
utmost-power { disable | enable }
undo utmost-power
Parameters
None
Views
2G radio profile view, 5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
This command is valid for all country codes. You can run the utmost-power
enable command to enable radios to send packets at the maximum power or run
the utmost-power disable command to enable radios to send packets at the
power specified by the country code. After you run the undo utmost-power
command to restore the adaptive mode, radios send packets at the maximum
power if the country code is CN or at the power specified by other country codes.
Precautions
802.11ac and 802.11ax APs can send packets at the maximum power.
Example
# Disable radios from sending packets at maximum power.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-2g-profile name default
[HUAWEI-wlan-radio-2g-prof-default] utmost-power disable
Format
vap-profile name profile-name
Parameters
Parameter Description Value
name profile- Specifies the name of a VAP profile. The value is a string
name of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").
Views
WLAN view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
After a radio profile is applied to a radio, the AP can transmit and receive radio
signals. After a VAP profile is applied to a radio, VAPs are generated and provide
wireless access services for STAs. You can configure parameters in the VAP profile
to enable APs to provide different wireless services.
Follow-up Procedure
Run the vap-profile command to apply the VAP profile in the radio interface view
so that the VAP profile can take effect.
Precautions
Example
# Create a VAP profile vap1 and enter the VAP profile view.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1]
Format
vap-profile profile-name wlan wlan-id
Parameters
Parameter Description Value
Views
Radio interface view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
After you create a VAP profile using the vap-profile (WLAN view) command,
bind it to a radio so that the VAP profile can take effect.
Precautions
After a VAP profile is bound to a radio, parameter settings in the VAP profile apply
to the radio using the profile.
Example
# Create the VAP profile vap1 and bind it to radio Wlan-Radio 0/0/0.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap1
[HUAWEI-wlan-vap-prof-vap1] quit
[HUAWEI-wlan-view] quit
[HUAWEI] interface wlan-radio 0/0/0
[HUAWEI-Wlan-Radio0/0/0] vap-profile vap1 wlan 1
Format
vap-service-backup auth-server-down { active | inactive } [ vap-profile profile-
name ]
Parameters
Parameter Description Value
vap-profile profile- Specifies the name of a VAP The VAP profile name
name profile. If this parameter is must exist.
not specified, VAPs of this
type on all referenced radios
are enabled.
Views
WLAN view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
If an authentication-server-down backup service VAP is not automatically disabled
after the authentication server is restored, the administrator can manually disable
this VAP. When the authentication server rejects access of STAs, the administrator
can manually enable an authentication-server-down backup service VAP to enable
the STAs to enter the survival state.
Precautions
After an authentication-server-down backup service VAP is manually disabled,
STAs associated with this VAP go offline.
Example
# Manually enable an authentication-server-down backup service VAP.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-service-backup auth-server-down active vap-profile vap1
Format
vht a-mpdu max-length-exponent max-length-exponent-index
undo vht a-mpdu max-length-exponent
Parameters
Parameter Description Value
Views
5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
To reduce costs, 802.11ac uses frame aggregation technology that aggregates two
or more frames into an A-MPDU to transmit.
Example
# Set the index of the maximum length of the A-MPDU to 2 in the 5G radio
profile default. The index 2 corresponds to a maximum length of 32767 bytes.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-5g-profile name default
[HUAWEI-wlan-radio-5g-prof-default] vht a-mpdu max-length-exponent 2
Function
The vht a-msdu enable command enables the function of sending 802.11 frames
in A-MSDU mode.
The undo vht a-msdu enable command disables the function of sending 802.11
frames in A-MSDU mode.
Format
vht a-msdu enable
Parameters
None
Views
5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Aggregated MAC Service Data Unit (A-MSDU) technology aggregates multiple
MAC Service Data Units (MSDUs) into an MAC Protocol Data Unit (MPDU), which
reduces MAC layer costs of the 802.11 packets and improves packet transmission
efficiency especially when short MSDUs are aggregated.
Precautions
The function of sending 802.11 frames in A-MSDU mode can be enabled on the
802.11ac and 802.11ax radios.
Example
# Enable the function of sending 802.11 frames in A-MSDU mode.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-5g-profile name default
[HUAWEI-wlan-radio-5g-prof-default] vht a-msdu enable
Function
The vht a-msdu max-frame-num command sets the maximum number of
subframes that can be aggregated into an A-MSDU at one time.
The undo vht a-msdu max-frame-num command restores the default maximum
number of subframes that can be aggregated into an A-MSDU at one time.
By default, a maximum of two subframes can be aggregated into an A-MSDU at
one time.
Format
vht a-msdu max-frame-num max-frame-number
undo vht a-msdu max-frame-num
Parameters
Parameter Description Value
Views
5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
A-MSDU technology aggregates multiple MSDUs into an MPDU, which reduces
MAC layer costs of the 802.11 packets.
● When the wireless network quality is satisfactory, increase the maximum
number of subframes that can be aggregated into an A-MSDU at one time to
improve the network usage efficiency and wireless service performance.
● When the wireless network quality is unsatisfactory or delay-sensitive services,
such as voice services are transmitted, reduce the maximum number of
subframes that can be aggregated into an A-MSDU at one time to minimize
the impact of packet loss on services and reduce packet transmission delay.
Some STAs have restrictions on the number of subframes aggregated into a
received A-MSDU. If the number of subframes sent by the AP exceeds the
threshold, the STAs cannot receive the frames properly.
Prerequisite
The function of sending 802.11 frames in A-MSDU mode has been enabled using
the vht a-msdu enable command.
Precautions
The function of sending 802.11 frames in A-MSDU mode can only be enabled on
the 802.11ac and 802.11ax radios.
Example
# Set the maximum number of subframes that can be aggregated into an A-
MSDU at one time to 3.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-5g-profile name default
[HUAWEI-wlan-radio-5g-prof-default] vht a-msdu max-frame-num 3
Format
vht mcs-map nss nss-value max-mcs max-mcs-value
Parameters
Parameter Description Value
Views
5G radio profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Rates of 802.11ac APs depend on the index value of MCS. A larger MCS value
indicates a higher transmission rate.
Precautions
This configuration takes effect only when the AP communicates with STAs through
802.11ac and 802.11ax.
Example
# In the 5G radio profile, set the maximum number of available spatial streams to
2 and the maximum MCS value to 8.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] radio-5g-profile name default
[HUAWEI-wlan-radio-5g-prof-default] vht mcs-map nss 2 max-mcs 8
Format
vht { tx | rx } mcs-map nss nss-value map mcs-value
undo vht { tx | rx } mcs-map
Parameters
Parameter Description Value
Views
SSID profile view
Default Level
2: Configuration level
Usage Guidelines
Usage Scenario
Rates of 802.11ac APs depend on the index value of MCS. A larger MCS value
indicates a higher transmission rate.
Precautions
This configuration takes effect only when the AP communicates with STAs through
802.11ac and 802.11ax.
Example
# In the SSID profile, set the maximum number of available spatial streams to 2
and the maximum MCS value to 8.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ssid-profile name ssid1
[HUAWEI-wlan-ssid-prof-ssid1] vht rx mcs-map nss 2 map 8
9.96 wlan
Function
The wlan command displays the WLAN view.
Format
wlan
Parameters
None
Views
System view
Default Level
2: Configuration level
Usage Guidelines
Before performing WLAN configurations, run the wlan command to enter the
WLAN view. All WLAN configuration commands need to be used in the WLAN
view or WLAN sub-view.
Example
# Enter the WLAN view.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view]