- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
01-WLAN optimization commands | 84.11 KB |
Contents
option client hide-node-protection
option optimize-link-performance
rrop anti-bmc default-action deny
rrop anti-bmc protocol arp mode
rrop anti-bmc protocol ipv6 deny
rrop anti-bmc protocol nd mode
rrop anti-bmc rate-limit enable
WLAN optimization commands
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 optimize-link-performance
Use option optimize-link-performance { inbound | outbound } enable to enable link performance optimization.
Use option optimize-link-performance { inbound | outbound } disable to disable link performance optimization.
Use undo optimize-link-performance to restore the default.
Syntax
option optimize-link-performance { inbound | outbound } { disable | enable } [ value ]
undo optimize-link-performance { inbound | outbound }
Default
Link performance optimization is disabled.
Views
Radio interface view
Predefined user roles
network-admin
Parameters
inbound: Optimizes downlink performance.
outbound: Optimizes uplink performance.
value: Specifies the packet fragmentation threshold in the range of 0 to 2048 bytes.
Examples
# Enable uplink performance optimization and set the packet fragmentation threshold to 100 bytes.
<Sysname> system-view
[Sysname]interface wlan-radio 1/0/1
[Sysname-WLAN-Radio1/0/1] option optimize-link-performance outbound enable 100
rrop anti-bmc default-action deny
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
undo rrop anti-bmc default-action
Default
An AP forwards broadcast and multicast packets through radio interfaces.
Views
System view
Predefined user roles
network-admin
Usage guidelines
After you configure the rrop anti-bmc default-action deny command, an AP discards all broadcast and multicast packets.
If basic broadcast and multicast packet control is enabled for an AP, it answers ARP requests, discard DHCP requests, and discards other broadcast and multicast packets through radio interfaces.
This command is applicable only when software forwarding is used.
Examples
# Configure APs 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.
Use rrop anti-bmc network disable to disable basic broadcast and multicast packet control.
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.
Views
System view
Predefined user roles
network-admin
Parameters
ipv4-simple: Specify basic IPv4 network packets.
ipv6-simple: Specify basic IPv6 network packets.
ipv4-and-ipv6-simple: Specify basic IPv4 and IPv6 network packets.
Usage guidelines
To save radio resources and improve the forwarding performance, perform the following tasks:
· Configure APs to not forward broadcast or multicast packets through radio interfaces.
· Enable basic broadcast and multicast packet control in an IPv4 network. Then, APs convert ARP broadcast packets to unicast 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 configured, the APs process other IPv4 basic broadcast and multicast packets normally.
¡ If the rrop anti-bmc default-action deny command is configured, 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 basic broadcast and multicast packet control in an IPv4 network.
<Sysname> system-view
[Sysname] rrop anti-bmc network ipv4-simple enable
rrop anti-bmc protocol arp mode
Use rrop anti-bmc protocol arp mode to configure the action to take on ARP packets.
Use undo rrop anti-bmc protocol arp to restore the default.
Syntax
rrop anti-bmc protocol arp mode { proxy-reply | unicast-forward }
undo rrop anti-bmc protocol arp
Default
The AP converts ARP packets to unicast packets and then forwards them.
Views
System view
Predefined user roles
network-admin
Parameters
proxy-reply: Enables APs to reply to ARP packets.
unicast-forward: Enables APs to convert ARP packets to unicast packets and then forward them.
Usage guidelines
Configure this feature to reduce ARP packets in the WLAN.
· With the proxy-reply keyword specified, an AP sends an ARP response instead of forwarding the ARP request if the target IP address in the ARP request matches the client entry on the AP. The sender address in the response is the target IP address. The sender MAC address and the source MAC address at the data link layer both are the MAC address bound to the target IP address in the client entry.
· With the unicast-forward keyword specified, an AP changes the target MAC address in the ARP request and the destination MAC address at the data link layer to the MAC address bound to the target IP address in the client entry. Then the AP converts the ARP packet to a unicast packet and forwards it.
This feature takes effect only after you use the rrop anti-bmc network ipv4-simple enable command to enable basic broadcast and multicast packet control for the IPv4 network.
Examples
# Configure APs to reply to ARP packets.
<Sysname> system-view
[Sysname] rrop anti-bmc protocol arp mode proxy-reply
Related commands
rrop anti-bmc network
rrop anti-bmc protocol ipv6 deny
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 deny
undo rrop anti-bmc protocol ipv6
Default
The AP takes the default action specified by the rrop anti-bmc default-action deny command on IPv6 multicast packets.
Views
System view
Predefined user roles
network-admin
Usage guidelines
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 both the rrop anti-bmc protocol ipv6 deny and rrop anti-bmc network enable commands, the rrop anti-bmc network enable command takes effect.
Examples
# Configure APs to discard IPv6 multicast packets.
<Sysname> system-view
[Sysname] rrop anti-bmc protocol ipv6 deny
Related commands
rrop anti-bmc network
rrop anti-bmc default-action deny
rrop anti-bmc protocol nd mode
Use rrop anti-bmc protocol nd mode to configure the action to take on ND packets.
Use undo rrop anti-bmc protocol nd to restore the default.
Syntax
rrop anti-bmc protocol nd mode { proxy-reply | unicast-forward }
undo rrop anti-bmc protocol nd
Default
The AP converts ND packets to unicast packets and then forwards them.
Views
System view
Predefined user roles
network-admin
Parameters
proxy-reply: Enables APs to reply to ND packets.
unicast-forward: Enables APs to convert ND packets to unicast packets and then forward them.
Usage guidelines
Configure this feature to reduce ND packets in the WLAN.
· With the proxy-reply keyword specified, an AP sends an ND response instead of forwarding the ARP request if the target IP address in the ND request matches the client entry on the AP. The sender address in the response is the target IP address. The sender MAC address and the source MAC address at the data link layer both are the MAC address bound to the target IP address in the client entry.
· With the unicast-forward keyword specified, an AP changes the target MAC address in the ND request and the destination MAC address at the data link layer to the MAC address bound to the target IP address in the client entry. Then the AP converts the ND packet to a unicast packet and forwards it.
This feature takes effect only after you use the rrop anti-bmc network ipv6-simple enable command to enable basic broadcast and multicast packet control for the IPv6 network.
Examples
# Configure APs to reply to ND packets.
<Sysname> system-view
[Sysname] rrop anti-bmc protocol nd mode proxy-reply
Related commands
rrop anti-bmc network
rrop anti-bmc rate-limit enable
Use rrop anti-bmc rate-limit enable to enable 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 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.
Usage guidelines
Perform this task to limit the broadcast or multicast packet rate and improve the usage efficiency for radio interfaces.
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 APs 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
wlan client inspect
Use wlan client inspect enable to enable client inspection.
Use wlan client inspect disable to disable 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