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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

mls qos rewrite ip dscpChapter 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 rewrite ip dscpUse the mls qos rewrite ip dscp global configuration comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>aloneswitch to configure the switch to change (rewrite) the Differentiated Services Code Point (DSCP) fieldof an incoming IP packet. Use the no form of this comm<strong>and</strong> to configure the switch to not modify(rewrite) the DSCP field of the packet <strong>and</strong> to enable DSCP transparency.mls qos rewrite ip dscpno mls qos rewrite ip dscpSyntax DescriptionThis comm<strong>and</strong> has no arguments or keywords.DefaultsDSCP transparency is disabled. The switch changes the DSCP field of the incoming IP packet.Comm<strong>and</strong> ModesGlobal configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesDSCP transparency affects only the DSCP field of a packet at the egress. If DSCP transparency isenabled by using the no mls qos rewrite ip dscp comm<strong>and</strong>, the switch does not modify the DSCP fieldin the incoming packet, <strong>and</strong> the DSCP field in the outgoing packet is the same as that in the incomingpacket.NoteEnabling DSCP transparency does not affect the port trust settings on IEEE 802.1Q tunneling ports.By default, DSCP transparency is disabled. The switch modifies the DSCP field in an incoming packet,<strong>and</strong> the DSCP field in the outgoing packet is based on the quality of service (QoS) configuration,including the port trust setting, policing <strong>and</strong> marking, <strong>and</strong> the DSCP-to-DSCP mutation map.Regardless of the DSCP transparency configuration, the switch modifies the internal DSCP value of thepacket that the switch uses to generate a class of service (CoS) value representing the priority of thetraffic. The switch also uses the internal DSCP value to select an egress queue <strong>and</strong> threshold.For example, if QoS is enabled <strong>and</strong> an incoming packet has a DSCP value of 32, the switch might modifythe internal DSCP value based on the policy-map configuration <strong>and</strong> change the internal DSCP valueto 16. If DSCP transparency is enabled, the outgoing DSCP value is 32 (same as the incoming value). IfDSCP transparency is disabled, the outgoing DSCP value is 16 because it is based on the internal DSCPvalue.2-368<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!