XG2000 series User's Guide
46/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
4.8 Quality of Service (QoS)
The device provides Quality of Service (QoS) that is based on the IEEE802.1p standard.
The device QoS determines the priority of frames at the ingress side using DiffServ, VLAN tag (including priority tag) or a port's
default priority. Their priorities are mapped to 4 output queues. The queues are processed in the order of the QoS priority
precedence.
The device priorities available are:
z DiffServ
Select QoS using the IPv4 header or DiffServ Code Point included in the IPv6 header.
z Default priority
Set a default priority of 0 to 7 for each port.
For frames whose priority was not set (VLAN-untagged frames), the default priority is assigned
according to the value of the frame.
z Mapping to output queues
The device is equipped with four output queues with different levels (0 to 3). Frames are
transmitted in order of output queue priority.
Each priority is mapped to a specified output queue.
To set the default priority and output queue mapping, carry out the following procedure in the administrator EXEC mode.
Command Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# interface port 1 2 3
xg(config)# interface port range 1 3
Switch to interface edit mode and specify the port(s) to
set with a default QoS priority.
In this example, the global interface configuration mode
is selected for ports 1 though 3.
xg(config-if)# qos default-priority <0-7>
Set a default priority for frames whose priority was not
set (VLAN-untagged frame) when received.
xg(config-if)# exit
Exit to global configuration mode.
xg(config)# bridge diffserv-tos {ipv4 | ipv6}
(Optional)
Used to enable QoS based on DiffServ Code Point.
xg(config)# qos-map priority <0-7>
output-priority <0-3>
Set the level of output queue to map to each frame that
has a priority value.
xg(config)# exit
Exit to administrator EXEC mode.
xg# show qos [ qos-map ]
Show the QoS setting status.