-8
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter
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.
set
cos
cos_value
no set
cos
cos_value
Syntax Description
Defaults
No traffic marking is defined.
Command Modes
Policy-map class configuration
Command History
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
cos_value
Enters an IEEE 802.1Q class of service/user priority value with which
to classify traffic. The range is from 0 to 7.
Release
Modification
12.2(52)EY
This command was introduced.
Содержание ME 3600X
Страница 14: ...Contents xiv Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 534: ... 100 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 Chapter xconnect ...
Страница 625: ...Index IN 15 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 626: ...Index IN 16 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 627: ...Index IN 17 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Страница 628: ...Index IN 18 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...