Commands for client QoS

11.1 ap client-qos

Command: ap client-qos
no ap client-qos
Function: Enable the AC global Client QoS function. The no command will disable this function.
Parameters: None.
Command mode: Wireless Global Configuration Mode
Default: Disabled.
Usage guide: Use this command to enable the AC global QoS function. The QoS function switch includes the global switch and the network switch. Enable the global switch to use the ACL, the DiffServ, as well as rate limiting.
Example: Enable AC global Client QoS function.

active500EM(config-wireless)#ap client-qos

 

11.2 client-qos access-control

Command: client-qos access-control {down | up} {ip {<1-199> | <acl-name>} | ipv6 <acl- name> | mac <acl-name>}
no client-qos access-control {down | up}
Function: Configure the default access control list associated with network. The no command will delete the access control list information.
Parameters:

  • down: downlink; egress direction of each client in current network.
  • up: uplink; ingress direction of vlient in current network.
  • <1-199>: ACL table name of IPv4 type; named with numbers.
  • <acl-name>: ACL table name of IPv4 type; named with a string.
  • ipv6 <acl-name>: ACL table names of IPv6 type; named with a string.
  • mac <acl-name>: ACL table names of MAC type; named with a string.

Command mode: Network Configuration Mode
Default: None.
Usage guide: Use this command to configure the uplink and downlink access control lists of the network. In each direction, only one access control list can be configured. The AP configuration file should be sent to make the configuration effective.
Example: Configure the access control IP list 1 of client to the network downlink direction.

active500EM(config-network)#client-qos access-control down ip 1

 

11.3 client-qos bandwidth-limit

Command: client-qos bandwidth-limit {down | up} <1-4194303>
no client-qos bandwidth-limit
Function: Set default maximum bandwidth rate (unit: Kbits per second) of the Client QoS associated with this network. The no command will set the default maximum bandwidth rate value as 0, which does not limit the bandwidth rate.
Parameters:

  • down: downlink; client egress direction of the current network.
  • up: the uplink; client ingress direction of current network.
  • <1-4194303>: the maximum bandwidth rate value.

Command mode: Network Configuration Mode
Default: The default value is 0, which does not limit the bandwidth rate.
Usage guide: Use this command to set default maximum bandwidth rate (unit: Kbits per second) of the Client QoS associated with this network. The no command will set the default maximum bandwidth rate value as 0, which does not limit the bandwidth rate.
Example: Configure the rate restriction as 100 to the downlink direction of the network.

active500EM(config-network)#client-qos bandwidth-limit down 100

 

11.4 client-qos diffserv-policy

Command: client-qos diffserv-policy {down | up} <policy-name>
no client-qos diffserv-policy {down | up}
Function: Configure the default DiffSer policy of clients associated with the network. The no command will delete the configured default DiffSer policy.
Parameters:

  • down: downlink; client egress direction of the current network.
  • up: the uplink; client ingress direction of current network.
  • <policy-name>: name of the policy list.

Command mode: Network Configuration Mode
Default: None.
Usage guide: Use this command to configure the uplink and downlink DiffSer policy of the network. In each direction, only one DiffSer policy can be configured. The AP configuration file should be sent to make the configuration effective.
Example: Configure DiffSer policy table p to the downlink direction of the network.

active500EM(config-network)#client-qos diffserv-policy down p

 

11.5 client-qos enable

Command: client-qos enable
no client-qos enable
Function: Enable AP Client QoS of current network. The no command will disable this function.
Parameters: None.
Command mode: Network Configuration Mode
Default: Disabled.
Usage guide: Use this command to enable the AP Client QoS function on the current network. QoS function switches, including global switch and current network switch. In order to use the function of the configured ACL, DiffServ, and rate limit of down/up, etc., it needs to enable both the global switches.
Example: Enable AP Client QoS function of current network.

active500EM(config-network)#client-qos enable

 

11.6 debug wireless ap-client-qos

Command: debug wireless ap-client-qos {error | internal} <macaddr>
no debug wireless ap-client-qos { error | internal } <macaddr>
Function: Enable the AP Client QoS error or internal debugging information of a VAP. The no command will disable this function.
Parameters:

  • <macaddr>: the MAC address of the VAP.

Command mode: Admin Mode
Default: Disabled.
Usage guide: Use this command to enable the AP Client QoS error or internal debugging information.
Example: Enable the AP Client QoS internal debugging information on the VAP.

active500EM#debug wireless ap-client-qos internal f8-f7-d3-00-03-a0
MAC: f8-f7-d3-00-03-a0 internal WD_LEVEL_WSAP_CONF_CLTQOS_
CALLBACK debug is on
MAC: f8-f7-d3-00-03-a0internal WD_LEVEL_WSAP_CONF_CLTQOS_
INFO debug is on

 

11.7 debug wireless ap-client-qos dump

Command: debug wireless ap-client-qos { packet-rx | packet-tx } dump <macaddr>
no debug wireless ap-client-qos { packet-rx | packet-tx } dump <macaddr>
Function: Enable the AP Client QoS packet content of a VAP. The no command will disable this function.
Parameters:

  • <macaddr>: the MAC address of VAP.

