ZyXEL Communications n/a User Manual

Page of 222
Chapter 17 Quality of Service (QoS)
DSL & IAD CLI Reference Guide
110
qos filter <interface> add 
<class-number> [service <service-
type>] [dip [not] <dst-ip> <dst-
ip-mask>] [dport [not] <dst-port-
start> <dst-port-end>] [sip [not] 
<src-ip> <src-ip-mask>] [sport 
[not] <src-port-start> <src-port-
end>] [proto [not] <protocol>] 
[dscp [not] <dscp>] [size [not] 
<min-ip-length> <max-ip-length>] 
[dmac [not] <dst-mac> <dst-mac-
mask>] [smac [not] <src-mac
<src-mac-mask>] [vid [not] <vlan-
id>] [vpri [not] <priority>] 
[portid [not] <lan-port-id>] 
[pvcid [not] <pvc-id>]
Adds a new QoS filter for the specified interface.
service-type
: Sets the type of application (sip or ftp).
dst-ip
: Enters the destination IP address.
dst-ip-mask
: Enters the destination subnet mask.
dst-port-start
: Enters the first of the contiguous port number of 
the destination.
dst-port-end
: Enters the last of the contiguous port number of 
the destination.
src-ip
: Enters the source IP address.
src-ip-mask
: Enters the source subnet mask.
src-port-start
: Enters the first of the contiguous port number of 
the source.
src-port-end
: Enters the last of the contiguous port number of 
the source.
protocol
: Enters the number of the protocol type (the protocol field 
in the IP header). For example 1 for ICMP, 6 for TCP, and 17 for 
UDP.
dscp
: Specifies a DSCP number between 0 and 63.
min-ip-length
: Enters the minimum packet length (from 28 to 
1500).
max-ip-length
: Enters the maximum packet length (from 28 to 
1500).
dst-mac
: Enters destination MAC address.
dst-mac-mask
: Types the mask for the MAC address.
src-mac
: Enters the source MAC address.
src-mac-mask
: Types the mask for the MAC address.
vlan-id
: Specifies a VLAN ID number between 2 and 4094.
priority
: Sets the class priority ranging from 0 (the lowest) to 7 
(the highest).
lan-port-id
: Enters a LAN port number.
pvc-id
: Enters a remote node number.
qos filter <interface> del 
<class-number>
Deletes a filter for class # in the specified interface.
qos filter <interface
<enable|disable> <class-number>
Disables or enables a filter for class # in the specified interface. 
qos filter <interface> order 
<class-number> <new-order>
Changes the QoS filter ordering.
The ordering of your rules is important as rules are applied in turn.
qos filter <interface> index 
<class-number> <save-index>
Changes the index number of a QoS filter in TR-069.
save-index
: Enters the new index number from 1 to 30. 
qos filter show
Displays all filters settings.
qos policer <index
<enable|disable>
Disables or enables the specified policer.
index
: Enters the index number (from 1 to 10) of the policer.
qos policer <index> set 
<bandwidth (kbps)> [<size 
(bytes)> <meter-type
<conforming-act> <non-conforming-
act>]
Sets the bandwidth policer settings.
qos policer <index> show
Displays the specified policer settings.
qos policer show
Displays all policers settings.
Table 41   QoS Commands (continued)
COMMAND
DESCRIPTION