hit counter script

Mls Qos Cos Policy-Map - Cisco Catalyst 3550 Command Reference Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550:
Table of Contents

Advertisement

Chapter 2
Catalyst 3550 Switch Cisco IOS Commands

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.
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
Release
12.1(12c)EA1
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
Command
class
policy-map
OL-8566-02
mls qos cos policy-map
no mls qos cos policy-map
Modification
This command was introduced.
Description
Defines a traffic classification on which a policy acts.
Creates or modifies a policy map that can be attached to multiple interfaces
and enters policy-map configuration mode.
Catalyst 3550 Multilayer Switch Command Reference
mls qos cos policy-map
2-247

Advertisement

Table of Contents
loading

Table of Contents