trust
If you specify trust ip-precedence, QoS uses the IP precedence value from the ingress packet and the
IP-precedence-to-DSCP map. For non-IP packets that are tagged, QoS uses the received CoS value; for
non-IP packets that are untagged, QoS uses the default port CoS value. In either case, the DSCP for the
packet is derived from the CoS-to-DSCP map.
To return to policy-map configuration mode, use the exit command. To return to privileged EXEC mode,
use the end command.
Examples
This example shows how to define a port trust state to trust incoming DSCP values for traffic classified
with class1:
Switch(config)# policy-map policy1
Switch(config-pmap)# class class1
Switch(config-pmap-c)# trust dscp
Switch(config-pmap-c)# police 1000000 20000 exceed-action policed-dscp-transmit
Switch(config-pmap-c)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Command
class
police
policy-map
set
show policy-map
Catalyst 2960 Switch Command Reference
2-736
Chapter 2 Catalyst 3750 Switch Cisco IOS Commands
Description
Defines a traffic classification match criteria (through the police, set,
and trust policy-map class configuration commands) for the
specified class-map name.
Defines a policer for classified traffic.
Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
Classifies IP traffic by setting a DSCP or IP-precedence value in the
packet.
Displays QoS policy maps.
OL-8604-03