- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
08-WLAN Service Commands | 123.63 KB |
1 WLAN Service Configuration Commands
service-template (WLAN radio interface view)
service-template { disable | enable } (WLAN service template view)
l2fw wlan-client-isolation enable
l The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.
l Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix.
l The interface types and the number of interfaces vary by AP model.
a-mpdu enable
Syntax
a-mpdu enable
undo a-mpdu enable
View
WLAN radio interface view
Default Level
2: System level
Parameters
None
Description
Use the a-mpdu enable command to enable the A-MPDU function for the radio.
Use the undo a-mpdu enable command to disable the A-MPDU function for the radio.
Support for the command depends on the device model.
By default, the A-MPDU function is enabled on an 802.11n radio.
This command is only effective on 802.11n radios.
If you change the radio type of an 802.11n radio, the default setting for this function of the new radio type will be restored.
Examples
# Disable the A-MPDU function for radio 1/0/1.
<sysname> system-view
[sysname] interface WLAN-Radio 1/0/1
[sysname-WLAN-Radio1/0/1] undo a-mpdu enable
a-msdu enable
Syntax
a-msdu enable
undo a-msdu enable
View
WLAN radio interface view
Default Level
2: System level
Parameters
None
Description
Use the a-msdu enable command to enable the A-MSDU function for the radio.
Use the undo a-msdu enable command to disable the A-MSDU function for the radio.
Support for the command depends on the device model.
By default, the A-MSDU function is enabled on an 802.11n radio.
This command is only effective on 802.11n radios. If you change the radio type of an 802.11n radio, the default setting for this function of the new radio type will be restored.
Currently, the AP can only receive A-MSDU frames.
Examples
# Disable the A-MSDU function for radio 1/0/1.
<sysname> system-view
[sysname] interface WLAN-Radio 1/0/1
[sysname- WLAN-Radio1/0/1] undo a-msdu enable
beacon ssid-hide
Syntax
beacon ssid-hide
undo beacon ssid-hide
View
WLAN service template view
Default Level
2: System level
Parameters
None
Description
Use the beacon ssid-hide command to disable the advertising of Service Set Identifier (SSID) in the beacon frames.
Use the undo beacon ssid-hide command to restore the default configuration.
By default, SSID is advertised in the beacon frames.
If the advertising of the SSID in beacon frames is disabled, the SSID must be configured for the clients to associate with the AP.
Disabling the advertising of the SSID in beacon frames does little good to wireless security. Allowing the advertising of the SSID in beacon frames enables an AP to discover a client more easily.
Examples
# Hide the SSID in the beacon frames.
<Sysname> system-view
[Sysname] wlan service-template 1 clear
[Sysname-wlan-st-1] beacon ssid-hide
beacon-interval
Syntax
beacon-interval interval
undo beacon-interval
View
WLAN radio interface view
Default Level
2: System level
Parameters
interval: Specifies the interval between sending beacon frames. The value ranges from 32 to 8191 Time Units (TUs). One TU equals 1024 microseconds.
Description
Use the beacon-interval command to set the interval of sending beacon frames.
Use the undo beacon-interval command to restore the default.
By default, the value of the beacon interval is 100 TUs.
An AP sends beacon frames at the specified interval..
Examples
# Specify the beacon interval to 1000 TUs.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] beacon-interval 1000
channel
Syntax
channel { channel-number | auto }
undo channel
View
WLAN radio interface view
Default Level
2: System level
Parameters
channel-number: Channel number. The channel numbers depend on specific country code and radio mode. The channel list depends on your device model.
auto: Specifies that the channel is automatically selected by the device according to the actual environment during system initialization.
Description
Use the channel command to configure the operating channel for the radio.
Use the undo channel command to restore the default.
By default, auto mode is set.
Different radios support different channels. Channels may differ for each country.
Examples
# Configure interface WLAN-Radio 1/0/2 to operate on channel 6.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/2
[Sysname-WLAN-Radio1/0/2] radio-type dot11b
[Sysname-WLAN-Radio1/0/2] channel 6
channel band-width
Syntax
channel band-width { 20 | 40 }
undo channel band-width
View
WLAN radio interface view
Default Level
2: System level
Parameters
20: Specifies the 802.11n channel bandwidth as 20 MHz.
40: Specifies the 802.11n channel bandwidth as 40 MHz.
Description
Use the channel band-width command to specify the channel bandwidth of the 802.11n radio.
Use the undo channel band-width command to restore the default.
Support for the command depends on the device model.
By default, the channel bandwidth of the 802.11an radio is 40 MHz, and that of the 802.11gn radio is 20 MHz.
This command is only effective on 802.11n radios. If you change the radio type of an 802.11n radio, the default setting for this function of the new radio type will be restored.
Currently, an 802.11a/n or 802.11g/n radio working in 5 GHz or 2.4 GHz bands selects an available 40 MHz channel as the operating channel. If no 40 MHz channel is available, it selects a 20 MHz channel.
Examples
# Configure the channel bandwidth of the radio as 20 MHz.
<sysname> system-view
[sysname] interface WLAN-Radio 1/0/1
[sysname-WLAN-Radio1/0/1] radio-type dot11an
[sysname-WLAN-Radio1/0/1] channel band-width 20
client dot11n-only
Syntax
client dot11n-only
undo client dot11n-only
View
WLAN radio interface view
Default Level
2: System level
Parameters
None
Description
Use the client dot11n-only command to allow only 802.11n clients to access.
Use the undo client dot11n-only command to restore the default.
Support for the command depends on the device model.
By default, an 802.11a/n radio permits both 802.11a and 802.11n clients to access, and an 802.11g/n radio permits both 802.11b/g and 802.11n clients to access.
An 802.11n radio supports both 2.4 GHz and 5 GHz bands and thus can allow 802.11a/b/g stations to access for good compatibility.
The client dot11n-only command prohibits non-802.11n clients from access. Therefore, if you want to provide access for all 802.11a/b/g clients, you need to disable this command.
Examples
# Configure the radio to allow only 802.11n clients to access.
<sysname> system-view
[sysname] interface WLAN-Radio 1/0/1
[sysname-WLAN-Radio1/0/1] radio-type dot11an
[sysname-WLAN-Radio1/0/1] client dot11n-only
client max-count
Syntax
client max-count max-number
undo client max-count
View
WLAN service template view
Default Level
2: System level
Parameters
max-number: Maximum number of clients associated to a radio, which ranges from 1 to 124.
Description
Use the client max-count command to specify the maximum number of clients associated to a radio for an SSID.
Use the undo client max-count command to restore the default.
By default, the max-number is 64.
When the number of clients associated to a radio reaches the maximum number, the SSID is automatically hidden.
Examples
# Specify the maximum number of clients associated to a radio with SSID service as 10.
<Sysname> system-view
[Sysname] wlan service-template 1 clear
[Sysname-wlan-st-1] ssid service
[Sysname-wlan-st-1] client max-count 10
display wlan client
Syntax
display wlan client { interface wlan-radio [ radio-number ] | mac-address mac-address | service-template service-template-number } [ verbose ]
View
Any view
Default Level
1: Monitor level
Parameters
wlan-radio radio-number: Displays the information of the clients attached to the specified WLAN-Radio interface.
mac-address mac-address: Specifies the MAC address of a client.
service-template service-template-number: Displays the client information based on the specified service template. The service template value ranges from 1 to 1024.
verbose: Displays the detail information of the client.
Description
Use the display wlan client command to view the information of a specified client or all clients.
Examples
# Display the information about all the clients.
<Sysname> display wlan client
Total Number of Clients : 2
Total Number of Clients Connected : 2
Client Information
--------------------------------------------------------------------------
MAC Address BSSID AID State PS Mode QoS Mode
--------------------------------------------------------------------------
0011-95c3-9241 000f-e200-0500 1 Running Active WMM
0013-4695-16dd 000f-e200-0500 2 Running Active None
Table 1-1 display wlan client command output description.
Field |
Description |
MAC Address |
MAC address of the client |
BSSID |
ID of a BSS |
AID |
Association ID of the client |
State |
State of the client such as Running “B” denotes a backup client. |
PS Mode |
Client’s power save mode such as Active or Sleep. |
QoS Mode |
l WMM indicates that the WMM function is supported; l None indicates that the WMM function is not supported. WMM information negotiation is carried out between an AP and a client that both support WMM. |
# Display the detail information of all the clients.
<Sysname> display wlan client verbose
Total Number of Clients : 1
Total Number of Clients Connected : 1
Client Information
--------------------------------------------------------------------------
MAC Address : 0014-6c91-9a14
AID : 251
Radio Interface : WLAN-Radio1/0/2
SSID : nsw-nsw
BSSID : 000f-e2cc-2022
Port : WLAN-BSS1
VLAN : 1
State : Running
Power Save Mode : Sleep
Wireless Mode : 11g
QoS Mode : WMM
Listen Interval (Beacon Interval) : 10
RSSI : 25
SNR : -NA-
Rx/Tx Rate : 48/54
Client Type : RSN
Authentication Method : Open System
AKM Method : Dot1X
4-Way Handshake State : PTKINITDONE
Group Key State : IDLE
Encryption Cipher : CCMP
Roam Status : Normal
Up Time (hh:mm:ss) : 00:05:15
--------------------------------------------------------------------------
Table 1-2 display wlan client verbose command output description
Field |
Description |
MAC Address |
MAC address of the client |
AID |
Association ID of the client |
Radio Interface |
WLAN-Radio interface |
SSID |
The SSID with which the client is associated |
BSSID |
ID of a BSS |
Port |
WLAN-BSS interface associated with the client |
VLAN |
VLAN to which the client belongs |
State |
State of the client such as Running |
Power Save Mode |
Client’s power save mode such as Active or Sleep |
Wireless Mode |
The wireless mode, which includes 802.11a, 802.11b, 802.11g, 802.11gn, 802.11an at present. Support for wireless mode depends on your device model. |
QoS Mode |
l WMM indicates that the WMM function is supported; l None indicates that the WMM function is not supported. WMM information negotiation is carried out between an AP and a client that both support WMM. |
Listen Interval (Beacon Interval) |
Specifies how often the client wakes up to listen to beacon frames and is expressed in units of beacon interval. |
RSSI |
Received signal strength indication. This value indicates the client signal strength detected by the AP. |
SNR |
Signal to Noise Ratio |
Rx/Tx Rate |
Represents the receiving/sending rate of frames such as data, management, and control frames |
Client Type |
Displays the client type such as RSN, WPA, and PRE-RSN |
Authentication Method |
Authentication method such as open system or shared key |
AKM Method |
AKM suite, such as Dot1x, PSK |
4-Way Handshake State |
Displays either of the 4 way handshake state: l IDLE: Displayed when initial state l PTKSTART: Displayed when the 4-way handshake is initialized. l PTKNEGOTIATING: Displayed after sending valid message 3. l PTKINITDONE: Displayed when the 4-way handshake is successful. |
Group Key State |
Displays the group key state such as: l IDLE: Displayed when initial state. l REKEYNEGOTIATE: Displayed when WCM sends the initial message to client. l REKEYESTABLISHED: Displayed when re-keying is successful. |
Encryption Cipher |
Encryption cipher such as clear or crypto. |
Roam Status |
Displays the roam status such as Normal or Fast Roaming. For fat AP is always shown as Normal. |
Up Time (hh:mm:ss) |
Time for which the client is associated with AP. |
display wlan service-template
Syntax
display wlan service-template [ service-template-number ]
View
Any view
Default Level
1: Monitor level
Parameters
service-template-number: Specifies service template number. The value ranges from 1 to 1024.
Description
Use the display wlan service-template command to view the specified service template information. If you do not specify the service template number, all service templates are displayed.
Examples
# Display the configuration information of service template 1.
<Sysname> display wlan service-template 1
Service Template Parameters
--------------------------------------------------------------------------
Service Template Number : 1
SSID : nsw-nsw
Service Template Type : Crypto
Security IE : RSN WPA
Authentication Method : Open System
SSID-hide : Disabled
Cipher Suite : TKIP CCMP
WEP Key Index 1 : WEP40
WEP Key Mode : ASCII
WEP Key : 12345
TKIP Countermeasure Time(s) : 60
PTK Life Time(s) : 180
GTK Rekey : Enable
GTK Rekey Method : Packet-based
GTK Rekey Packets : 5000
Service Template Status : Enable
Maximum clients per BSS : 35
--------------------------------------------------------------------------
Table 1-3 display wlan service-template command output description.
Field |
Description |
Service Template Number |
Current service template number |
SSID |
Service set identifier for the ESS. |
Service Template Type |
Service template type,Crypto or Clear . |
Security IE |
Security IE such as WPA or RSN. |
Authentication Method |
Type of authentication used, open system or shared key |
SSID-hide |
l Disabled: SSID advertisement is enabled. l Enabled: SSID advertisement is disabled. |
Cipher Suite |
The cipher suite such as CCMP, TKIP, WEP40, WEP104 or WEP128. |
WEP Key Index |
The index of the default WEP key for encrypting and decrypting the broadcast and multicast frames. |
WEP Key Mode |
WEP key mode l HEX: Hexadecimal format WEP key l ASCII: The WEP key is in the format of a character string. |
WEP Key |
WEP key |
TKIP Countermeasure Time(s) |
TKIP countermeasure time in seconds |
PTK Life Time |
PTK lifetime in seconds. |
GTK Rekey |
The GTK rekey configured. Disable: GTK rekey is disabled. Enable: GTK rekey is enabled. |
GTK Rekey Method |
The GTK rekey method configured such as packet based or time based. |
GTK Rekey Packets |
Number of GTK rekey packets |
Service Template Status |
Status such as enabled or disabled. |
Maximum clients per BSS |
Maximum clients per BSS |
display wlan statistics
Syntax
display wlan statistics client { all | mac-address mac-address }
View
Any view
Default Level
1: Monitor level
Parameters
client: Displays the statistics of the specified client.
all: Displays the statistics of all the clients.
mac-address mac-address: Specifies the MAC address of the client.
Description
Use the display wlan statistics command to view the client statistics.
Examples
# Display the statistics of all the clients.
<Sysname> display wlan statistics client all
Client Statistics
--------------------------------------------------------------------------
AP Name : ap1
Radio Id : 1
SSID : 123
BSSID : 000f-e2ff-7700
MAC Address : 0014-6c8a-43ff
RSSI : 31
--------------------------------------------------------------------------
Transmitted Frames:
Back Ground (Frames/Bytes) : 0/0
Best Effort (Frames/Bytes) : 9/1230
Video (Frames/Bytes) : 0/0
Voice (Frames/Bytes) : 2/76
Received Frames:
Back Ground (Frames/Bytes) : 0/0
Best Effort (Frames/Bytes) : 18/2437
Video (Frames/Bytes) : 0/0
Voice (Frames/Bytes) : 7/468
Discarded Frames:
Back Ground (Frames/Bytes) : 0/0
Best Effort (Frames/Bytes) : 0/0
Video (Frames/Bytes) : 0/0
Voice (Frames/Bytes) : 5/389
--------------------------------------------------------------------------
Table 1-4 display wlan statistics command output description
Field |
Description |
AP Name |
Access Point name |
Radio Id |
Radio ID |
SSID |
SSID with which the client is associated |
BSSID |
ID of a BSS |
MAC Address |
MAC address of the client |
RSSI |
Received signal strength indication. This value indicates the client signal strength detected by the AP. |
Transmitted Frames |
Transmitted Frames |
Back Ground |
Statistics of background traffic |
Best Effort |
Statistics of best effort traffic |
Video |
Statistics of video traffic |
Voice |
Statistics of voice traffic |
Received Frames |
Received Frames |
Discarded Frames |
Discarded Frames |
Statistics for background, best effort, video and voice traffic are only for QoS-capable clients. For QoS-incapable clients, only best effort traffic statistics are available (including SVP packets) and may be inconsistent with the real physical output queues. This is because the above mentioned priority-queue statistics can only identify priorities carried in Dot11E and WMM packets; otherwise, statistics of received packets cannot be collected.
dtim
Syntax
dtim counter
undo dtim
View
WLAN radio interface view
Default Level
2: System level
Parameters
counter: Number of beacons between delivery traffic indication message (DTIM) frames, which ranges from 1 to 31. For example, if the counter is 1, each beacon frame carries DTIM information.
Description
Use the dtim command to set the beacon frame counter for the AP before it starts sending the buffered multicast and broadcast frames.
Use the undo dtim command to restore the default.
By default, the DTIM counter is 1.
The AP sends the buffered broadcast/multicast frames when the DTIM counter reaches 0.
Examples
# Set the DTIM counter to 10.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] dtim 10
fragment-threshold
Syntax
fragment-threshold size
undo fragment-threshold
View
WLAN radio interface view
Default Level
2: System level
Parameters
size: Specifies the maximum length of the frame without fragmentation. The value ranges from 256 to 2346 bytes and must be an even number.
Description
Use the fragment-threshold command to specify the maximum length of packet that can be transmitted without fragmentation.
Use the undo fragment-threshold command to restore the default.
By default, the fragment threshold is 2346 bytes.
When the actual packet size exceeds the specified fragment threshold value, the packets are fragmented.
Examples
# Specify the maximum frame length as 2048 bytes.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] fragment-threshold 2048
long-retry threshold
Syntax
long-retry threshold count
undo long-retry threshold
View
WLAN radio interface view
Default Level
2: System level
Parameters
count: Number of retry times AP can send a long unicast frame with a size larger than the Request to Send (RTS) threshold. The value ranges from 1 to 15.
Description
Use the long-retry threshold command to set the number of re-transmission attempts for frames larger than the RTS threshold.
Use the undo long-retry threshold command to restore the default.
By default, the long retry threshold is 4.
Examples
# Set the long-retry threshold to 10.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] long-retry threshold 10
max-power
Syntax
max-power radio-power
undo max-power
View
WLAN radio interface view
Default Level
2: System level
Parameters
radio-power: Maximum radio power. The value range depends on the country code and radio mode.
Description
Use the max-power command to configure the maximum transmission power on the radio.
Use the undo max-power command to restore the default.
By default, the maximum radio power varies with country codes, channels, AP models, radio types and antenna types. If 802.11n is adopted, the maximum radio power also depends on the bandwidth mode.
Related commands: wlan country-code and radio type
Examples
# Specify the radio max power to 5.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] radio-type 11b
[Sysname-WLAN-Radio1/0/1] max-power 5
max-rx-duration
Syntax
max-rx-duration interval
undo max-rx-duration
View
WLAN radio interface view
Default Level
2: System level
Parameters
interval: Specifies the interval for which a frame received by AP can remain in buffer memory. The value ranges from 500 to 250000 milliseconds.
Description
Use the max-rx-duration command to specify the interval for the AP to hold the received packets. AP holds these packets in its buffer memory.
Use the undo max-rx-duration command to restore the default.
By default, max-rx-duration is 2000 milliseconds.
Examples
# Set the duration for holding frames received to 5000 milliseconds.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] max-rx-duration 5000
preamble
Syntax
preamble { long | short }
View
WLAN radio interface view
Default Level
2: System level
Parameters
long: Specifies to transmit only frames with long preamble.
short: Specifies to transmit only frames with short or long preamble.
Description
Use the preamble command to specify the type of preamble that AP can support.
Use the undo preamble command to restore the default.
Preamble is a pattern of bits at the beginning of the packet so that the receiver can sync up and be ready for the real data. There are two different kinds of preamble, short and long.
Only 802.11b/g supports this configuration.
Examples
# Specify the radio to support long preamble.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/2
[Sysname-WLAN-Radio1/0/2] radio-type dot11b
[Sysname-WLAN-Radio1/0/2] preamble long
radio-type
Syntax
radio-type { dot11a | dot11an | dot11b | dot11g | dot11gn }
View
WLAN radio interface view
Default Level
2: System level
Parameters
dot11a: Indicates that the wireless radio type is 802.11a (5 GHz).
dot11an: Indicates that the wireless radio type is 802.11a/n (5 GHz).
dot11b: Indicates that the wireless radio type is 802.11b (2.4 GHz).
dot11g: Indicates that the wireless radio type is 802.11g (2.4 GHz).
dot11gn: Indicates that the wireless radio type is 802.11g/n (2.4 GHz).
Description
Use the radio-type command to specify the radio type to be used by a radio.
Support for this command depends on the device model.
The default value of the radio type depends on the device model.
You can customize the default radio type for different types of AP.
Examples
# Specify the radio type as 802.11g for interface WLAN-Radio 1/0/2.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/2
[Sysname-WLAN-Radio1/0/2] radio-type dot11g
reset wlan client
Syntax
reset wlan client { all | mac-address mac-address }
View
User view
Default Level
2: System level
Parameters
all: Cuts off all client connections.
mac-address mac-address: MAC address of the client whose connection will be cut off.
Description
Use the reset wlan client command is to cut off a specific or all clients.
When this command is used, the AP sends the de-authentication frame to the client and the client is removed from the WLAN service.
Examples
# Cut off the client with MAC address 0102-0304-0506.
<Sysname> reset wlan client mac-address 0102-0304-0506
reset wlan statistics
Syntax
reset wlan statistics client { all | mac-address mac-address }
View
User view
Default Level
2: System level
Parameters
all: Resets the statistics of all clients.
mac-address: Specifies the MAC address of the clients.
Description
Use the reset wlan statistics command to reset the statistics of specified client, or all clients.
Examples
# Reset the corresponding radio statistics of all clients.
<Sysname> reset wlan statistics client all
rts-threshold
Syntax
rts-threshold size
undo rts-threshold
View
WLAN radio interface view
Default Level
2: System level
Parameters
size: Specifies the maximum frame length required by the RTS method. The value ranges from 0 to 2346 bytes.
Description
Use the rts-threshold command to specify the request to send (RTS) threshold length. Use the undo rts-threshold command to restore the default value.
By default, the rts-threshold is 2346 bytes.
If the frame length is beyond this value, the RTS mechanism will be used.
Request to Send (RTS) is used to avoid data sending collisions in a WLAN. You need to set a rational value:
A small value causes RTS packets to be sent more often, thus consuming more of the available bandwidth. However, the more often RTS packets are sent, the quicker the system can recover from interference or collisions.
Examples
# Specify the maximum length as 2046 bytes.
<Sysname> system-view
[Sysname] interface wlan-radios 1/0/1
[Sysname-WLAN-Radio1/0/1] rts-threshold 2046
service-template (WLAN radio interface view)
Syntax
service-template service-template-number interface wlan-bss wlan-bss-number
undo service-template service-template-number
View
WLAN radio interface view
Default Level
2: System level
Parameters
service-template-number: Service-template number, which ranges from 1 to 1024.
wlan-bss-number: WLAN-BSS interface number, which ranges from 0 to 255.
Description
Use the service-template command to map the service template to the specified WLAN-BSS interface on the current WLAN-Radio interface.
Use the undo service-template command to remove the mapping.
By default, no service-template is mapped to WLAN-BSS interface on this WLAN-Radio interface.
Examples
# Map service template 1 to WLAN-BSS 1 on WLAN-Radio 1/0/1.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] service-template 1 interface WLAN-BSS 1
service-template { disable | enable } (WLAN service template view)
Syntax
service-template { disable | enable }
View
WLAN service template view
Default Level
2: System level
Parameters
disable: Disables the service template.
enable: Enables the service template.
Description
Use the service-template enable command to enable the service template.
Use the service-template disable command to disable the service template.
By default, the service-template is disabled.
Examples
# Enable the service template 1.
<Sysname> system-view
[Syaname] wlan service-template 1 clear
[Syaname-wlan-st-1] ssid ssid-1
[Syaname-wlan-st-1] authentication-method open-system
[Syaname-wlan-st-1] service-template enable
short-gi enable
Syntax
short-gi enable
undo short-gi enable
View
WLAN radio interface view
Default Level
2: System level
Parameters
None
Description
Use the short-gi enable command to enable the short GI function.
Use the undo short-gi enable command to disable the short GI function.
By default, the short GI function is enabled.
This command is only effective on 802.11n radios.
If you change the radio type of an 802.11n radio, the default setting for this function of the new radio type will be restored.
Delays may occur during receiving radio signals due to factors like multi-path reception. Therefore, a subsequently sent frame may interfere with a previously sent frame. The GI function is used to avoid such interference. It increases the data speed by 10 percent.
The short GI function is independent of bandwidth and thus supports both 20 MHz and 40 MHz bandwidths.
Examples
# Disable the short GI function.
<sysname> system-view
[sysname] interface WLAN-Radio1/0/2
[sysname-WLAN-Radio1/0/2] undo short-gi enable
short-retry threshold
Syntax
short-retry threshold count
undo short-retry threshold
View
WLAN radio interface view
Default Level
2: System level
Parameters
count: Number of retry times AP can send a short unicast frame (frame size less than the RTS threshold) without receiving an acknowledgment. The value ranges from 1 to 15.
Description
Use the short-retry threshold command to specify the maximum number of attempts to transmit a frame less than RTS threshold.
Use the undo short-retry threshold command to restore the default.
By default, the short retry threshold is 7.
Examples
# Specify the short retry threshold as 10.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] short-retry threshold 10
shutdown
Syntax
shutdown
undo shutdown
View
WLAN radio interface view/WLAN-BSS interface view
Default Level
2: System level
Parameters
None
Description
Use the shutdown command to shut down the radio that is being used.
Use the undo shutdown command to enable the radio.
By default, the radio is enabled.
Examples
# Shut down the radio.
<Sysname> system-view
[Sysname] interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] shutdown
ssid
Syntax
ssid ssid-name
undo ssid
View
WLAN service template view
Default Level
2: System level
Parameters
ssid-name: Name of the service set identifier, a case sensitive string of 1 to 32 characters that can contain letters, digits, underlines, and spaces.
Description
Use the ssid command to set the SSID for the current service template.
Use the undo ssid command to remove the SSID.
By default, the SSID of service template 1 is set to H3C.
An SSID should be as unique as possible.
Examples
# Set the SSID to firstfloor for service template 1.
<Sysname> system-view
[Sysname] wlan service-template 1 clear
[Sysname-wlan-st-1] ssid firstfloor
wlan broadcast-probe reply
Syntax
wlan broadcast-probe reply
undo wlan broadcast-probe reply
View
System view
Default Level
2: System level
Parameters
None
Description
Use the wlan broadcast-probe reply command to enable the AP to respond to the probe requests with SSID null sent by the client.
Use the undo wlan broadcast-probe reply command to remove the configuration. In other words, the AP responds only to probe requests that carry the specified SSID.
By default, an AP responds to probe requests with SSID null sent by the client.
Examples
# Enable the AP to respond to probe requests with SSID null sent by the client.
<Sysname> system-view
[Sysname] wlan broadcast-probe reply
wlan client idle-timeout
Syntax
wlan client idle-timeout interval
undo wlan client idle-timeout
View
System view
Default Level
2: System level
Parameters
interval: Specifies the time for which the link between AP and client ( power-save or awake ) can be idle. The value ranges from 60 to 86400 seconds.
Description
Use the wlan client idle-timeout command to specify the idle time functionality.
Use the undo wlan client idle-timeout command to restore the default.
By default, client idle timeout is 3600 seconds..
If the client is idle for more than the specified interval, that is if the AP does not receive any data from the client within a specified interval, the client will be removed from the network.
Examples
# Specify the client idle time as 600 seconds.
<Sysname> system-view
[Sysname] wlan client idle-timeout 600
wlan client keep-alive
Syntax
wlan client keep-alive interval
undo wlan client keep-alive
View
System view
Default Level
2: System level
Parameters
interval: Specifies the interval between keep alive requests. The value ranges from 3 to 1800 seconds.
Description
Use the client keep-alive command to specify the keep alive interval.
Use the undo client keep-alive command to cancel the keep-alive functionality.
By default, client keep-alive function is disabled.
The keep-alive mechanism is used to detect clients segregated from the system due to various reasons such as power failure or crash, and disconnect them from AP.
Examples
# Specify keep-alive time as 60 seconds.
<Sysname> system-view
[Sysname] wlan client keep-alive 60
wlan country-code
Syntax
wlan country-code code
undo wlan country-code
View
System view
Default Level
2: System level
Parameters
code: Specifies the country code. Refer the Table 1-5.
Table 1-5 Country code information
Country |
Code |
Country |
Code |
Andorra |
AD |
Kenya |
KE |
Albania |
AL |
Kuwait |
KW |
Armenia |
AM |
Kazakhstan |
KZ |
Australia |
AU |
Lebanon |
LB |
Azerbaijan |
AZ |
Liechtenstein |
LI |
Argentina |
AR |
Sri Lanka |
LK |
Austria |
AT |
Lithuania |
LT |
Bosnia and Herzegovina |
BA |
Luxembourg |
LU |
Belgium |
BE |
Latvija |
LV |
Bulgaria |
BG |
Libyan |
LY |
Bahrain |
BH |
Morocco |
MA |
Brunei Darussalam |
BN |
Monaco |
MC |
Bolivia |
BO |
Moldova |
MD |
Brazil |
BR |
Macedonia |
MK |
Bahamas |
BS |
Macau |
MO |
Belarus |
BY |
Martinique |
MQ |
Belize |
BZ |
Malta |
MT |
Canada |
CA |
Mauritius |
MU |
Switzerland |
CH |
Mexico |
MX |
Cote d'ivoire |
CI |
Malay Archipelago |
MY |
Chile |
CL |
Namibia |
NA |
China |
CN |
Nigeria |
NG |
Colombia |
CO |
Nicaragua |
NI |
Costarica |
CR |
Netherlands |
NL |
Serbia |
RS |
Norway |
NO |
Cyprus |
CY |
New Zealand |
NZ |
Czech Republic |
CZ |
Oman |
OM |
Germany |
DE |
Panama |
PA |
Denmark |
DK |
Peru |
PE |
Dominica |
DO |
Poland |
PL |
Algeria |
DZ |
Philippines |
PH |
Ecuador |
EC |
Pakistan |
PK |
Estonia |
EE |
Puerto Rico |
PR |
Egypt |
EG |
Portugal |
PT |
Spain |
ES |
Paraguay |
PY |
Faroe Islands |
FO |
Qatar |
QA |
Finland |
FI |
Romania |
RO |
France |
FR |
Russian Federation |
RU |
Britain |
GB |
Saudi Arabia |
SA |
Georgia |
GE |
Sweden |
SE |
Gibraltar |
GI |
Singapore |
SG |
Greenland |
GL |
Slovenia |
SI |
Guadeloupe |
GP |
Slovak |
SK |
Greece |
GR |
San Marino |
SM |
Guatemala |
GT |
Salvador |
SV |
Guyana |
GY |
Syrian |
SY |
Honduras |
HN |
Thailand |
TH |
Hong Kong |
HK |
Tunisia |
TN |
Croatia |
HR |
Turkey |
TR |
Hungary |
HU |
Trinidad and Tobago |
TT |
Iceland |
IS |
, Province of China |
TW |
India |
IN |
Ukraine |
UA |
Indonesia |
ID |
The United Arab Emirates |
UE |
Ireland |
IE |
United States of America |
US |
Israel |
IL |
Uruguay |
UY |
Iraq |
IQ |
Uzbekistan |
UZ |
Italy |
IT |
The Vatican City State |
VA |
Iran |
IR |
Venezuela |
VE |
Jamaica |
JM |
Virgin Islands |
VI |
Jordan |
JO |
Vietnam |
VN |
Japan |
JP |
Yemen |
YE |
Democratic People's Republic of Korea |
KP |
South Africa |
ZA |
Korea, Republic of Korea |
KR |
Zimbabwe |
ZW |
Description
Use the wlan country-code command to specify the country code.
Use the undo wlan country-code command to restore the default.
By default, the country code value is CN.
l The country code determines the characteristics such as power level, and total number of channels. You must set the valid country code or area code before configuring an AP.
l If you change the country code for an AP that has a radio card not supported by the new country code, the corresponding WLAN-radio interface will have its configurations of the service template, maximum power and channels removed automatically.
Examples
# Specify the country code as US.
<Sysname> system-view
[Sysname] wlan country-code us
wlan service-template
Syntax
wlan service-template service-template-number { clear | crypto }
undo wlan service-template service-template-number
View
System view
Default Level
2: System level
Parameters
service-template-number: Specifies the service-template number. The value ranges from 1 to 1024.
clear: Sets the current service template type to clear, that is, data will be sent in clear text after the template is mapped to an AP.
crypto: Sets the current service template type to crypto, that is, data will be sent in cipher text after the template is mapped to an AP.
Description
Use the wlan service-template command to create a new service template and to enter the configuration view. If the input service template exists, then you can directly enter the configuration view.
Use the undo wlan service-template command to delete the service template, and clear related configurations. If the specified service template is mapped to radio, it can not be directly deleted before mapping is removed.
By default, a clear-type service-template has been configured.
You cannot change the type of an existing service template. To do so, you must delete the existing service template, and configure a new service template with the new type.
Examples
# Create a new service template 1.
<Sysname> system-view
[Sysname] wlan service-template 1 crypto
[Sysname-wlan-st-1]
wlan uplink-interface
Syntax
wlan uplink-interface interface-type interface-number
undo wlan uplink-interface interface-type interface-number
View
System view
Default Level
2: System level
Parameters
interface-type interface-number: Interface type and interface number.
Description
Use the wlan uplink-interface command to specify an uplink interface.
Use the undo wlan uplink-interface command to remove the uplink interface.
By default, no uplink interface is configured.
If the status of all configured uplink interfaces is down, WLAN service will not be provided. If at least one of them is up, WLAN service will be provided.
Any physical interface can be configured as an uplink interface.
You can use this command to configure multiple uplink interfaces.
Examples
# Configure GigabitEthernet 1/0/1 as an uplink interface.
<Sysname> system
[Sysname] wlan uplink-interface GigabitEthernet 1/0/1
2 Wireless User Isolation
l2fw wlan-client-isolation enable
Syntax
l2fw wlan-client-isolation enable
undo l2fw wlan-client-isolation enable
View
System view
Default Level
2: System level
Parameters
None
Description
Use the l2fw wlan-client-isolation enable command to enable wireless user Layer 2 isolation.
Use the undo l2fw wlan-client-isolation enable command to disable wireless user Layer 2 isolation.
By default, wireless user Layer 2 isolation is enabled.
Examples
# Disable wireless user Layer 2 isolation.
<Sysname> system-view
[Sysname] undo l2fw wlan-client-isolation enable
% Info: wlan client isolation disabled.