QoS Classification Setup
Use this screen to add, edit or delete QoS classifiers. A classifier groups traffic into data flows according to specific criteria such as the source address, destination address, source port number, destination port number or incoming interface. For example, you can configure a classifier to select traffic from the same protocol port (such as Telnet) to form a flow.
You can give different priorities to traffic that the Zyxel Device forwards through the WAN interface. Give high priority to voice and video to make them run more smoothly. Similarly, give low priority to many large file downloads so that they do not reduce the quality of other applications.
Click Network Setting > QoS > Classification Setup to open the following screen.
Network Setting > QoS > Classification Setup
The following table describes the labels in this screen.
Network Setting > QoS > Classification Setup 
LABEL
Description
Add New Classification
Click this to create a new classifier.
Order
This is the index number of the entry. The classifiers are applied in order of their numbering.
Status
This field displays whether the classifier is active or not. A yellow bulb signifies that this classifier is active. A gray bulb signifies that this classifier is not active.
Class Name
This is the name of the classifier.
Classification Criteria
This shows criteria specified in this classifier, for example the interface from which traffic of this class should come and the source MAC address of traffic that matches this classifier.
DSCP Mark
This is the DSCP number added to traffic of this classifier.
802.1P Mark
This is the IEEE 802.1p priority level assigned to traffic of this classifier.
VLAN ID Tag
This is the VLAN ID number assigned to traffic of this classifier.
To Queue
This is the name of the queue in which traffic of this classifier is put.
Modify
Click the Edit icon to edit the classifier.
Click the Delete icon to delete an existing classifier. Note that subsequent rules move up by one when you take this action.
Add or Edit QoS Class
Click Add New Classification in the Classification Setup screen or the Edit icon next to a classifier to open the following screen.
Network Setting > QoS > Classification Setup > Add New Classification/Edit: Step1
Network Setting > QoS > Classification Setup > Add New Classification/Edit: Step2
Network Setting > QoS > Classification Setup > Add New Classification/Edit: Step3
Network Setting > QoS > Classification Setup > Add New Classification/Edit: Step4
Network Setting > QoS > Classification Setup > Add New Classification/Edit: Step5
The following table describes the labels in this screen.
Network Setting > QoS > Classification Setup > Add New Classification/Edit 
LABEL
Description
Step1: Class Configuration
Active
Click this switch to enable the classifier.
Class Name
Enter a descriptive name for this class. You can use up to 32 printable characters except [ " ], [ ` ], [ ' ], [ < ], [ > ], [ ^ ], [ $ ], [ | ], [ & ], or [ ; ]. Spaces are allowed.
Classification Order
Select an existing number for where you want to put this classifier to move the classifier to the number you selected after clicking Apply.
Select Last to put this rule in the back of the classifier list.
Step2: Criteria Configuration
Basic
From Interface
If you want to classify the traffic by an ingress interface, select an interface from the From Interface drop-down list box.
Ether Type
Select a predefined application to configure a class for the matched traffic. Traffic will be classified with the Ether Type of Ethernet frames. Ether Type is a field in an Ethernet frame used to identify the protocol encapsulated in the frame.
Select NA to specify traffic that does not belong to any Ether type.
If you select IP, you also need to configure source or destination, IP address, DHCP options, DSCP value or the protocol type.
If you select IPv6, you also need to configure source or destination, IPv6 address, DSCP value or the protocol type.
If you select 802.1Q, you can configure an 802.1p priority level.
Source
Address
Select the checkbox and enter the source IP address in dotted decimal notation. A blank source IP address means any source IP address.
Subnet Mask
 
This field is available only when you select IP in the Ether Type field.
Enter the source subnet mask.
Prefix Length
This field is available only when you select IPV6 in the Ether Type field.
Enter the source prefix length.
Port Range
If you select TCP or UDP in the IP Protocol field, select the checkbox and enter the port numbers of the source.
MAC
Select the checkbox and enter the source MAC address of the packet.
MAC Mask
Enter the mask for the specified MAC address to determine which bits a packet’s MAC address should match.
Enter “f” for each bit of the specified source MAC address that the traffic’s MAC address should match. Enter “0” for the bits of the matched traffic’s MAC address, which can be of any hexadecimal characters. For example, if you set the MAC address to 00:13:49:00:00:00 and the mask to ff:ff:ff:00:00:00, a packet with a MAC address of 00:13:49:12:34:56 matches this criteria.
Exclude
Select this option to exclude the packets that match the specified criteria from this classifier.
Destination
Address
Select the checkbox and enter the source IP address in dotted decimal notation. A blank source IP address means any source IP address.
Subnet Mask
 
This field is available only when you select IP in the Ether Type field.
Enter the source subnet mask.
Prefix Length
This field is available only when you select IPV6 in the Ether Type field.
Enter the source prefix length.
See the IPv6 Appendix for more IPv6 information.
Port Range
If you select TCP or UDP in the IP Protocol field, select the checkbox and enter the port numbers of the source.
MAC
Select the checkbox and enter the source MAC address of the packet.
MAC Mask
Enter the mask for the specified MAC address to determine which bits a packet’s MAC address should match.
Enter “f” for each bit of the specified source MAC address that the traffic’s MAC address should match. Enter “0” for the bits of the matched traffic’s MAC address, which can be of any hexadecimal characters. For example, if you set the MAC address to 00:13:49:00:00:00 and the mask to ff:ff:ff:00:00:00, a packet with a MAC address of 00:13:49:12:34:56 matches this criteria.
Exclude
Select this option to exclude the packets that match the specified criteria from this classifier.
Others
Service
This field is available only when you select IP or IPv6 in the Ether Type field.
This field simplifies classifier configuration by allowing you to select a predefined application. When you select a predefined application, you do not configure the rest of the filter fields.
IP Protocol
This field is available only when you select IP or IPv6 in the Ether Type field.
Select this option and select the protocol (service type) from TCP, UDP, ICMP or IGMP. If you select User defined, enter the protocol (service type) number.
DHCP
This field is available only when you select IP in the Ether Type field.
Select this option and select a DHCP option.
If you select Vendor Class ID (DHCP Option 60), enter the Vendor Class Identifier (Option 60) of the matched traffic, such as the type of the hardware or firmware.
If you select Client ID (DHCP Option 61), enter the Identity Association IDentifier (IAD Option 61) of the matched traffic, such as the MAC address of the device.
If you select User Class ID (DHCP Option 77), enter a string that identifies the user’s category or application type in the matched DHCP packets.
If you select Vendor Specific Info (DHCP Option 125), enter the vendor specific information of the matched traffic, such as the product class, model name, and serial number of the device.
IP Packet Length
This field is available only when you select IP in the Ether Type field.
Select this option and enter the minimum and maximum packet length (from 46 to 1500) in the fields provided.
DSCP
This field is available only when you select IP or IPv6 in the Ether Type field.
Select this option and specify a DSCP (DiffServ Code Point) number between 0 and 63 in the field provided.
802.1P
This field is available only when you select 802.1Q in the Ether Type field.
Select this option and select a priority level (between 0 and 7) from the drop-down list box.
"0" is the lowest priority level and "7" is the highest.
VLAN ID
This field is available only when you select 802.1Q in the Ether Type field.
Select this option and specify a VLAN ID number.
TCP ACK
This field is available only when you select IP in the Ether Type field.
If you select this option, the matched TCP packets must contain the ACK (Acknowledge) flag.
Exclude
Select this option to exclude the packets that match the specified criteria from this classifier.
Step3: Packet Modification
DSCP Mark
This field is available only when you select IP in the Ether Type field.
If you select Remark, enter a DSCP value with which the Zyxel Device replaces the DSCP field in the packets.
If you select Unchange, the Zyxel Device keep the DSCP field in the packets.
VLAN ID Tag
If you select Remark, enter a VLAN ID number with which the Zyxel Device replaces the VLAN ID of the frames.
If you select Remove, the Zyxel Device deletes the VLAN ID of the frames before forwarding them out.
If you select Add, the Zyxel Device treat all matched traffic untagged and add a second VLAN ID.
If you select Unchange, the Zyxel Device keep the VLAN ID in the packets.
802.1P Mark
Select a priority level with which the Zyxel Device replaces the IEEE 802.1p priority field in the packets.
If you select Unchange, the Zyxel Device keep the 802.1p priority field in the packets.
Step4: Class Routing
Forward to Interface
Select a WAN interface through which traffic of this class will be forwarded out. If you select Unchange, the Zyxel Device forward traffic of this class according to the default routing table.
Step5: Outgoing Queue Selection
To Queue Index
Select a queue that applies to this class.
You should have configured a queue in the Queue Setup screen already.
Cancel
Click Cancel to exit this screen without saving any changes.
OK
Click OK to save your changes.