Users Guide

Table Of Contents
Layer 2 Switching Commands 756
mark cos
Use the mark cos command in Policy-Class-Map Configuration mode to
mark all packets for the associated traffic stream with the specified class of
service value in the user priority field of the 802.1p header. If the packet does
not already contain this header, one is inserted.
NOTE: This command is not available on the N1500 Series switches.
Syntax
mark cos
cos-value
cos-value
— Specifies the CoS value as an integer. (Range: 0–7)
Default Configuration
There is no default cos-value for this command. Packets are not remarked by
default.
Command Mode
Policy-Class-Map Configuration mode
User Guidelines
Received frames are assigned to an internal CoS queue on ingress depending
on configuration such as whether the ingress port is trusted for CoS, DSCP or
IP precedence value and it's mapping onto an internal CoS queue.
Frames may be remarked using either an in or an out policy map. Changing
the CoS value in the VLAN tag of a frame does not alter the internal CoS
assigned to the packet; it only rewrites the CoS value in the Ethernet frame
header.
Example
The following example displays how to mark all packets with a CoS value.
console(config-policy-classmap)#mark cos 7