- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-WLAN optimization commands | 117.12 KB |
Contents
display rrop anti-bmc statistics
option channel-reuse-optimization
option client hide-node-protection
reset rrop anti-bmc statistics
1 WLAN optimization commands
IMPORTANT: Use WLAN optimization commands under the guidance of H3C Support. |
display rrop anti-bmc statistics
Use display rrop anti-bmc statistics to display broadcast and multicast packet control statistics information.
Syntax
display rrop anti-bmc statistics
Views
Any view
network-admin
Examples
# Display broadcast and multicast packet control statistics information.
<Sysname> display rrop anti-bmc statistics
Clients : 2
IP entries : 2
Forwarded packets : 4000
Discarded packets : 2000
Proxy replies : 1000
Converted to unicast : 1000
AP ID : 1
Radio 1:
Default action : forward
IPv6 action : continue
ARP action : proxy reply
DHCP action : broadcast to unicast
NS action : proxy reply
NA action : forward
RS action : drop
DHCPv6 action : drop
Broadcast packet rate limit status : enabled
Multicast packet rate limit status : enabled
Broadcast packet limit value (pps) : 1024
Multicast packet limit value (pps) : 1024
Radio 2:
Default action : forward
IPv6 action : continue
ARP action : proxy reply
DHCP action : broadcast to unicast
NS action : proxy reply
NA action : forward
RS action : drop
DHCPv6 action : drop
Broadcast packet rate limit status : enabled
Multicast packet rate limit status : enabled
Broadcast packet limit value (pps) : 1024
Multicast packet limit value (pps) : 1024
Table1-1 Command output
Field |
Description |
Clients |
Number of online clients. |
IP entries |
Number of IP addresses owned by the online clients. |
Default action |
Default packet processing action: |
IPv6 action |
IPv6 packet processing action: · continue. · deny. |
ARP action |
ARP packet processing action: · forward. · drop. · proxy reply. · broadcast to unicast. |
DHCP action |
DHCP packet processing action: · forward. · drop. · proxy reply. · broadcast to unicast. |
NS action |
NS packet processing action: · forward. · drop. · proxy reply. · broadcast to unicast. |
NA action |
NA packet processing action: · forward. · drop. · proxy reply. · broadcast to unicast. |
RS action |
RS packet processing action: · forward. · drop. · proxy reply. · broadcast to unicast. |
DHCPv6 action |
DHCPv6 packet processing action: · forward. · drop. · proxy reply. · broadcast to unicast. |
Broadcast packet rate limit status |
Broadcast packet rate limiting state: · enabled. · disabled. |
Multicast packet rate limit status |
Multicast packet rate limiting state: · enabled. · disabled. |
Broadcast packet limit value (pps) |
Broadcast packet rate limit in pps. |
Multicast packet limit value (pps) |
Multicast packet rate limit in pps. |
option capacity-adjust
Use option capacity-adjust enable to enable transmit power adjustment.
Use option capacity-adjust disable to disable transmit power adjustment.
Use undo capacity-adjust to restore the default.
Syntax
option capacity-adjust { disable | enable [ all ] { increase | decrease } value }
undo option capacity-adjust
Default
Transmit power adjustment is disabled.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
all: Configures transmit power adjustment for all rates. If you do not specify this keyword, the command configures transmit power adjustment for mandatory rates.
increase: Increases the transmit power.
decrease: Decreases the transmit power.
value: Specifies the transmit power adjustment value in the range of 1 to 27 dBm.
Usage guidelines
This feature enables an AP to use the adjusted transmit power to transmit packets.
Examples
# Enable transmit power adjustment and increase the transmit power by 1 dBm for all rates.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option capacity-adjust all increase 1
option channel-reuse-optimization
Use option channel-reuse-optimization enable to enable channel reuse.
Use option channel-reuse-optimization disable to disable channel reuse.
Use undo option channel-reuse-optimization to restore the default.
Syntax
option channel-reuse-optimization { disable | enable level level }
undo option channel-reuse-optimization
Default
Channel reuse is disabled.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
level level: Specifies the channel reuse level in the range of 1 to 10. The recommended channel reuse level is 6.
Usage guidelines
This feature enables an AP to ignore packets with a signal strength lower than the specified channel reuse level. This mechanism enables the AP to obtain more radio resources and improves the performance of APs working on the same channel.
Examples
# Enable channel reuse and set the channel reuse level to 5.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option channel-reuse-optimization enable level 5
option client fast-forwarding
Use option client fast-forwarding enable to enable fast forwarding of AP-to-client data frames.
Use undo option client fast-forwarding to disable fast forwarding of AP-to-client data frames.
Syntax
option client fast-forwarding enable level level-value
undo option client fast-forwarding
Default
Fast forwarding of AP-to-client data frames is disabled.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
level level-value: Specifies the fast forwarding level in the range of 1 to 4.
Usage guidelines
This feature enables an AP to forward data frames to clients without extra processing (such as verification and counting) to improve processing efficiency.
Examples
# Enable fast forwarding of AP-to-client data frames.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option client fast-forwarding enable level 1
option client hide-node-protection
Use option client hide-node-protection enable to enable hidden node protection.
Use undo option client hide-node-protection to disable hidden node protection.
Syntax
option client hide-node-protection enable
undo option client hide-node-protection
Default
Hidden node protection is disabled.
Views
Radio interface view
Predefined user roles
network-admin
Usage guidelines
This command takes effect only on 802.11g, 802.11n, and 802.11ac clients.
This feature enables clients to send RTS or CTS frames before transmitting frames to avoid interference from hidden nodes.
Examples
# Enable hidden node protection.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option client hide-node-protection enable
option client reconnect
Use option client reconnect enable to enable AP-triggered client reassociation.
Use undo option client reconnect to disable AP-triggered client reassociation.
Syntax
option client reconnect enable [ rssi rssi-value ] [ interval interval ]
undo option client reconnect
Default
AP-triggered client reassociation is disabled.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
rssi rssi-value: Specifies the RSSI threshold in the range of 5 to 100. The default and recommended RSSI thresholds are 10 and 20, respectively.
interval interval: Specifies the interval at which an AP detects the signal strength of the clients. The value range for the interval argument is 3 to 10 seconds and the default interval is 3 seconds.
Usage guidelines
This feature enables an AP to send deauthentication frames to a client when the AP detects that the signal strength of the client is lower than the specified RSSI threshold. Then, the client can reassociate with the AP or roam to another AP.
Examples
# Enable AP-triggered client reassociation, and set the RSSI threshold and detection interval to 30 and 5 seconds, respectively.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option client reconnect enable rssi 30 interval 5
option client reject
Use option client reject enable to enable an AP to reject weak-signal clients.
Use undo option client reject to disable an AP from rejecting weak-signal clients.
Syntax
option client reject enable [ rssi rssi-value ]
undo option client reject
Default
Weak-signal clients are not rejected.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
rssi rssi-value: Specifies the RSSI threshold in the range of 5 to 100. Both the default and recommended RSSI thresholds are 10.
Usage guidelines
This feature enables an AP to reject clients with an RSSI lower than the specified threshold to release channel resources and enhance WLAN performance.
After you enable this feature, wireless clients with an RSSI lower than the threshold might fail to access the WLAN.
After a client accesses the WLAN, an AP will not log off the client with an RSSI lower than the threshold but will reject the client after it disconnects from the network.
Examples
# Enable the AP to reject clients with an RSSI lower than 30 dBm.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option client reject enable rssi 30
option dot11n-restraint
Use option dot11n-restraint enable to enable 802.11n packet suppression.
Use option dot11n-restraint disable to disable 802.11n packet suppression.
Use undo dot11n-restraint to restore the default.
Syntax
option dot11n-restraint { disable | enable packet-number packet-number packet-length packet-length } [ inbound | outbound ] [ tid tid-number ]
undo option dot11n-restraint
Default
802.11n packet suppression is disabled.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
packet-number packet-number: Specifies the maximum number of MPDUs that can be aggregated into an A-MPDU, in the range of 1 to 64. The recommended value is 8.
packet-length packet-length: Specifies the maximum A-MPDU length, in the range of 2000 to 380000 bytes. The recommended value is 6000.
inbound: Specifies 802.11n packet suppression in the inbound direction.
outbound: Specifies 802.11n packet suppression in the outbound direction.
tid tid-number: Specifies a traffic identifier, in the range of 0 to 7. The queue type varies by TID value.
· 0 and 3—AC-BE queue.
· 1 and 2—AC-BK queue.
· 4 and 5—AC-VI queue.
· 6 and 7—AC-VO queue.
If you do not specify this option, 802.11n packet suppression applies to all types of packets.
Usage guidelines
Perform this task to suppress 802.11n packets by defining the maximum number of aggregated MPDUs and the maximum A-MPDU length. The two thresholds take effect at the same time. If either threshold is reached, the AP stops aggregation and sends the A-MPDU.
Examples
# Enable 802.11n packet suppression. Set the maximum number of MPDUs that can be aggregated into an A-MPDU and the maximum A-MPDU length to 30 and 10000 bytes, respectively.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option dot11n-restraint enable packet-number 30 packer-length 10000
option keep-active
Use option keep-active enable to enable decreasing the sleep interval of wireless clients.
Use option keep-active disable to disable decreasing the sleep interval of wireless clients.
Use undo option keep-active to restore the default.
Syntax
option keep-active { disable | enable }
undo option keep-active
The following compatibility matrix shows the support of hardware platforms for this command:
Hardware series |
Model |
Command compatibility |
WA6600 series |
WA6638 WA6638i WA6636 WA6630X WA6628 WA6628X WA6628E-T WA6628XM WA6622 WA6620 WA6620X WA6620X-LI WA6620XE-LI |
No |
WA6500 series |
WA6528i |
Yes |
WA6300 series |
WA6338 WA6338-HI WA6338-LI WA6330 WA6330-LI WA6322 WA6322H WA6322H-HI WA6322H-LI WA6320 WA6320-C WA6320-D WA6320-HI WA6320-SI WA6320S-C WA6320S-E WA6320H WA6320H-HI WA6320H-LI WA6320H-XEPON |
Yes |
WAP922 series |
WAP922 WAP922E WAP922H WAP922X |
· Yes: ¡ WAP922 ¡ WAP922E ¡ WAP922H · No: ¡ WAP922X |
WAP923 series |
WAP923 |
Yes |
Default
Decreasing the sleep interval of wireless clients is disabled.
Views
Radio interface view
Predefined user roles
network-admin
Usage guidelines
A wireless client in sleep state listens for traffic indication map (TIM) information in beacon frames to determine whether the associated AP has buffered packets for it. This feature enables an AP to modify the TIM information in beacon frames to decrease the sleep interval of wireless clients to improve transmission efficiency.
Examples
# Enable decreasing the sleep interval of wireless clients.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option keep-active enable
option probe-response-try
Use option probe-response-try enable to set the maximum number of probe response attempts.
Use option probe-response-try disable to remove the configuration.
Use undo probe-response-try to restore the default.
Syntax
option probe-response-try { disable | enable number }
undo probe-response-try
The following compatibility matrix shows the support of hardware platforms for this command:
Hardware series |
Model |
Command compatibility |
WA6600 series |
WA6638 WA6638i WA6636 WA6630X WA6628 WA6628X WA6628E-T WA6628XM WA6622 WA6620 WA6620X WA6620X-LI WA6620XE-LI |
No |
WA6500 series |
WA6528i |
Yes |
WA6300 series |
WA6338 WA6338-HI WA6338-LI WA6330 WA6330-LI WA6322 WA6322H WA6322H-HI WA6322H-LI WA6320 WA6320-C WA6320-D WA6320-HI WA6320-SI WA6320S-C WA6320S-E WA6320H WA6320H-HI WA6320H-LI WA6320H-XEPON |
Yes |
WAP922 series |
WAP922 WAP922E WAP922H WAP922X |
· Yes: ¡ WAP922 ¡ WAP922E ¡ WAP922H · No: ¡ WAP922X |
WAP923 series |
WAP923 |
Yes |
Default
The maximum number of probe response attempts is not limited.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
number: Specifies the maximum number of probe response attempts, in the range of 1 to 16.
Usage guidelines
Perform this task to reduce the number of probe responses sent by a radio to save resources and improve network performance.
Examples
# Set the maximum number of probe response attempts to 10.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option probe-response-try enable 10
option roam-navigation
Use option roam-navigation enable to enable roaming navigation.
Use option roam-navigation disable to disable roaming navigation.
Use undo option roam-navigation to restore the default.
Syntax
option roam-navigation { disable | enable rssi rssi-value { beacon-power power-value | probe-response-power power-value } }
undo option roam-navigation
The following compatibility matrix shows the support of hardware platforms for this command:
Hardware series |
Model |
Command compatibility |
WA6600 series |
WA6638 WA6638i WA6636 WA6630X WA6628 WA6628X WA6628E-T WA6628XM WA6622 WA6620 WA6620X WA6620X-LI WA6620XE-LI |
No |
WA6500 series |
WA6528i |
Yes |
WA6300 series |
WA6338 WA6338-HI WA6338-LI WA6330 WA6330-LI WA6322 WA6322H WA6322H-HI WA6322H-LI WA6320 WA6320-C WA6320-D WA6320-HI WA6320-SI WA6320S-C WA6320S-E WA6320H WA6320H-HI WA6320H-LI WA6320H-XEPON |
Yes |
WAP922 series |
WAP922 WAP922E WAP922H WAP922X |
· Yes: ¡ WAP922 ¡ WAP922E ¡ WAP922H · No: ¡ WAP922X |
WAP923 series |
WAP923 |
Yes |
Default
Roaming navigation is disabled.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
rssi rssi-value: Specifies the RSSI threshold in the range of 1 to 50. The recommended RSSI threshold is 20.
beacon-power power-value: Specifies the transmit power for beacon frames, in the range of 1 to 30 dBm. The recommended transmit power is 10 dBm.
probe-response-power power-value: Specifies the transmit power for probe response frames, in the range of 1 to 30 dBm. The recommended transmit power is 10 dBm.
Usage guidelines
If you set the transmit power for beacons or probe responses, the system uses the default transmit power to transmit other packets.
Examples
# Enable roaming navigation. Set the RSSI threshold to 10 and the transmit power for beacon frames to 10 dBm.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option roam-navigation enable rssi 10 probe-response-power 10
reset rrop anti-bmc statistics
Use reset rrop anti-bmc statistics to clear broadcast and multicast packet control statistics information.
Syntax
reset rrop anti-bmc statistics
Views
User view
network-admin
Examples
# Clear broadcast and multicast packet control statistics information.
<Sysname> reset rrop anti-bmc statistics
rrop anti-bmc default-action
Use rrop anti-bmc default-action permit to configure an AP to forward broadcast and multicast packets through radio interfaces.
Use rrop anti-bmc default-action deny to configure an AP to discard broadcast and multicast packets.
Use undo rrop anti-bmc default-action to restore the default.
Syntax
rrop anti-bmc default-action { deny | permit }
undo rrop anti-bmc default-action
Default
The AP forwards broadcast and multicast packets through radio interfaces.
Views
System view
Predefined user roles
network-admin
Usage guidelines
After you execute the rrop anti-bmc default-action permit command on an AP, the AP forwards all received broadcast and multicast packets.
After you execute the rrop anti-bmc default-action deny command on an AP, the AP discards all received broadcast and multicast packets.
If you execute this command together with the rrop anti-bmc network enable command, the rrop anti-bmc network enable command takes effect.
This command is applicable only when software forwarding is used.
Examples
# Configure the AP to discard broadcast and multicast packets.
<Sysname> system-view
[Sysname] rrop anti-bmc default-action deny
Related commands
rrop anti-bmc network
rrop anti-bmc network
Use rrop anti-bmc network enable to enable basic broadcast and multicast packet control in a network.
Use rrop anti-bmc network disable to disable basic broadcast and multicast packet control in a network.
Use undo rrop anti-bmc network to restore the default.
Syntax
rrop anti-bmc network { disable | { ipv4-simple | ipv6-simple | ipv4-and-ipv6-simple } enable }
undo rrop anti-bmc network
Default
Basic broadcast and multicast packet control is disabled for an IPv4 network.
Views
System view
Predefined user roles
network-admin
Parameters
ipv4-simple: Enables basic broadcast and multicast packet control for the IPv4 network.
ipv6-simple: Enables basic broadcast and multicast packet control for the IPv6 network.
ipv4-and-ipv6-simple: Enables basic broadcast and multicast packet control for both the IPv4 and IPv6 networks.
Usage guidelines
To save radio resources and improve the forwarding performance, perform the following tasks:
· Configure APs not to forward broadcast or multicast packets through radio interfaces.
· Enable basic broadcast and multicast packet control in an IPv4 network. Then, APs reply to ARP broadcast packets, discard DHCP broadcast packets, and process other IPv4 basic broadcast and multicast packets as follows:
¡ If the rrop anti-bmc default-action deny command is not executed, the APs process other IPv4 basic broadcast and multicast packets normally.
¡ If the rrop anti-bmc default-action deny command is executed, the APs discard other IPv4 basic broadcast and multicast packets.
· Enable basic broadcast and multicast packet control in an IPv6 network. Then, APs discard RS and DHCPv6 broadcast packets, perform unicast forwarding on RA packets, reply to NS packets, and process other IPv6 basic broadcast and multicast packets as follows:
¡ If neither the rrop anti-bmc default-action deny nor the rrop anti-bmc protocol ipv6 deny command is executed, the APs process other IPv6 basic broadcast and multicast packets normally.
¡ If either the rrop anti-bmc default-action deny or the rrop anti-bmc protocol ipv6 deny command is executed, the APs discard other IPv6 basic broadcast and multicast packets.
This command is applicable only when software forwarding is used.
Examples
# Enable IPv4 basic broadcast and multicast packet control for the AP.
<Sysname> system-view
[Sysname] rrop anti-bmc network ipv4-simple enable
rrop anti-bmc protocol ipv6
Use rrop anti-bmc protocol ipv6 continue to configure an AP to take the default action specified by the rrop anti-bmc default-action command on IPv6 multicast packets.
Use rrop anti-bmc protocol ipv6 deny to configure an AP to discard IPv6 multicast packets.
Use undo rrop anti-bmc protocol ipv6 to restore the default.
Syntax
rrop anti-bmc protocol ipv6 { continue | deny }
undo rrop anti-bmc protocol ipv6
Default
The AP takes the default action specified by the rrop anti-bmc default-action command on IPv6 multicast packets.
Views
System view
Predefined user roles
network-admin
Usage guidelines
After you execute the rrop anti-bmc protocol ipv6 continue command on an AP, the AP continue to execute the configuration of the rrop anti-bmc default-action command.
After you execute the rrop anti-bmc protocol ipv6 deny command on an AP, the AP discards all broadcast and multicast packets. If you execute the rrop anti-bmc protocol ipv6 deny and rrop anti-bmc network enable commands together, the rrop anti-bmc network enable command takes effect.
Examples
# Configure the AP to discard IPv6 multicast packets.
<Sysname> system-view
[Sysname] rrop anti-bmc protocol ipv6 deny
Related commands
rrop anti-bmc default-action
rrop anti-bmc network
rrop anti-bmc rate-limit
Use rrop anti-bmc rate-limit enable to enable broadcast or multicast packet rate limiting.
Use rrop anti-bmc rate-limit disable to disable broadcast or multicast packet rate limiting.
Use undo rrop anti-bmc rate-limit to restore the default.
Syntax
rrop anti-bmc { broadcast | multicast } rate-limit { disable | enable }
undo rrop anti-bmc { broadcast | multicast } rate-limit
Default
Broadcast or multicast packet rate limiting is disabled.
Views
System view
Predefined user roles
network-admin
Parameters
broadcast: Specifies broadcast packets.
multicast: Specifies multicast packets.
Examples
# Enable broadcast packet rate limiting.
<Sysname> system-view
[Sysname] rrop anti-bmc broadcast rate-limit enable
Related commands
rrop anti-bmc rate-limit pps
rrop anti-bmc rate-limit pps
Use rrop anti-bmc rate-limit pps to set the maximum number of broadcast or multicast packets that an AP can send per second.
Use undo rrop anti-bmc rate-limit pps to restore the default.
Syntax
rrop anti-bmc { broadcast | multicast } rate-limit pps max-pps
undo rrop anti-bmc { broadcast | multicast } rate-limit pps
Default
The maximum number of broadcast or multicast packets that the AP can send per second is not specified.
Views
System view
Predefined user roles
network-admin
Parameters
broadcast: Specifies broadcast packets.
multicast: Specifies multicast packets.
pps max-pps: Specifies the maximum number of broadcast or multicast packets that an AP can send per second, in the range of 1 to 1410000. The AP discards the broadcast or multicast packets exceeding the specified limit.
Usage guidelines
This command takes effect only after you enable packet rate limiting.
Examples
# Configure the AP to send a maximum number of 1024 broadcast packets per second.
<Sysname> system-view
[Sysname] rrop anti-bmc broadcast rate-limit pps 1024
Related commands
rrop anti-bmc rate-limit
rrop software-retry
Use rrop software-retry enable to enable software retransmission and set the maximum number of software retransmissions.
Use rrop software-retry disable to disable software retransmission.
Use undo rrop software-retry to restore the default.
Syntax
rrop software-retry { unicast [ eap ] | broadcast-multicast } enable count count
rrop software-retry { unicast [ eap ] | broadcast-multicast } disable
undo rrop software-retry { unicast [ eap ] | broadcast-multicast }
Default
The maximum number of software retransmissions varies by device model.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
unicast: Configures software retransmission for unicast packets.
eap: Configures software retransmission for EAP packets.
broadcast-multicast: Configures software retransmission for broadcast and multicast packets.
count count: Specifies the maximum number of software retransmissions, in the range of 0 to 16.
Examples
# Set the maximum number of software retransmissions for EAP packets to the default.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] undo rrop software-retry unicast eap
wlan client inspect
Use wlan client inspect enable to enable client inspection.
Use undo wlan client inspect to restore the default.
Syntax
wlan client inspect enable
undo wlan client inspect
Default
Client inspection is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
The client inspection feature enables you to view information about packets exchanged and time consumed in each stage of the client association process.
In the current software version, the client inspection feature supports only client association, client association failure, and IP address lease extension events.
Examples
# Enable client inspection.
<Sysname> system-view
[Sysname] wlan client inspect enable