2-467
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Cisco IOS Commands
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
Description
class
Defines a traffic classification match criteria (through the
police
,
set
,
and
trust
policy-map class configuration commands) for the
specified class-map name.
police
Defines a policer for classified traffic.
policy-map
Creates or modifies a policy map that can be attached to multiple
ports to specify a service policy.
set
Classifies IP traffic by setting a DSCP or IP-precedence value in the
packet.
show policy-map
Displays QoS policy maps.