DSCP-Based QoS Configuration
RUCKUS FastIron releases also support marking of the DSCP value. The software can read Layer 3 Quality of Service (QoS) information in an IP packet and select a forwarding queue for the packet based on the information. The software interprets the value in the six most significant bits of the IP packet header 8-bit ToS field as a DSCP value and maps that value to an internal forwarding priority.
The internal forwarding priorities are mapped to one of the eight forwarding queues (qosp0 through qosp7) on the RUCKUS device. During a forwarding cycle, the device gives more preference to the higher-numbered queues, so that more packets are forwarded from these queues. For example, queue qosp7 receives the highest preference, while queue qosp0, the best-effort queue, receives the lowest preference.
Application Notes for DSCP-Based QoS
- DSCP-based QoS is not automatically honored for routed and switched traffic. The default is IEEE 802.1p to CoS mapping. To honor DSCP-based QoS, you must either use an ACL or enable trust DSCP.
- When DSCP marking is enabled, the device changes the contents of the inbound packet ToS field to match the DSCP-based QoS value.
Using ACLs to Honor DSCP-Based QoS
This section shows how to configure RUCKUS devices to honor DSCP-based QoS for routed and switched traffic.
DSCP-based QoS is not automatically honored for
switched traffic. The default is IEEE 802.1p to CoS mapping. To honor DSCP-based
QoS, you must enter the trust dscp command at the interface level of the CLI.
When the
trust dscp command is enabled, the interface honors the Layer 3 DSCP value. By default, the
interface honors the Layer 2 CoS value.
trust dscp command to
honor DSCP-based QoS classification on the ingress ports; classification on these
ports remains based on Layer 2 (IEEE 802.1p) trust. For GRE tunnels, you can use
ACLs to configure classification based on the DSCP value or you can use the trust dscp
command.trust dscp command can
also be applied on VE interfaces and GRE tunnel interfaces on ICX 7850, ICX 7650,
and ICX 7550 devices. Remarking Configuration Considerations and Limitations
Keep the following considerations in mind when configuring remarking.
- When DSCP remarking is enabled on a virtual interface (VE), an ingress ACL applied to the VLAN to which the VE belongs honors the DSCP remarking value configured on the VE.
- When PCP remarking is enabled on a VE, an egress ACL applied on the VLAN to which the VE belongs honors the PCP remarking value configured on the VE.
- DSCP/PCP remarking is not supported on tagged interfaces in the router image.
- When DSCP remarking is enabled on a Layer 3 physical or LAG interface, an ingress ACL applied to the physical or LAG interface honors the DSCP remarking value configured for the physical or LAG interface.