________________________________________________ DS33X162/X161/X82/X81/X42/X41/X11/W41/W11
Rev: 063008
67 of 375
8.16 Quality of Service (QoS) Features
The device contains several features designed to provide Quality of Service (QoS). These features include Virtual
LAN (VLAN) Forwarding and Priority Scheduling/Forwarding supporting both VLAN 802.1p and DSCP. The device
also includes features for Congestion Avoidance and Congestion Management. Information on Congestion
Avoidance using the integrated CIR can be found in Section
8.21. Information on Congestion Management using
Ethernet flow control can be found in Section
8.14.VLAN Forwarding is used to separate traffic into different streams or combine traffic from multiple sources into a
single stream, while Priority Scheduling is used to prioritize traffic waiting in queue for WAN transmit bandwidth to
become available. Note that Priority Scheduling is different than Priority Forwarding. Priority Forwarding is a
technique used to separate traffic of various priority levels onto physically separate WAN connections. The use of
VLAN Forwarding, Priority Scheduling, and Priority Forwarding is determined by the Forwarding Mode of the
device. More information on the available Forwarding Modes can be found in Section
8.9.Within the data stream for each WAN Queue group, 802.1p VLAN Priority Coding or DSCP Priority Coding can be
used to assign traffic to 4 different priority queues as discussed in the following sections.
8.16.1 VLAN Forwarding by VID (IEEE 802.1q)
The VLAN ID (VID) is a 12-bit field that is found beginning in the 15
th byte of VLAN tagged Ethernet frames. The
format of the IEEE 802.1Q VLAN tagged frame is shown in
Figure 8-13. The device uses a 4 kilobyte user-
configured “VLAN Table” to translate VLAN tag information into forwarding, trapping, or discarding decisions. For
more details on VLAN Table programming, see Section
8.16.2.All frames received on the Ethernet interfaces are inspected for a VLAN ID (LAN-VLAN ID) value. The VLAN table
settings for each of the 4096 LAN-VLAN IDs are used to forward each frame to one of the four WAN groups, to
discard the frame, or to extract (trap) the frame. Only when operating in forwarding modes 3, 4, and 5 (as defined
in Section
8.9), can frames be forwarded to one of the four WAN Groups as assigned in the VLAN table. All 12-bit
LAN-VLAN IDs that are translated to the same WAN Group are considered part of the same LAN-VLAN Group.
Note that LAN-VLAN ID trapping must be assigned to an Ethernet Port with the SU.LPM.LEEPS bit, and enabled
All frames received on the WAN interfaces are inspected for a VLAN ID (WAN-VLAN ID) value. ). The VLAN table
settings for each of the 4096 WAN-VLAN IDs are used to forward each frame to one of the Ethernet ports, to
discard the frame, or to extract (trap) the frame. Only when operating in forwarding mode 5 (as defined in Section
8.9), can frames be forward to one of the Ethernet ports by their VLAN ID value. All 12-bit LAN-VLAN IDs that are
translated to the same Ethernet interface are considered part of the same WAN-VLAN Group. Note that WAN-
VLAN forwarding is only applicable when operating in forwarding mode 5. Also note that WAN-VLAN ID trapping
bit.
The LAN-VLAN configuration, used to specify the actions for VLAN ID values in frames received on the Ethernet
interfaces (LAN-to-WAN direction), may be unrelated to the WAN-VLAN configuration, used to specify the actions
for VLAN ID values for frames received on the WAN interface (WAN-to-LAN direction). Although there may be
VLAN tags in both data stream directions (LAN-to-WAN and WAN-to-LAN), the functionality of the device does not
require a symmetrical VLAN function. The LAN-VLAN forwarding and the WAN-VLAN forwarding may be used
independently of each other.