Command mode: Admin mode
Default: Disabled.
Usage guide: Use this command to enable AP Client QoS packet content function; the contents of the packet is in hexadecimal format.
Example: Enable the AP Client QoS packet content of a VAP.

active500EM#debug wireless ap-client-qos packet-tx dump f8-f7-d3-00-03-a0
MAC: f8-f7-d3-00-03-a0packet WD_LEVEL_WSAP_CONF_CLTQOS_
LIST_UPDATE_PKT_TX debug is on
MAC: f8-f7-d3-00-03-a0packet WD_LEVEL_WSAP_CONF_CLTQOS_
LIST_RENAME_PKT_TX debug is on
MAC: f8-f7-d3-00-03-a0 packet WD_LEVEL_WSAP_CONF_CLTQOS_
LIST_DELETE_PKT_TX debug is on
MAC: f8-f7-d3-00-03-a0packet WD_LEVEL_WSAP_CONF_CLTQOS_
MODE_UPDATE_PKT_TX debug is on
MAC: f8-f7-d3-00-03-a0packet WD_LEVEL_WSAP_CONF_CLTQOS_ACL_
DEF_REPLY_PKT_TX debug is on
MAC: f8-f7-d3-00-03-a0packet WD_LEVEL_WSAP_CONF_CLTQOS_
POLICY_DEF_REPLY_PKT_TX debug is on

 

11.8 policy

Command: policy {<1-10000000> <1-1000000> conform-action {drop | set-prec-transmit <0-7> | set-dscptransmit <0-63> | set-cos-transmit <0-7>} {exceed-action {drop} }
Function: Configure policy supervision rules.
Parameters:

  • <1-10000000>: the maximum transmission rate; the unit is Kbits per second.
  • <1-1000000>: burst rate; the unit is Kbytes.

Command mode: Global Configuration Mode
Default: None.
Usage guide: This command is used to configure the policy supervision rules and the actions of drop and mark cannot be used.
Example: Configure a policy supervision rule; set the rate of dscp packets value as 12.

active500EM(config-policymap-p-class-c)#policy 100 100 conform-action transmit set-dscptransmit 12

 

11.9 qos max-bandwidth

Command: qos max-bandwidth {down|up} <1-4194303>
no qos max-bandwidth {down|up}
Function: Configure the maximum bandwidth rate associated with this SSID (the unit is Kbits/s). The information is input as (user inputs/64)*64). The no command recovers to be default (do not limit bandwidth rate).
Parameters:

  • down: downlink; the egress direction of each client in the current network (configure the allowed maximum bandwidth from AP to client).
  • up: uplink; the ingress direction of each client in the current network (configure the allowed maximum bandwidth from client to AP).
  • <1-4194303>: the restriction value of maximum bandwidth rate.

Command mode: Network Configuration Mode
Default: The maximum bandwidth rate is 0 as default (do not limit bandwidth rate).
Usage guide: Configure the maximum bandwidth rate associated with this SSID (the unit is Kbits/s). The information is input as (user inputs/64)*64. The value needs to be 64 or greater. The no command resets to default (do not limit bandwidth rate).
Example: Configure the allowed maximum bandwidth from AP to client as 100Kbits/s (100 will be changed as 64). Information: the input value 100 is scaled to 64.

active500EM(config-network)#qos max-bandwidth down 100

 

11.10 show wireless client client-qos radius status

Command: show wireless client <macaddr> client-qos radius status
Function: Show data details of Client QoS associated with a managed AP.
Parameters:

  • <macaddr>: the MAC address of the client.

Command mode: Admin Mode
Default: None.
Usage guide: Use this command to show data details of the Client QoS associated with a managed AP. This information is obtained from the radius server.
Example: Show the Client QoS data details obtained from the radius server.

active500EM#show wireless client e0-05-c5-8e-10-2f client-qos radius status
MAC address.................................... e0-05-c5-8e-10-2f
SSID........................................... guest1
Bandwidth Limit Down........................... <none>
Bandwidth Limit Up............................. <none>
Access Control Down............................ <none>
Access Control Up.............................. <none>
Diffserv Policy Down........................... <none>
Diffserv Policy Up............................. <none>

 

11.11 show wireless client client-qos status

Command: show wireless client <macaddr> client-qos status
Function: Show status of the Client QoS associated with a managed AP.
Parameters:

  • <macaddr>: MAC address of client.

Command mode: Admin Mode
Default: None.
Usage guide: Use this command to show status of the Client QoS associated with a managed AP.
Example: Show status of the Client QoS associated with a managed AP.

active500EM#show wireless client e0-05-c5-8e-10-2f client-qos status
MAC address.................................... e0-05-c5-8e-10-2f
SSID........................................... guest1
Client QoS Operational Status.................. Enabled
Bandwidth Limit Down........................... 0
Bandwidth Limit Up............................. 0
Access Control Down............................ <none>
Access Control Up.............................. <none>
Diffserv Policy Down........................... p
Diffserv Policy Up............................. <none>