Mls Qos Cos - Cisco Catalyst 3560-X Command Reference Manual

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

mls qos cos

mls qos cos
Syntax Description
Defaults
Command Modes
Command History
Usage Guidelines
Examples
Catalyst 3750-X and 3560-X Switch Command Reference
2-368
Downloaded from
www.Manualslib.com
Use the mls qos cos interface configuration command on the switch stack or on a standalone switch to
define the default class of service (CoS) value of a port or to assign the default CoS to all incoming
packets on the port. Use the no form of this command to return to the default setting.
mls qos cos {default-cos | override}
no mls qos cos {default-cos | override}
default-cos
Assign a default CoS value to a port. If packets are untagged, the default CoS value
becomes the packet CoS value. The CoS range is 0 to 7.
override
Override the CoS of the incoming packets, and apply the default CoS value on the
port to all incoming packets.
The default CoS value for a port is 0.
CoS override is disabled.
Interface configuration
Release
Modification
12.2(53)SE2
This command was introduced.
You can use the default value to assign a CoS and Differentiated Services Code Point (DSCP) value to
all incoming packets that are untagged (if the incoming packet does not have a CoS value). You also can
assign a default CoS and DSCP value to all incoming packets by using the override keyword.
Use the override keyword when all incoming packets on certain ports deserve higher or lower priority
than packets entering from other ports. Even if a port is previously set to trust DSCP, CoS, or IP
precedence, this command overrides the previously configured trust state, and all the incoming CoS
values are assigned the default CoS value configured with the mls qos cos command. If an incoming
packet is tagged, the CoS value of the packet is modified with the default CoS of the port at the
ingress port.
This example shows how to configure the default port CoS to 4 on a port:
Switch(config)# interface gigabitethernet2/0/1
Switch(config-if)# mls qos trust cos
Switch(config-if)# mls qos cos 4
manuals search engine
Chapter 2
Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
OL-21522-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents