Set ip dscp – Enterasys Networks X-Pedition XSR CLI User Manual
Page 494
Policy-Map Commands
12-98 Configuring Quality of Service
Mode
Policy‐Map Class configuration:
XSR(config-pmap-c-<xx>)#
Example
The following example configures policy‐map setCosTo4 that matches input priority value range
from 5 to 7 and sets the output VLAN priority to 4:
XSR(config)#policy-map setCosTo4
XSR(config-pmap
XSR(config-pmap-c
set ip dscp
This command marks a packet by setting the IP Differentiated Services Code Point (DSCP) in the
Type of Service (ToS) byte. Once the IP DSCP bit is set, other QoS services can then operate on the
bit settings.
The network gives priority (or some type of expedited handling) to marked traffic. Typically, you
set IP precedence at the edge of the network (or administrative domain); data then is queued
based on the precedence. Class‐Based Weighted Fair Queueing (CBWFQ) can speed up handling
for high‐precedence traffic at congestion points.
Syntax
set ip dscp ip-dscp-value
Note: You cannot mark a packet by the IP precedence with the set ip precedence command
and mark the same packet with an IP DSCP value by entering the set ip dscp command.
Note: Reserved keywords EF (Expedited Forwarding), AF11 (Assured Forwarding Class 11), and
AF12 (Assured Forwarding Class 12) can be specified instead of numeric values.
ip-dscp-value
A number from 0 to 63 that sets the IP DSCP value. Reserved keywords
can be set instead of numeric values as follows:
af11 ‐ Match packets with AF11 DSCP (001010)
af12 ‐ Match packets with AF12 DSCP (001100)
af13 ‐ Match packets with AF13 DSCP (001110)
af21 ‐ Match packets with AF21 DSCP (010010)
af22 ‐ Match packets with AF22 DSCP (010100)
af23 ‐ Match packets with AF23 DSCP (010110)
af31 ‐ Match packets with AF31 DSCP (011010)
af32 ‐ Match packets with AF32 DSCP (011100)
af33 ‐ Match packets with AF33 DSCP (011110)
af41 ‐ Match packets with AF41 DSCP (100010)
af42 ‐ Match packets with AF42 DSCP (100100)
af43 ‐ Match packets with AF43 DSCP (001010)