Administrator Guide

Layer 2 Switching Commands 676
Command Mode
Global Configuration mode
User Guidelines
The switch may be configured to trust either DSCP or CoS values, but not
both. Setting the trust mode does not affect ACL packet matching, e.g. it is
still possible to use an ACL that matches on a received CoS value and assigns
the packet to a queue even when DSCP is trusted.
Example
The following example globally configures the mapping for IP DSCP 1 to
traffic class 2. If trust mode is enabled for DSCP (classofservice trust ip-
dscp), packets received on any interface marked with DSCP 1 will be assigned
to internal CoS queue 2.
console(config)#classofservice ip-dscp-mapping 1 2
classofservice trust
Use the classofservice trust command in either Global Configuration mode
or Interface Configuration mode to set the class of service trust mode of an
interface. To set the interface mode to trust 802.1p markings, use the no form
of this command.
55 3
56(cs7) 3
57 3
58 3
59 3
60 3
61 3
62 3
63 3
IP DSCP Traffic Class (queue-id)