106
> qos
set advance-layer4
Syntax:
set advance-layer4 <port-range> <#> <tcp/udp port> <default> <match>
Description:
Sets the class of ports on advanced mode for Layer 4 QoS.
Arguments:
<port range>: which ports to change, can be a single port (e.g. “1”) or a range of ports (e.g. “5-7”), range
from 1-8.
<#>: special UDP/TCP port selection, range from 1-10.
<tcp/udp port range>: TCP/UDB port, range from 0-65535.
<default>: default class (all other TCP/UDP ports), can be 1 (high) or 0 (low).
<match>: special TCP/UDP class, can be 1 (high) or 0 (low).
Example:
SS2GD8I(qos)# set advance-layer4 5 2 80 1 0
set default
Syntax:
set default <class>
Description:
Sets the priority class of the packets that QoS doesn’t affect.
Arguments:
<class>: class of service, can be 1 (high) or 0 (low).
Example:
SS2GD8I(qos)# set default 1
set diffserv
Syntax:
set diffserv <ds-range> <class>
Description:
Sets class of ports for IP DiffServ QoS.
Arguments:
<ds-range>: DSCP field, can be a single number (e.g. “1”) or a range of numbers (e.g. “5-7”), range from
0-63.
<class>: class of service, can be 1 (high) or 0 (low).
Example:
SS2GD8I(qos)# set diffserv 0-20 1