EasyManua.ls Logo

Cisco Catalyst 3550

Cisco Catalyst 3550
794 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-247
Catalyst 3550 Multilayer Switch Command Reference
OL-8566-02
Chapter 2 Catalyst 3550 Switch Cisco IOS Commands
mls qos cos policy-map
mls qos cos policy-map
Use the mls qos cos policy-map global configuration command to set the class of service (CoS) value
of a port in a policy map. Use the no form of this command to return to the default setting.
mls qos cos policy-map
no mls qos cos policy-map
Syntax Description This command has no arguments or keywords.
Defaults The CoS value is not set in a policy map.
Command Modes Global configuration
Command History
Usage Guidelines When using the mls qos cos policy-map global configuration command, you can specify the CoS value
in a policy map that includes the trust dscp policy-map configuration command.
If you do not use the mls qos cos policy-map command but use the set cos new-cos policy-map class
configuration command, the switch ignores the action defined by the set cos command in the policy map.
If this policy map also has an action defined by the trust dscp policy-map class configuration command,
the switch uses the Differentiated Services Code Point (DSCP)-to-CoS map to define the CoS value of
a port.
Examples This example shows how to define the CoS value in a policy map. When traffic matches the class map
class1, the CoS value for traffic is set to 3, and the DSCP value does change.
Switch(config)# mls qos cos policy-map
Switch(config)# policy-map policy2
Switch(config-pmap)# class class1
Switch(config-pmap-c)# trust dscp
Switch(config-pmap-c)# set cos 3
Switch(config-pmap-c)# exit
You can verify your settings by entering the show policy-map privileged EXEC command.
Related Commands
Release Modification
12.1(12c)EA1 This command was introduced.
Command Description
class Defines a traffic classification on which a policy acts.
policy-map Creates or modifies a policy map that can be attached to multiple interfaces
and enters policy-map configuration mode.

Table of Contents

Other manuals for Cisco Catalyst 3550

Related product manuals