Set Cos - Cisco ME 3800X Command Reference Manual

Hide thumbs Also See for ME 3800X:
Table of Contents

Advertisement

set cos

set cos
To set a Layer 2 class of service (CoS) value in the packet, use the set cos command in policy-map class
configuration mode. To remove traffic marking, use the no form of this command.
Syntax Description
cos_value
Defaults
No traffic marking is defined.
Command Modes
Policy-map class configuration
Command History
Release
12.2(52)EY
Usage Guidelines
You can configure set cos with all other marking actions, specifically set dscp, set discard-class, set
mpls, set precedence, and set qos-group, for the same class.
Use the set cos command if you want to mark a packet that is being sent to a switch. Switches can
leverage Layer 2 header information including a CoS value marking.
You can use the match cos class-map configuration command and the set cos policy-map class
configuration command together to allow switches to interoperate and provide quality of service (QoS)
based on the CoS markings. You can also configure Layer 2 to Layer 3 mapping by matching on the CoS
value because switches can already match and set CoS values.
You can verify your settings by entering the show policy-map privileged EXEC command.
Examples
This example shows how to set all FTP traffic to cos 3:
Switch(config)# policy-map policy_ftp
Switch(config-pmap)# class ftp_class
Switch(config-pmap-c)# set cos 3
Switch(config-pmap-c)# exit
Cisco ME 3800X and ME 3600X Switch Command Reference
-8
set cos cos_value
no set cos cos_value
Modification
This command was introduced.
Enters an IEEE 802.1Q class of service/user priority value with which
to classify traffic. The range is from 0 to 7.
Chapter
OL-28238-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Me 3600x

Table of Contents