Administrator Guide

Layer 2 Switching Commands 687
Example
The following example displays how to mark all packets with a CoS value.
console(config-policy-classmap)#mark cos 7
mark ip-dscp
Use the mark ip-dscp command in Policy-Class-Map Configuration mode to
mark all packets for the associated traffic stream with the specified IP DSCP
value.
NOTE: This command is not available on the N1500 Series switches.
Syntax
mark ip-dscp dscpval
dscpval — Specifies a DSCP value (10, 12, 14, 18, 20, 22, 26, 28, 30, 34, 36,
38, 0, 8, 16, 24, 32, 40, 48, 56, 46) or a DSCP keyword (af11, af12, af13,
af21, af22, af23, af31, af32, af33, af41, af42, af43, be, cs0, cs1, cs2, cs3, cs4,
cs5, cs6, cs7, ef).
Default Configuration
This command has no default configuration.
Command Mode
Policy-Class-Map Configuration mode
User Guidelines
Received frames are assigned to a CoS queue on ingress depending on
configuration items such as whether the ingress port is trusted for CoS,
DSCP or IP precedence value and it's mapping onto an internal CoS queue.
IP packets may be remarked using either an in or an out policy map.
Changing the IP DSCP value in the ToS value of an IP packet does not alter
the internal CoS assigned to the packet; it only rewrites the ToS value in the
IP packet header.