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.

auto qos classifyChapter 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>sNoteThe switch applies the auto-QoS-generated comm<strong>and</strong>s as if the comm<strong>and</strong>s were entered from thecomm<strong>and</strong>-line interface (CLI). An existing user configuration can cause the application of the generatedcomm<strong>and</strong>s to fail or to be overridden by the generated comm<strong>and</strong>s. These actions occur without warning.If all the generated comm<strong>and</strong>s are successfully applied, any user-entered configuration that was notoverridden remains in the running configuration. Any user-entered configuration that was overridden canbe retrieved by reloading the switch without saving the current configuration to memory. If the generatedcomm<strong>and</strong>s fail to be applied, the previous running configuration is restored.After auto-QoS is enabled, do not modify a policy map or aggregate policer that includes AutoQoS in itsname. If you need to modify the policy map or aggregate policer, make a copy of it, <strong>and</strong> change thecopied policy map or policer. To use the new policy map instead of the generated one, remove thegenerated policy map from the interface, <strong>and</strong> apply the new policy map.To display the QoS configuration that is automatically generated when auto-QoS is enabled, enabledebugging before you enable auto-QoS. Use the debug auto qos privileged EXEC comm<strong>and</strong> to enableauto-QoS debugging. For more information, see the debug auto qos comm<strong>and</strong>.To disable auto-QoS on a port, use the no auto qos trust interface configuration comm<strong>and</strong>. Only theauto-QoS-generated interface configuration comm<strong>and</strong>s for this port are removed. If this is the last porton which auto-QoS is enabled <strong>and</strong> you enter the no auto qos trust comm<strong>and</strong>, auto-QoS is considereddisabled even though the auto-QoS-generated global configuration comm<strong>and</strong>s remain (to avoiddisrupting traffic on other ports affected by the global configuration). You can use the no mls qos globalconfiguration comm<strong>and</strong> to disable the auto-QoS-generated global configuration comm<strong>and</strong>s. With QoSdisabled, there is no concept of trusted or untrusted ports because the packets are not modified. The CoS,DSCP, <strong>and</strong> IP precedence values in the packet are not changed. Traffic is switched in pass-through mode.Packets are switched without any rewrites <strong>and</strong> classified as best effort without any policing.ExamplesThis example shows how to enable auto-QoS classification of an untrusted device <strong>and</strong> police traffic:<strong>Switch</strong>(config)# interface gigabitethernet2/0/1<strong>Switch</strong>(config-if)# auto qos classify policeYou can verify your settings by entering the show auto qos interface interface-id privileged EXECcomm<strong>and</strong>.Related Comm<strong>and</strong>s Comm<strong>and</strong> Descriptiondebug auto qosEnables debugging of the auto-QoS feature.mls qos trustConfigures the port trust state.srr-queue b<strong>and</strong>width shapeAssigns the shared weights <strong>and</strong> enables b<strong>and</strong>width sharingon the four egress queues mapped to a port.queue-setMaps a port to a queue-set.show auto qosDisplays auto-QoS information.show mls qos interfaceDisplays QoS information at the port level.2-52<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!