11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

mls qos cosChapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>smls qos cosUse the mls qos cos interface configuration comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>alone switch todefine the default class of service (CoS) value of a port or to assign the default CoS to all incomingpackets on the port. Use the no form of this comm<strong>and</strong> to return to the default setting.mls qos cos {default-cos | override}no mls qos cos {default-cos | override}Syntax Descriptiondefault-cosoverrideAssign a default CoS value to a port. If packets are untagged, the default CoS valuebecomes the packet CoS value. The CoS range is 0 to 7.Override the CoS of the incoming packets, <strong>and</strong> apply the default CoS value on theport to all incoming packets.Defaults The default CoS value for a port is 0.CoS override is disabled.Comm<strong>and</strong> ModesInterface configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesYou can use the default value to assign a CoS <strong>and</strong> Differentiated Services Code Point (DSCP) value toall incoming packets that are untagged (if the incoming packet does not have a CoS value). You also canassign a default CoS <strong>and</strong> 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 prioritythan packets entering from other ports. Even if a port is previously set to trust DSCP, CoS, or IPprecedence, this comm<strong>and</strong> overrides the previously configured trust state, <strong>and</strong> all the incoming CoSvalues are assigned the default CoS value configured with the mls qos cos comm<strong>and</strong>. If an incomingpacket is tagged, the CoS value of the packet is modified with the default CoS of the port at theingress port.ExamplesThis example shows how to configure the default port CoS to 4 on a port:<strong>Switch</strong>(config)# interface gigabitethernet2/0/1<strong>Switch</strong>(config-if)# mls qos trust cos<strong>Switch</strong>(config-if)# mls qos cos 42-356<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> ReferenceOL-9776-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!