QoS Monitoring (2024)

Table of Contents
Hierarchical Navigation Viewing Options Finding Feature Information Prerequisites for QoS Monitoring Supported Platforms Restrictions for QoS Monitoring Monitoring QoS Overview QoS Comparison QoS Model on a Cisco Catalyst 3750 Series Switch QoS Model on a Cisco Catalyst 3850 Series Switch Ingress Features Egress Features DSCP Transparency Mode Verifying QoS Configuration on a Cisco Catalyst 3750 Series Switch Verifying QoS Configuration on a Cisco Catalyst 3850 Series Switch Enabling DSCP Transparency Mode Example: Displaying Port Queue Statistics Example: Displaying Target Port Type Example: Displaying Queue Configuration Example: Displaying Port-Shaper Information Example: Disabling QoS Disabling QoS-Cisco Catalyst 3750 Series Switch Example: Enabling Trust CoS Enabling Trust CoS-Cisco Catalyst 3750 Series Switch Example: Enabling Trust DSCP Enabling Trust DSCP-Cisco Catalyst 3750 Series Switch Example: Enabling QoS on an Interface that has a set Policy Enabling QoS on an Interface that has a set Policy-Cisco Catalyst 3750 Series Switch Example: Enabling No MLS QoS Trust on an Interface Enabling No MLS QoS Trust on an Interface-Cisco Catalyst 3750 Series Switch Example: Enabling Change CoS or DSCP Queue Mapping Enabling Change CoS or DSCP Queue Mapping-Cisco Catalyst 3750 Series Switch Example: Enabling MLS with DSCP Mutation Enabling MLS with DSCP Mutation-Cisco Catalyst 3750 Series Switch Example: Enabling Aggregate Policing Enabling Aggregate Policing-Cisco Catalyst 3750 Series Switch Example: Enabling Policing Remark Enabling Policing Remark-Cisco Catalyst 3750 Series Switch Example: Enabling Queue-Limit Configuration Enabling Queue Limit Configuration-Cisco Catalyst 3750 Series Switch Example: Enabling Queue-Buffer Enabling Queue-Buffer-Cisco Catalyst 3750 Series Switch Example: Enabling Bandwidth Enabling Bandwidth-Cisco Catalyst 3750 Series Switch Example: Enabling Priority Verifying Priority-Cisco Catalyst 3750 Series Switch Example: Enabling QoS Shaper Enabling QoS Shaper-Cisco Catalyst 3750 Series Switch Example: Hierarchical Modular QoS Hierarchical Modular QoS - Cisco Catalyst 3750 Series Switch Additional References for QoS Monitoring Related Documents Technical Assistance Feature Information for QoS Monitoring

Contents

  • QoS Monitoring
  • Finding Feature Information
  • Prerequisites for QoS Monitoring
  • Supported Platforms
  • Restrictions for QoS Monitoring
  • Information about QoS
  • Monitoring QoS Overview
  • QoS Comparison
  • QoS Model on a Cisco Catalyst 3750 Series Switch
  • QoS Model on a Cisco Catalyst 3850 Series Switch
  • Ingress Features
  • Egress Features
  • DSCP Transparency Mode
  • How to Enable QoS Monitoring
  • Verifying QoS Configuration on a Cisco Catalyst 3750 Series Switch
  • Verifying QoS Configuration on a Cisco Catalyst 3850 Series Switch
  • Enabling DSCP Transparency Mode
  • Examples for QoS Monitoring
  • Example: Displaying Port Queue Statistics
  • Example: Displaying Target Port Type
  • Example: Displaying Queue Configuration
  • Example: Displaying Port-Shaper Information
  • Example: Disabling QoS
  • Example: Enabling Trust CoS
  • Example: Enabling Trust DSCP
  • Example: Enabling QoS on an Interface that has a set Policy
  • Example: Enabling No MLS QoS Trust on an Interface
  • Example: Enabling Change CoS or DSCP Queue Mapping
  • Example: Enabling MLS with DSCP Mutation
  • Example: Enabling Aggregate Policing
  • Example: Enabling Policing Remark
  • Example: Enabling Queue-Limit Configuration
  • Example: Enabling Queue-Buffer
  • Example: Enabling Bandwidth
  • Example: Enabling Priority
  • Example: Enabling QoS Shaper
  • Example: Hierarchical Modular QoS
  • Additional References for QoS Monitoring
  • Feature Information for QoS Monitoring

The QoS Monitoringfeature describes the Quality of Service (QoS) through sample configurationexamples. This document is for networking professionals who are responsible forthe design, implementation, or administration of a network that includes astandalone Cisco Catalyst 3850 Series or a Cisco Catalyst 3850 SeriesSwitch-stack, referred to as the switch-stack.

Finding Feature Information

Your software releasemay not support all the features documented in this module. For the latestcaveats and feature information, see Bug Search Tool and therelease notes for your platform and software release. To find information aboutthe features documented in this module, and to see a list of the releases inwhich each feature is supported, see the feature information table.

Use Cisco FeatureNavigator to find information about platform support and Cisco software imagesupport. To access Cisco Feature Navigator, go to www.cisco.com/​go/​cfn.An account on Cisco.com is not required.

Prerequisites for QoS Monitoring

We recommend that you have basic knowledge about the concepts and terminology of Multi-Layer Switching (MLS) and Modular QoS CLI (MQC).

QoS Monitoring (2)
Note

The information in this document was created from devices configured in a lab environment. All devices used in this document had a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of the CLIs used in the configuration.

Supported Platforms

  • Cisco Catalyst3750 Series Switches

  • Cisco Catalyst3850 Series Switches

Restrictions for QoS Monitoring

QoS monitoring is applicable only for Wired components.

Information about QoS

Monitoring QoS Overview

QoS refers to theability of a network to provide better service to various network traffic overdifferent technologies such as, Asynchronous Transfer Mode (ATM), Ethernet and802.1 networks, Frame Relay, IP-routed networks, and SONET.

QoS is a collectionof technologies that allows applications to request and receive predictableservice levels in terms of data throughput capacity (bandwidth), latencyvariations (jitter), and delay.

QoS Comparison

QoS configuration onCisco Catalyst 3850 Series Switches uses the MQC (universal QoS configurationmodel) configuration instead of the MLS QoS (platform-dependent QoS) used inthe Cisco Catalyst 3560 Series Switches and Cisco Catalyst 3750 SeriesSwitches.

The following tablelists the differences between the Cisco Catalyst 3750 Series Switches MLS QoSand Cisco Catalyst 3850 Series Switches MQC QoS:

Table 1Differencesbetween Cisco Catalyst 3750 Series Switch MLS QoS and Cisco Catalyst 3850Series Switch MQC QoS

Switch Type

Cisco Catalyst 3750 Series Switch

Cisco Catalyst 3850 Series Switch

Basic Structure

MLS

MQC

QoS default

Disabled

Enabled

Global Configuration

  • SupportsMLS QoS

  • Supportssome of MQC at ingress

  • Does notsupport MLS QoS

  • SupportsMQC; class maps and policy maps

Interface Configuration

Supports MLS QoS configuration and some of MQC CLI at the ingress interface

Attaches the policy to the interface.

Port trust default

Disabled

Enabled

Port Ingress

  • Classification

  • Policing

  • Marking

  • Queuing

  • Classification

  • Policing

  • Marking

  • NoIngress Queuing

Port Egress

Queuing

  • Classification

  • Policing

  • Marking

  • Queuing

Switch Virtual Interface (SVI) Ingress

  • Classification

  • Policing

  • Marking

  • Classification

  • Marking

SVI Egress

None

  • Classification

  • Marking

Trust Configuration

Must be applied to preserve Layer 2 and Layer 3 QoS marking

All packets are trusted (Layer 2 and Layer 3 QoS marking is preserved) by default, unless changed with an application of a specific policy map on the ingress or egress interface

QoS Model on a Cisco Catalyst 3750 Series Switch

The followingillustration represents a QoS model on a Cisco Catalyst 3750 Series Switch:

Figure 1. QoS model on a Cisco Catalyst 3750 Series Switch

QoS Monitoring (3)


QoS Model on a Cisco Catalyst 3850 Series Switch

The followingillustration represents a QoS model on a Cisco Catalyst 3850 Series Switch:

Figure 2. QoS model on a Cisco Catalyst 3850 Series Switch

QoS Monitoring (4)


Ingress Features

The following tablecompares the various ingress features available on Cisco Catalyst 3750 Seriesand Cisco 3850 Series Switches:

Table 2IngressFeatures

Feature

Cisco Catalyst 3750 Series Switch

Cisco Catalyst 3850 Series Switch

Classification

Class-map matches:

  • Differentiated Services Code Point (DSCP)

  • Precedence

  • AccessControl List (ACL)

  • Supports both match-all and match-any

Class-map matches:

  • Classof Service (CoS)

  • Precedence

  • DSCP

  • ACL

  • VLAN

Supports only match-any.

Marking (unconditional set)

  • SetDSCP

  • Precedence

  • SetCos

  • Precedence

  • DSCP

  • QoS-group

Marking (conditional Marking)

DSCP mutation

  • Class-default

  • table-map

Policing

One-rate, two-color (1r2c)

1r2c and two-rate, three-color (2r3c)

Policing markdown

Policing exceeds markdown.

Only supports DSCP.

Policing exceeds and violates markdown. The markdown is supported through a table-map.

Supports:

  • CoS

  • DSCP

  • Precedence

Aggregate Policing

Supports aggregate policing

Aggregate policing (one type of Hierarchal QoS [HQoS])

Ingress Queuing

Supports only on 3750 but does not support on 3750x.

Does not support.

Hierarchical QoS (HQoS)

VLAN based HQoS only

Port-based aggregate policing and per-VLAN.

Egress Features

The following tablecompares the various egress features available on Cisco Catalyst 3750 Seriesand Cisco Catalyst 3850 Series Switches:

Table 3EgressFeatures

Feature

Cisco Catalyst 3750 Series Switch

Cisco Catalyst 3850 Series Switch

Classification support for none queuing action

Does not support

  • CoS,

  • precedence,

  • DSCP,

  • QoS-group,

  • ACL,and

  • VLAN

Classification support for queuing action

CoS and DSCP

  • CoS,

  • precedence,

  • DSCP,and

  • QoS-group

Marking

Does not support

  • SetCoS,

  • precedence, and

  • DSCP

Policing

Does not support

1r2c, 2r3c with exceed or violate markdown through table-map

Maximum number of queues and queue types

1-priority queue, 3-standard queues, 3-thresholds per standard queue (1P3Q3T) [4 queues]

Expedite queue is the priority queue

2-priority queue, 6-standard queue, 3-threshold per standard queue (2P6Q3T) [up to 8 queues]

Egress Queuing

  • Sharemode,

  • shapemode,

  • queue-limit,

  • priority, and

  • queue-buffer

  • Bandwidth,

  • bandwidth remaining,

  • shaping,

  • queue-limit,

  • priority, and

  • queue-buffer

HQoS

Does not support

  • Aggregate policing,

  • per-VLAN,

  • port-shaper, and

  • parentuser shaper with non-queuing action

DSCP Transparency Mode

The Cisco Catalyst3850 Series Switch supports DSCP transparency. The Cisco Catalyst 3850 SeriesSwitch uses the DSCP field of a packet at egress. By default, DSCP transparencyis disabled. The Cisco Catalyst 3850 Series Switch modifies the DSCP field inan incoming packet, and the DSCP field in the outgoing packet is based on theQoS configuration, including the port trust setting, policing and marking, andthe x-to-DSCP AVV table.

If DSCP transparencyis enabled by using the no qos rewrite ip dscp command, the Cisco Catalyst 3850 Series Switch does notmodify the DSCP field in the incoming packet, and the DSCP field in theoutgoing packet is the same as that in the incoming packet.

Regardless of theDSCP transparency configuration, the Cisco Catalyst 3850 Series Switch modifiesthe internal QoS label of the packet, based on the configured QoS policy. TheCisco Catalyst 3850 Series Switch also uses the internal QoS label to select anegress queue and threshold.

How to Enable QoS Monitoring

Verifying QoS Configuration on a Cisco Catalyst 3750 Series Switch

Use the following commands to verify the QoS configuration on a Cisco Catalyst 3750 Series Switch:

Procedure

    Command or ActionPurpose
    Step1enable

    Example:

    Device> enable

    Enablesprivileged EXEC mode.

    • Enter your password if prompted.

    Step2show running-config class-map

    Example:

    Device# show running-config class-map [class-map-name]

    Displaysinformation about the configured class maps.

    Step3show running-config policy-map

    Example:

    Device# show running-config policy-map [policy-map-name]

    Displays theinformation about the configured policy maps.

    Step4show policy-map interface

    Example:

    Device# show policy-map interface [interface-type-number]

    Displaysstatistics and configurations of the input and output policies that areattached to an interface.

    Step5show mls qos maps

    Example:

    Device# show mls qos maps

    Displaysmultilayer switching (MLS) QoS information.

    The followingoptions can be used with the show mls qos maps command:

    • cos-dscp
    • cos-mutation
    • dscp-cos
    • dscp-exp
    • dscp-mutation
    • exp-dscp
    • exp-mutation
    • ip-prec-dscp
    • policed-dscp
    Step6show mls qos queue-set

    Example:

    Device# show mls qos queue-set

    Displays QoSsettings for the egress queues.

    Step7show mls qos interface queuing

    Example:

    Device# show mls qos interface [interface-type-number] queuing

    Displays thequeuing statistics of an interface.

    Step8show platform port-asic stats drop statistics

    Example:

    Device# show platform port-asic stats drop [interface-type-number] statistics

    Displaysplatform-dependent port application-specific integrated circuit (ASIC) registerinformation.

    Step9show mls qos aggregate-policer

    Example:

    Device# show mls qos aggregate-policer

    Displaysinformation about the aggregate policer for MLS QoS.

    Verifying QoS Configuration on a Cisco Catalyst 3850 Series Switch

    Use the following commands to verify the QoS configuration on a Cisco Catalyst 3850 Series Switch:

    Procedure

      Command or ActionPurpose
      Step1enable

      Example:

      Device> enable

      Enablesprivileged EXEC mode.

      • Enter your password if prompted.

      Step2show running-config class-map

      Example:

      Device# show running-config class-map [class-map-name]

      Displays classmap information.

      Step3show running-config policy-map

      Example:

      Device# show running-config policy-map [policy-map-name]

      Displays thepolicy-map configuration.

      Step4show table-map

      Example:

      Device# show table-map [table-map-name]

      Displays theconfiguration of a specified table map or all table maps.

      Step5 show policy-map interface

      Example:

      Device# show policy-map interface [interface-type-number]

      Displays thestatistics and the configurations of the input and output policies that areattached to an interface.

      Step6 show platform software fed switch 1 qos policy target status

      Example:

      Device# show platform software fed switch 1 qos policy target status 

      Displaysinformation about QoS policy status.

      Note

      fed = Forwarding Engine Driver

      Step7 show platform hardware fed switch 1 qos queue configuration interface type

      Example:

      Device# show platform hardware fed switch 1 qos queue configuration interface gigabitEthernet 1/0/1 

      Displays theport queue configuration information.

      Step8 show platform hardware fed switch 1 qos queue stats interface type

      Example:

      Device# show platform hardware fed switch 1 qos queue stats interface gigabitEthernet 1/0/1 

      Displays theport queue statistics.

      Enabling DSCP Transparency Mode

      Perform this task to enable DSCP transparency mode on a Cisco Catalyst 3850 Series Switch:

      Procedure

        Command or ActionPurpose
        Step1enable

        Example:

        Device> enable

        Enablesprivileged EXEC mode.

        Step2configure terminal

        Example:

        Device# configure terminal 

        Enters globalconfiguration mode.

        Step3 qos rewrite ip dscp

        Example:

        Device(config)# qos rewrite ip dscp 

        Enables QoSglobally.

        Step4 no qos rewrite ip dscp

        Example:

        Device(config)# no qos rewrite ip dscp 
        Enables DSCP transparency.
        • The switch is configured to not modify the DSCP field of the IP packet.

        Step5 end

        Example:

        Device(config)# end 

        Exits theglobal configuration and returns to privileged EXEC mode.

        Examples for QoS Monitoring

        Example: Displaying Port Queue Statistics

        QoS Monitoring (5)
        Caution

        The show commands used in this document are for troubleshooting purposes. Use the commands with caution.

        The show platform commands are typically reserved for Cisco TAC personnel and are subject to change without notice.

        The following sample output from the show platform hardware fedswitch 1 qos queue statistics interface gigabitethernet command displays the port queue statistics:

        Device# show platform hardware fed switch 1 qos queue stats interface gigabitEthernet 1/0/1DATA Port:21 Enqueue Counters-------------------------------Queue Buffers Enqueue-TH0 Enqueue-TH1 Enqueue-TH2----- ------- ----------- ----------- ----------- 0 0 0 0 0 1 0 0 0 194328 2 0 0 0 0 3 0 0 0 0 4 0 0 0 0 5 0 0 0 0 6 0 0 0 0 7 0 0 0 0DATA Port:21 Drop Counters-------------------------------Queue Drop-TH0 Drop-TH1 Drop-TH2 SBufDrop QebDrop----- ----------- ----------- ----------- ----------- ----------- 0 0 0 0 0 0 1 0 0 0 0 0 2 0 0 0 0 0 3 0 0 0 0 0 4 0 0 0 0 0 5 0 0 0 0 0 6 0 0 0 0 0 7 0 0 0 0 0AQM Broadcast Early WTD COUNTERS(In terms of Bytes)-------------------------------------------------- PORT TYPE ENQUEUE DROP--------------------------------------------------UPLINK PORT-0 N/A 0UPLINK PORT-1 N/A 0UPLINK PORT-2 N/A 0UPLINK PORT-3 N/A 0NETWORK PORTS 0 0RCP PORTS 0 0CPU PORT 0 0
        QoS Monitoring (6)
        Note

        The queuing statistics are in bytes.

        Table 4Field description

        Drop-TH0

        Refers to packet drop due to crossing Threshold0

        Drop-TH1

        Refers to packet drop due to crossing Threshold1

        Drop-TH2

        Refers to packet drop due to crossing Threshold2

        Example: Displaying Target Port Type

        QoS Monitoring (7)
        Caution

        The show platform commands are typically reserved for Cisco TAC personnel and are subject to change without notice.

        The following sample output from the show platform software fedswitch 1 qos policy target status command displays the target port type:

        Device# show platform software fed switch 1 qos policy target statusTCG status summary:Loc Interface IIF-ID Dir State:(cfg,opr) Policy --- --------------------- ---------------- --- --------------- --------------------L:0 GigabitEthernet1/0/1 0x00000000000008 OUT VALID,SET_INHW police

        Example: Displaying Queue Configuration

        QoS Monitoring (8)
        Caution

        The show platform commands are typically reserved for Cisco TAC personnel and are subject to change without notice.

        QoS Monitoring (9)
        Note

        The show platform hardware fed switch 1 qos queue configuration interface command displays the differences in buffers and threshold settings. The values may not be representative of customer scenarios.

        The following sample output from the show platform hardware fedswitch 1 qos queue configuration interface command displays the queue configuration information:

        Device# show platform hardware fed switch 1 qos queue configuration interface gigabitEthernet1/0/1DATA Port:21 GPN:1 AFD:Disabled QoSMap:0 HW Queues: 168 - 175DrainFast:Disabled PortSoftStart:1 - 1080----------------------------------------------------------DTS Hardmax Softmax PortSMin GlblSMin PortStEnd--- -------- -------- -------- --------- ---------0 1 5 120 6 480 6 320 0 0 3 14401 1 4 0 7 720 3 480 2 180 3 14402 1 4 0 5 0 5 0 0 0 3 14403 1 4 0 5 0 5 0 0 0 3 14404 1 4 0 5 0 5 0 0 0 3 14405 1 4 0 5 0 5 0 0 0 3 14406 1 4 0 5 0 5 0 0 0 3 14407 1 4 0 5 0 5 0 0 0 3 1440Priority Shaped/shared weight shaping_step-------- ------------ ------ ------------0 0 Shared 50 01 0 Shared 75 02 0 Shared 10000 243 0 Shared 10000 2554 0 Shared 10000 965 0 Shared 10000 2556 0 Shared 10000 07 0 Shared 10000 0Weight0 Max_Th0 Min_Th0 Weigth1 Max_Th1 Min_Th1 Weight2 Max_Th2 Min_Th2------- ------- ------ ------ ------ ------ ------ ------ ------0 0 478 0 0 534 0 0 600 01 0 573 0 0 641 0 0 720 02 0 0 0 0 0 0 0 0 03 0 0 0 0 0 0 0 0 04 0 0 0 0 0 0 0 0 05 0 0 0 0 0 0 0 0 06 0 0 0 0 0 0 0 0 07 0 0 0 0 0 0 0 0 0

        Example: Displaying Port-Shaper Information

        Use the following commands to display the port-shaper information:

        Device# show running-config class-map class_dscpclass-map match-any class_dscpmatch dscp af11 Device# show running-config class-map dscp2class-map match-any dscp2match dscp af12 Device# show running-config policy-map childpolicy-map childclass class_dscp bandwidth percent 25 class dscp2 bandwidth percent 25Device# show running-config policy-map port_shaperpolicy-map port_shaperclass class-default shape average percent 40 service-policy childDevice# show running-config interface gigabitEthernet1/0/1interface GigabitEthernet1/0/1service-policy output port_shaperDevice# show policy-map interface gigbitEthernet1/0/1GigabitEthernet1/0/1 Service-policy output: port_shaper Class-map: class-default (match-any) 10 packets Match: any Queueing (total drops) 0 (bytes output) 350 shape (average) cir 400000000, bc 4000000, be 4000000 target shape rate 400000000 Service-policy : child Class-map: class_dscp (match-any) 0 packets Match: dscp af11 (10) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth 25% (100000 kbps) Class-map: dscp2 (match-any) 0 packets Match: dscp af12 (12) 0 packets, 0 bytes 5 minute rate 0 bps Queueing (total drops) 0 (bytes output) 0 bandwidth 25% (100000 kbps) Class-map: class-default (match-any) 10 packets Match: any (total drops) 0 (bytes output) 350

        Example: Disabling QoS

        Disabling QoS-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        No MLS QoS Two queues:
        • Control packets in queue 2

        • Data packets in queue 4

        Nopolicy is installed on an egress interface. Control packets in queue 0 and datapackets in queue 1

        Device# show mls qosQoS is disabled QoS ip packet dscp rewrite is enabledDevice# show mls qos interface gigabitEthernet 1/0/1 statistics  output queues enqueued: queue: threshold1 threshold2 threshold3----------------------------------------------- queue 0: 4 0 0 queue 1: 0 0 0 <- control queue 2: 0 0 0 queue 3: 0 0 0 <- dataoutput queues dropped: queue: threshold1 threshold2 threshold3----------------------------------------------- queue 0: 0 0 0 queue 1: 0 0 0 <- control queue 2: 0 0 0 queue 3: 0 0 0 <- dataPolicer: Inprofile: 0 OutofProfile: 
        QoS Monitoring (10)
        Caution

        The show platform commands are typically reserved for Cisco TAC personnel and are subject to change without notice.

        Device# show running-config interface gigabitEthernet1/0/1Device# show platform hardware fed switch 1 qos queue stats interface gigabitEthernet 1/0/1DATA Port:21 GPN:1 AFD:Disabled QoSMap:0 HW Queues: 168 - 175 DrainFast:Disabled PortSoftStart:1 - 600---------------------------------------------------------- DTS Hardmax Softmax PortSMin GlblSMin PortStEnd --- -------- -------- -------- --------- --------- 0 1 5 120 6 480 0 0 0 0 0 800 <- control 1 1 4 0 7 720 2 480 2 180 2 800 <- data 2 1 4 0 5 0 0 0 0 0 0 800 3 1 4 0 5 0 0 0 0 0 0 800 4 1 4 0 5 0 0 0 0 0 0 800 5 1 4 0 5 0 0 0 0 0 0 800 6 1 4 0 5 0 0 0 0 0 0 800 7 1 4 0 5 0 0 0 0 0 0 800 Priority Shaped/shared weight shaping_step -------- ------------ ------ ------------ 0 0 Shared 50 0 1 0 Shared 75 0 2 0 Shared 10000 179 3 0 Shared 10000 0 4 0 Shared 10000 0 5 0 Shared 10000 0 6 0 Shared 10000 192 7 0 Shared 10000 0 Weight0 Max_Th0 Min_Th0 Weigth1 Max_Th1 Min_Th1 Weight2 Max_Th2 Min_Th2 ------- ------- ------ ------ ------ ------ ------ ------ ------ 0 0 478 0 0 534 0 0 600 0 1 0 573 0 0 641 0 0 720 0 2 0 0 0 0 0 0 0 0 0 3 0 0 0 0 0 0 0 0 0 4 0 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 0 7 0 0 0 0 0 0 0 0 0

        Example: Enabling Trust CoS

        Enabling Trust CoS-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoS MLS QoS trusts CoS interface (based on the default CoS-mapping to the queue-set 1)

        Egressqueuing policy based on CoS (ingress needs configuration trust CoS)

        Global config:Device(config)# mls qosInterface config:Device# interface GigabitEthernet1/0/1Device(config-if)# mls qos trust cosDevice# show mls qosQoS is enabledQoS ip packet dscp rewrite is enabledDevice# show mls qos interface gigabitEthernet1/0/1GigabitEthernet1/0/1trust state: trust costrust mode: trust costrust enabled flag: enaCOS override: disdefault COS: 0DSCP Mutation Map: Default DSCP Mutation MapTrust device: noneqos mode: port-basedDevice# show mls qos maps cos-output-q Cos-outputq-threshold map:cos: 0 1 2 3 4 6 7 ------------------------------------------------------------queue-threshold: 2-1 2-1 3-1 3-1 4-1 1-1 4-1 4-1Note: cos value 0 maps to 2-1 [queue-set1 : queue2 threshold 1]
        Ingress: apply policy-map trust-cosEgress: create class based on cos and have queuing action for each classInterface configuration:Device(config)# interface GigabiEthernet1/0/1Device(config-if)# service-policy input <policy-name>Ingress policy:Device# show running-config policy-map trust-cos class class-default set cos cos table defaultDevice# show table-map default Table Map default default copyEgress policy:Device# show running-config policy-map example2class cos5 bandwidth percent 15 class cos0_1 bandwidth percent 25 class cos2_3 bandwidth percent 40 class cos4_6_7 bandwidth percent 20Device# show running-config class-map cos5class-map match-any cos5 match cos 5 Device# show running-config class-map cos0_1class-map match-any cos0_1 match cos 0 match cos 1 Device# show running-config class-map cos2_3class-map match-any cos2_3 match cos 2 match cos 3 Device# show running-config class-map cos4_6_7class-map match-any cos4_6_7 match cos 4 match cos 6 match cos 7 

        Example: Enabling Trust DSCP

        Enabling Trust DSCP-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoS

        MLS QoStrust Differentiated Services Code Point (DSCP) interface (based on the defaultDSCP-mapping to the queue-set 1)

        • Input default trusts DSCP

        • Egress queuing policy based on DSCP

        Device# configure terminalDevice(config)# mls qos Device(config-if)# interface GigabitEthernet1/0/1 Device(config-if)# mls qos trust dscpDevice# show mls qos interface gigabitEthernet 1/0/1GigabitEthernet1/0/1trust state: trust dscptrust mode: trust dscptrust enabled flag: enaCOS override: disdefault COS: 0DSCP Mutation Map: Default DSCP Mutation MapTrust device: noneqos mode: port-basedDevice# show mls qos maps dscp-output-q Dscp-outputq-threshold map:d1 :d2 0 1 2 3 4 5 6 7 8 9 ---------------------------------------------------------------0 : 02-01 02-01 02-01 02-01 02-01 02-01 02-01 02-01 02-01 02-01 1 : 02-01 02-01 02-01 02-01 02-01 02-01 03-01 03-01 03-01 03-012 : 03-01 03-01 03-01 03-01 03-01 03-01 03-01 03-01 03-01 03-01 3 : 03-01 03-01 04-01 04-01 04-01 04-01 04-01 04-01 04-01 04-01 4 : 01-01 01-01 01-01 01-01 01-01 01-01 01-01 01-01 04-01 04-01 5 : 04-01 04-01 04-01 04-01 04-01 04-01 04-01 04-01 04-01 04-01 6 : 04-01 04-01 04-01 04-01 
        QoS Monitoring (11)
        Note

        Ingress: Default trust DSCP, no policy needed.

        Egress: Use DSCP as classification and add queuing action based on customer need.

        One Sample config:Policy-map:Device# show running-config policy-map dscp-shapeclass dscp56 shape average percent 10 class dscp48 shape average percent 11 class dscp40 shape average percent 12 class dscp32 shape average percent 13Class-map:Device# show running-config class-map dscp56class-map match-any dscp56 match dscp cs7 Device# show running-config class-map dscp48class-map match-any dscp48 match dscp cs6 Device# show running-config class-map dscp40class-map match-any dscp40 match dscp cs5 Device# show running-config class-map dscp32class-map match-any dscp32 match dscp cs4 

        Example: Enabling QoS on an Interface that has a set Policy

        Enabling QoS on an Interface that has a set Policy-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoS

        Interface input policy with set action to mark the CoS or DSCPvalue or both.

        (Markedvalue will be used for egress mapping)

        Needexplicit egress policy to do queuing mapping.

        Device# show running-config class-map dscp-1class-map match-any dscp-1match ip dscp 1 Device# show running-config policy-map set-dscp-63class dscp-1set dscp 63Device# show running-config interface fastEthernet7/0/2interface FastEthernet7/0/2 mls qos trust dscp service-policy input set-dscp-63Device# show policy-map int fastEthernet7/0/2 FastEthernet7/0/2 Service-policy input: set-dscp-63Class-map: dscp-1 (match-any)0 packets, 0 bytes5 minute offered rate 0 bps, drop rate 0 bpsMatch: ip dscp 1 Class-map: class-default (match-any)0 packets, 0 bytes5 minute offered rate 0 bps, drop rate 0 bpsMatch: any 0 packets, 0 bytes5 minute rate 0 bpsNote: Packets come in interface fa7/0/2, dscp1 will be marked to dscp63 which mapping based on the existing mapping table, other pkts will retain original dscp valuemapping accordingly
        QoS Monitoring (12)
        Note

        Input will be the same as Cisco Catalyst 3750 configuration. For the egress interface, queuing action is added under class dscp-63.

        Device# show running-config class-map dscp-1class-map match-any dscp-1match ip dscp 1 Device# show running-config policy-map set-dscp-63policy-map set-dscp-63class dscp-1 set dscp 63Device# show running-config interface gigabitEthernet1/0/2interface GigabitEthernet1/0/2service-policy input set-dscp-63Device# show policy-map interface gigabitEthernet1/0/2 GigabitEthernet1/0/2 Service-policy input: set-dscp-63 Class-map: dscp-1 (match-any) 0 packets Match: ip dscp 1 0 packets, 0 bytes 5 minute rate 0 bps QoS Set dscp 63 Class-map: class-default (match-any) 0 packets Match: any 

        Example: Enabling No MLS QoS Trust on an Interface

        Enabling No MLS QoS Trust on an Interface-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoS

        • Interface does not configure MLS QoS trust CoS or DSCP.

        • CoS or DSCP will be set to 0.

        • Interface input policy with class-default.

        • Set DSCP 0, output policy with class DSCP 0 with queuing action.

        Global:Device(config)# mls qosInterface:interface GigabitEthernet2/0/45!
        Input policy:Device# show running-config policy-map example5-inputclass class-default set dscp defaultOutput policy:Device# show running-config policy-map example5-outputclass dscp0 shape average percent 10 <- queuing action based on customer needAttach to the ingress port:Device# show running-config interface gigabitEthernet1/0/1interface GigabitEthernet1/0/1 service-policy input example5-inputAttach to the egress port:Device# show running-config interface gigabitEthernet1/0/2interface GigabitEthernet1/0/2 service-policy output example5-output

        Example: Enabling Change CoS or DSCP Queue Mapping

        Enabling Change CoS or DSCP Queue Mapping-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoStrust CoS, MLS QoS trust DSCP, Input policy with set action to mark the DSCPvalue, and No MLS QoS trust config [both CoS/DSCP will be set zero] will usethe new mapping table.

        (CoS 4and 5 will be mapped to queue 1 threshold 3)

        Note

        SRR = Shaped Round Robin

        Egressexplicit classification with queuing action.

        Device(config)# mls qos srr-queue mapping configurationDevice(config)# mls qos srr-queue output [CoS-map] queue [1] threshold [3] [4 5] Before Enabling Change CoS or DSCP Queue Mapping:Device# show mls qos maps cos-output-q Cos-outputq-threshold map:cos: 0 1 2 3 4 5 6 7 ------------------------------------------------queue-threshold: 2-1 2-1 3-1 3-1 4-1 1-1 4-1 4-1 User configuration mapping:Device(config)# mls qos srr-queue output cos-map queue 3 threshold 3 0New mapping table after configuration:Device# show mls qos maps cos-output-q Cos-outputq-threshold map:cos: 0 1 2 3 4 5 6 7 ------------------------------------------------queue-threshold: 3-3 2-1 3-1 3-1 4-1 1-1 4-1 4-1
        Input : need apply trust-cos policy:Device# show running-config policy-map trust-cos class class-default set cos cos table defaultDevice# show table-map default Table Map default default copyEgress policy:Before changing mapping:Sample config:Device# show running-config policy-map example2class cos5 bandwidth percent 15 class cos0_1 bandwidth percent 25 class cos2_3 bandwidth percent 40 class cos4_6_7 bandwidth percent 20Device# show running-config class-map cos5class-map match-any cos5 match cos 5 Device# show running-config class-map cos0_1class-map match-any cos0_1 match cos 0 match cos 1 Device# show running-config class-map cos2_3class-map match-any cos2_3 match cos 2 match cos 3 Device# show running-config class-map cos4_6_7!class-map match-any cos4_6_7 match cos 4 match cos 6 match cos 7 After mapping changing, corresponding sample configuration:Device# show running-config policy-map example6class cos5 bandwidth percent 15 class cos1 bandwidth percent 25 class cos0_2_3 bandwidth percent 40 class cos4_6_7 bandwidth percent 20Device# show class-map cos5 Class Map match-any cos5 (id 25) Match cos 5 Device# show running-config class-map cos1class-map match-any cos1 match cos 1 Device# show running-config class-map cos0_2_3class-map match-any cos0_2_3 match cos 0 match cos 2 match cos 3 Device# show running-config class-map cos4_6_7class-map match-any cos4_6_7 match cos 4 match cos 6 match cos 7Device# show policy-map interface gigabitEthernet1/0/1

        Example: Enabling MLS with DSCP Mutation

        Enabling MLS with DSCP Mutation-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoSDSCP Mutation

        • Interface needs MLS QoS trust DSCP configuration.

        • MLS QoS DSCP-mutation name (name is defined in global).

        Interface input policy with table-map mapping different DSCP

        Device(config)# mls qos map dscp-mutation map-name input-dscp1 [ input-dscp2 [ input-dscp3 [ i nput-dscp4 [ input-dscp5 [input-dscp6 [input-dscp7 [input-dscp8] ] ] ] ] ] ] to output-dscpDevice(config)# mls qos map dscp-mutation dscp-mutation 0 1 to 63Device(config)# mls qos map dscp-mutation dscp-mutation 2 3 to 62Device# show mls qos maps dscp-mutation Dscp-dscp mutation map:dscp-mutation:d1 : d2 0 1 2 3 4 5 6 7 8 9 ---------------------------------------0 : 63 63 62 62 04 05 06 07 08 09 1 : 10 11 12 13 14 15 16 17 18 19 2 : 20 21 22 23 24 25 26 27 28 29 3 : 30 31 32 33 34 35 36 37 38 39 4 : 40 41 42 43 44 45 46 47 48 49 5 : 50 51 52 53 54 55 56 57 58 59 6 : 60 61 62 63Dscp-dscp mutation map:Default DSCP Mutation Map:d1 : d2 0 1 2 3 4 5 6 7 8 9 ---------------------------------------0 : 00 01 02 03 04 05 06 07 08 09 1 : 10 11 12 13 14 15 16 17 18 19 2 : 20 21 22 23 24 25 26 27 28 29 3 : 30 31 32 33 34 35 36 37 38 39 4 : 40 41 42 43 44 45 46 47 48 49 5 : 50 51 52 53 54 55 56 57 58 59 6 : 60 61 62 63Interface config:interface FastEthernet7/0/3 description trust dscp mls qos trust dscp mls qos dscp-mutation dscp-mutationDevice# show mls qos interface fastEthernet7/0/3FastEthernet7/0/3trust state: trust dscptrust mode: trust dscptrust enabled flag: enaCOS override: disdefault COS: 0DSCP Mutation Map: dscp-mutationTrust device: noneqos mode: port-basedInterface using default dscp-table:Device# show mls qos interface gigabitEthernet3/0/1GigabitEthernet3/0/1trust state: not trustedtrust mode: not trustedtrust enabled flag: enaCOS override: disdefault COS: 0DSCP Mutation Map: Default DSCP Mutation MapTrust device: noneqos mode: port-based
        QoS Monitoring (13)
        Note

        d1 and d2 are combined to form the 1st and 2nd digit in the original DSCP value and that they intersect at the marked down DSCP value.

        QoS Monitoring (14)
        Note

        • Ingress : Apply policy with DSCP table-map

        • Egress: Classify on new DSCP value with queuing action

        Ingress:Device# show table-map dscp-2-dscp Table Map dscp-2-dscp from 0 to 63 from 1 to 63 from 2 to 62 from 3 to 62 default copyDevice# show running-config policy-map example7-inputclass class-default set dscp dscp table dscp-2-dscpEgress:Device# show running-config policy-map example7-outputclass dscp63 shape average percent 20 [queuing action based on the user need] class dscp62 shape average percent 30 [queuing action based on user need]

        Example: Enabling Aggregate Policing

        Enabling Aggregate Policing-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoSaggregate policing.

        (Allclasses using the aggregate-policing will share the policing rate.)

        Needsinterface level configuration.

        CiscoCatalyst 3850 Series Switch does not support named aggregate policers. However,aggregate policing can be achieved using a hierarchical policy as described inthe example described below.

        mls QoS aggregate-policeragg_traffic 8000 8000 exceed-action drop

        Interfacehaving policy which has agg_traffic as aggregate policer name.

        Global:mls qos aggregate-policer agg_traffic 8000 8000 exceed-action dropAccess-list:access-list 1 permit 192.168.0.0 0.0.0.255access-list 2 permit 10.0.0.0 0.0.0.255Class-map:class-map match-all agg1 match access-group 1class-map match-all agg2 match access-group 2Policy-map:policy-map agg_policer class agg1 set dscp 40 police aggregate agg_traffic class agg2 set dscp 55 police aggregate agg_trafficNote: class agg1 and agg2 will share the same policing rateDevice# show mls qos aggregate-policer aggregate-policer agg_traffic 8000 8000 exceed-action dropDevice# show mls qos interface gigabitEthernet 1/0/2 policers GigabitEthernet1/0/2policymap=agg_policertype=Shared, id=1 name=agg_traffic Device# show mls qos interface gigabitEthernet 1/0/2 statistics GigabitEthernet1/0/2 (All statistics are in packets) dscp: incoming ------------------------------- 0 - 4 : 5 0 0 0 0 5 - 9 : 0 0 0 0 0 10 - 14 : 0 0 0 0 0 15 - 19 : 0 0 0 0 0 20 - 24 : 0 0 0 0 0 25 - 29 : 0 0 0 0 0 30 - 34 : 0 0 0 0 0 35 - 39 : 0 0 0 0 0 40 - 44 : 0 0 0 0 0 45 - 49 : 0 0 0 91 0 50 - 54 : 0 0 0 0 0 55 - 59 : 0 0 0 0 0 60 - 64 : 0 0 0 0 dscp: outgoing ------------------------------- 0 - 4 : 5 0 0 0 0 5 - 9 : 0 0 0 0 0 10 - 14 : 0 0 0 0 0 15 - 19 : 0 0 0 0 0 20 - 24 : 0 0 0 0 0 25 - 29 : 0 0 0 0 0 30 - 34 : 0 0 0 0 0 35 - 39 : 0 0 0 0 0 40 - 44 : 0 0 0 0 0 45 - 49 : 0 0 0 91 0 50 - 54 : 0 0 0 0 0 55 - 59 : 0 0 0 0 0 60 - 64 : 0 0 0 0 cos: incoming ------------------------------- 0 - 4 : 226 0 0 0 0 5 - 7 : 0 0 0 cos: outgoing ------------------------------- 0 - 4 : 8 0 0 0 0 5 - 7 : 0 91 127 output queues enqueued: queue: threshold1 threshold2 threshold3----------------------------------------------- queue 0: 2 0 0 queue 1: 0 6 218 queue 2: 0 0 0 queue 3: 0 0 0 output queues dropped: queue: threshold1 threshold2 threshold3----------------------------------------------- queue 0: 0 0 0 queue 1: 0 0 0 queue 2: 0 0 0 queue 3: 0 0 0 Policer: Inprofile: 11 OutofProfile: 0 
        Device# show running-config class-map dscp1class-map match-any dscp1match dscp af11 Device# show running-config class-map dscp2class-map match-any dscp2match dscp af12 Device# show running-config policy-map childpolicy-map childclass dscp1 set cos 5class dscp2 set cos 7class class-default set precedence 6Device# show running-config class-map vlan18class-map match-any vlan18match vlan 18Device# show running-config policy-map agg_policingpolicy-map agg_policingclass vlan18 police rate percent 50 service-policy childclass class-defaultDevice# show running-config interface gigabiEthernet1/0/1interface GigabitEthernet1/0/1service-policy input agg_policingDevice# show policy-map interface gigabitEthernet1/0/1GigabitEthernet1/0/1 Service-policy input: agg_policing Class-map: vlan18 (match-any) 0 packets Match: vlan 18 0 packets, 0 bytes 5 minute rate 0 bps police: rate 50 % rate 500000000 bps, burst 15625000 bytes conformed 0 bytes; actions: transmit exceeded 0 bytes; actions: drop conformed 0000 bps, exceeded 0000 bps Service-policy : child Class-map: dscp1 (match-any) 0 packets Match: dscp af11 (10) 0 packets, 0 bytes 5 minute rate 0 bps QoS Set cos 5 Class-map: dscp2 (match-any) 0 packets Match: dscp af12 (12) 0 packets, 0 bytes 5 minute rate 0 bps QoS Set cos 7

        Example: Enabling Policing Remark

        Enabling Policing Remark-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoSmap policed-DSCP x-to-y

        If theinterface has a policing policy, exceed is transmit, the global CLI will takeeffect (input only).

        Onetable-map for exceed and one for violate action of policing, input, and output.

        Note

        Only one table-map for exceed and one table-map for violate police action is supported in the system regardless of the direction.

        Default policed-dscp map:Device# show mls qos map policed-dscp Policed-dscp map:d1 : d2 0 1 2 3 4 5 6 7 8 9 ---------------------------------------0 : 00 01 02 03 04 05 06 07 08 09 1 : 10 11 12 13 14 15 16 17 18 19 2 : 20 21 22 23 24 25 26 27 28 29 3 : 30 31 32 33 34 35 36 37 38 39 4 : 40 41 42 43 44 45 46 47 48 49 5 : 50 51 52 53 54 55 56 57 58 59 6 : 60 61 62 63 User define policed-dscp map:Device(config)# mls qos map policed-dscp dscp1 [ dscp2 [ dscp3 [ dscp4 [ dscp5 [ dscp6 [ dscp7 [dscp8] ] ] ] ] ] ] to policed-dscpDevice(config)# mls qos map policed-dscp 0 10 18 24 46 to 8Device(config)# exitDevice# show mls qos map policed-dscp Policed-dscp map:d1 : d2 0 1 2 3 4 5 6 7 8 9 ---------------------------------------0 : 08 01 02 03 04 05 06 07 08 09 1 : 08 11 12 13 14 15 16 17 08 19 2 : 20 21 22 23 08 25 26 27 28 29 3 : 30 31 32 33 34 35 36 37 38 39 4 : 40 41 42 43 44 45 08 47 48 49 5 : 50 51 52 53 54 55 56 57 58 59 6 : 60 61 62 63Policy config:class-map match-all policed-dscpmatch access-group 2class policed-dscppolice 8000 8000 exceed-action policed-dscp-transmitAttach the above policy at ingress:Note : Remark table can be used by policing and interface policingas long as exceed action is transmit
        QoS Monitoring (15)
        Note

        d1 and d2 are combined to form the 1st and 2nd digit in the original DSCP value and that they intersect at the marked down DSCP value.

        Device(config)# table-map policed-dscpDevice(config-tablemap)# map from 0 to 8Device(config-tablemap)# map from 10 to 8Device(config-tablemap)# map from 18 to 8Device(config-tablemap)# map from 24 to 8Device(config-tablemap)# map from 46 to 8Device(config-tablemap)# endDevice# show table-map policed-dscp Table Map policed-dscp from 0 to 8 from 10 to 8 from 18 to 8 from 24 to 8 from 46 to 8 default copyDevice# show policy-map policed-dscp Policy Map policed-dscp Class class-default police cir percent 10 conform-action transmit exceed-action set-dscp-transmit dscp table policed-dscp
        QoS Monitoring (16)
        Note

        Cisco Catalyst 3850 Series Switch does not support remark statistics

        Example: Enabling Queue-Limit Configuration

        Enabling Queue Limit Configuration-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoS queue-set output 1 threshold 1100 100 50 200 (queue-limit)

        [1->queue-set 1,

        1->first queue,

        100->threshold 1,

        100->threshold 2,

        50 ->reserved buffer,

        200-> max threshold,

        Interface configuration queue-set

        (Defaultis queue-set 1)

        Egress queuing policy with queuing action and queue-limit configuration.
        Global config:mls qos srr-queue output cos-map queue queue-id { cos1...cos8 | threshold threshold-id cos1...cos8 }mls qos srr-queue output cos-map queue 2 threshold 1 2mls qos srr-queue output cos-map queue 2 threshold 2 3mls qos srr-queue output cos-map queue 2 threshold 3 6 7Device> show mls qos interface [interface-id] [buffers | queueing | statistics] [ | {begin | exclude | include} expression]Device> show mls qos interface gigabitethernet1/0/2 statistics GigabitEthernet1/0/2 dscp: incoming ------------------------------- 0 - 4 : 4213 0 0 0 0 5 - 9 : 0 0 0 0 0 10 - 14 : 0 0 0 0 0 15 - 19 : 0 0 0 0 0 20 - 24 : 0 0 0 0 0 25 - 29 : 0 0 0 0 0 30 - 34 : 0 0 0 0 0 35 - 39 : 0 0 0 0 0 40 - 44 : 0 0 0 0 0 45 - 49 : 0 0 0 6 0 50 - 54 : 0 0 0 0 0 55 - 59 : 0 0 0 0 0 60 - 64 : 0 0 0 0 dscp: outgoing ------------------------------- 0 - 4 : 363949 0 0 0 0 5 - 9 : 0 0 0 0 0 10 - 14 : 0 0 0 0 0 15 - 19 : 0 0 0 0 0 20 - 24 : 0 0 0 0 0 25 - 29 : 0 0 0 0 0 30 - 34 : 0 0 0 0 0 35 - 39 : 0 0 0 0 0 40 - 44 : 0 0 0 0 0 45 - 49 : 0 0 0 0 0 50 - 54 : 0 0 0 0 0 55 - 59 : 0 0 0 0 0 60 - 64 : 0 0 0 0 cos: incoming ------------------------------- 0 - 4 : 132067 0 0 0 0 5 - 9 : 0 0 0 cos: outgoing ------------------------------- 0 - 4 : 739155 0 0 0 0 5 - 9 : 90 0 0 Policer: Inprofile: 0 OutofProfile: 0If no interface config, the queue-set 1 will be used:Device# show mls qos queue-set 1Queueset: 1Queue : 1 2 3 4----------------------------------------------buffers : 15 25 40 20threshold1: 100 125 100 60threshold2: 100 125 100 150reserved : 50 100 100 50maximum : 200 400 400 200For interface config queue-set 2 explicitly:Device# show mls qos queue-set 2Queueset: 2Queue : 1 2 3 4----------------------------------------------buffers : 25 25 25 25threshold1: 100 200 100 100threshold2: 100 200 100 100reserved : 50 50 50 50maximum : 400 400 400 400

        Use the show mls qos interface user EXEC command to display quality of service (QoS) information at the port level.

        Table 5Syntax Description

        interface-id

        (Optional) Display QoS information for the specified port. Valid interfaces include physical ports.

        buffers

        (Optional) Display the buffer allocation among the queues.

        queueing

        (Optional) Display the queuing strategy (shared or shaped) and the weights corresponding to the queues.

        statistics

        (Optional) Display statistics for sent and received Differentiated Services Code Points (DSCPs) and class of service (CoS) values, the number of packets enqueued or dropped per egress queue, and the number of in-profile and out-of-profile packets for each policer.

        | begin

        (Optional) Display begins with the line that matches the expression.

        | exclude

        (Optional) Display excludes lines that match the expression.

        | include

        (Optional) Display includes lines that match the specified expression.

        expression

        Expression in the output to use as a reference point.

        QoS Monitoring (17)
        Note

        Though visible in the command-line help string, the policer keyword is not supported.

        (multiple class with queue-limit turn on)Device# show policy-map q-limit Policy Map q-limit Class users-class Queuing action ( shaper, bandwidth and bandwidth remaining) queue-limit cos 2 percent 50 queue-limit cos 3 percent 50 queue-limit cos 6 percent 70 queue-limit cos 7 percent 70Device# show policy-map interface gigbitEthernet1/0/1
        QoS Monitoring (18)
        Note

        The policy have to be applied to the interface to view the output of the show policy-map interface command.

        Using the above configuration, cos 2 and cos 3 will be dropped earlier then cos 6 and 7.

        Example: Enabling Queue-Buffer

        Enabling Queue-Buffer-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoSqueue-set output [1] buffers (15 25 40 20)

        Interface config queue-set (default queue-set 1)

        Policy-map with queuing action and queue-buffers ratio (0-100)

        Default queue-buffer:Device# show mls qos queue-set 1Queueset: 1Queue : 1 2 3 4----------------------------------------------buffers : 25 25 25 25threshold1: 100 200 100 100threshold2: 100 200 100 100reserved : 50 50 50 50maximum : 400 400 400 400User define queue-buffer:mls qos queue-set output 1 buffers 15 25 40 20Device# show mls qos queue-set 1Queueset: 1Queue : 1 2 3 4----------------------------------------------buffers : 15 25 40 20threshold1: 100 125 100 60threshold2: 100 125 100 150reserved : 50 100 100 50maximum : 200 400 400 200
        Device# show policy-map queue-buffer Policy Map queue-buffer Class cos7 bandwidth percent 10 queue-buffers ratio 15 Class cos1 bandwidth percent 30 queue-buffers ratio 25class-map:========Device# show class-map cos7 Class Map match-any cos7 (id 22) Match cos 7 Device# show class-map cos1 Class Map match-any cos1 (id 28) Match cos 1Attach to the interface at egress direction:Device# show policy-map interface gigbitEthernet1/0/1

        Example: Enabling Bandwidth

        Enabling Bandwidth-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoS(share mode)

        • Interface level configuration

        • srr-queue bandwidth share1 30 35 5

        Bandwidthin policy map

        Default share and shape mode:

        Device# show mls qos interface gigabitEthernet 1/0/1 queueing GigabitEthernet1/0/1Egress Priority Queue : disabledShaped queue weights (absolute) : 25 0 0 0Shared queue weights : 25 25 25 25The port bandwidth limit : 100 (Operational Bandwidth:100.0)The port is mapped to qset : 1User config share mode under interface:interface GigabitEthernet1/0/1 srr-queue bandwidth share 40 30 20 10 srr-queue bandwidth shape 0 0 0 0 Device# show mls qos interface gigabitEthernet1/0/1 queueing GigabitEthernet1/0/1Egress Priority Queue : disabledShaped queue weights (absolute) : 0 0 0 0Shared queue weights : 40 30 20 10The port bandwidth limit : 100 (Operational Bandwidth:100.0)The port is mapped to qset : 1
        Device# show policy-map bandwidth Policy Map bandwidth Class cos1 bandwidth percent 40 Class cos2 bandwidth percent 30 Class cos3 bandwidth percent 20 Class class-default bandwidth percent 10Device# show class-map cos1 Class Map match-any cos1 Match cos 1 Device# show class-map cos2 Class Map match-any cos2 Match cos 2 Device# show class-map cos3 Class Map match-any cos3 (id 26) Match cos 3 Device# show class-map cos4 Class Map match-any cos4 (id 25) Match cos 4 

        Example: Enabling Priority

        Verifying Priority-Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        MLS QoS(expedite queue)

        Note

        Expedite queue is same as priority queue.

        Interface level configuration priority-queue out (make the firstqueue of the corresponding queue-set as the strict priority queue.)

        Prioritylevel 1 in the policy map.

        interface GigabitEthernet1/0/2 priority-queue out endDevice# show mls qos interface gigabitEthernet1/0/2 queueing GigabitEthernet1/0/2Egress Priority Queue : enabledShaped queue weights (absolute) : 25 0 0 0Shared queue weights : 25 25 25 25The port bandwidth limit : 100 (Operational Bandwidth:100.0)The port is mapped to qset : 1
        Device# show run policy-map priority-queueclass cos7 priority level 1 strict priority class cos1 shape average percent 10Attach the above policy to interface at egress side:

        Example: Enabling QoS Shaper

        Enabling QoS Shaper-Cisco Catalyst 3750 Series Switch

        Default shape mode:GigabitEthernet1/0/3Egress Priority Queue : disabledShaped queue weights (absolute) : 25 0 0 0Shared queue weights : 25 25 25 25The port bandwidth limit : 100 (Operational Bandwidth:100.0)The port is mapped to qset : 1User define shape mode:interface GigabitEthernet1/0/3 srr-queue bandwidth shape 4 4 4 4Device# show mls qos interface gigabitEthernet 1/0/3 queueing GigabitEthernet1/0/3Egress Priority Queue : disabledShaped queue weights (absolute) : 4 4 4 4Shared queue weights : 25 25 25 25The port bandwidth limit : 100 (Operational Bandwidth:100.0)The port is mapped to qset : 1
        Device# show policy-map shape Policy Map shape Class cos1 Average Rate Traffic Shaping cir 25% Class cos2 Average Rate Traffic Shaping cir 25% Class cos3 Average Rate Traffic Shaping cir 25% Class cos4 Average Rate Traffic Shaping cir 25%

        Example: Hierarchical Modular QoS

        Hierarchical Modular QoS - Cisco Catalyst 3750 Series Switch

        Cisco Catalyst 3750 Series Switch (Global Configuration)

        Cisco Catalyst 3750 Series Switch (Interface)

        Cisco Catalyst 3850 Series Switch

        Class-map,

        Policy-map

        • Attach policy to SVI.

        • Interface needs configuration MLS QoS VLAN_based .

        Per-VLANIngress policy

        Note:SVI: Parent [class acl based class-map->policing] Child [class interface range class-map->marking]Child class-map:Device(config)# class-map cm-interface-1Device(config-cmap)# match input gigabitethernet3/0/1 - gigabitethernet3/0/2 Child policy-map:Device(config)# policy-map port-plcmap-1 Device(config-pmap)# class cm-interface-1 Device(config-pmap-c)# police 900000 9000 dropParent class-map matching acl:Device(config)# access-list 101 permit ip any any Parent class-map:Device(config)# class-map cm-1 Device(config-cmap)# match access 101 Device(config)# policy-map vlan-plcmap Device(config-pmap)# class cm-1 Device(config-pmap-c)# set dscp 7 Device(config-pmap-c)# service-policy port-plcmap-1 Device(config-pmap-c)# exit Device(config-pmap)# class cm-2Device(config-pmap-c)# service-policy port-plcmap-1Device(config-pmap-c)# set dscp 10Attach the policy to the interface:Device(config)# interface vlan 10Device(config-if)# service-policy input vlan-plcmap 
        Note: Due to target change, this can't be one to one mapping, need config based oncustomer requirement.Target is at port levelParent classify on vlanChild: none vlan classification [for example cos/dscp]Device# show running-config policy-map PV_parent_marking_child_policingclass vlan10 set dscp 63 service-policy child_class_dscp_policing class vlan11 set cos 5 service-policy child_class_dscp_policing class vlan12 set precedence 6 service-policy child_class_dscp_policingDevice# show running-config policy-map child_class_dscp_policingclass dscp1 police cir percent 12 class dscp2 police cir percent 15 class dscp3 police cir percent 20 class class-default police cir percent 22Device# show running-config class-map vlan10class-map match-any vlan10 match vlan 10Device# show running-config class-map vlan11class-map match-any vlan11 match vlan 11Device# show running-config class-map vlan12class-map match-any vlan12 match vlan 12Device# show running-config class-map dscp1class-map match-any dscp1 match dscp 1 Device# show running-config class-map dscp2class-map match-any dscp2 match dscp 2 Device# show running-config class-map dscp3class-map match-any dscp3 match dscp 3 

        Additional References for QoS Monitoring

        Related Documents

        Related Topic Document Title

        Cisco IOScommands

        Cisco IOS Master Command List, All Release

        CiscoCatalyst 3750 Series Switches Command Reference

        Cisco Catalyst 3750 Series Switch Command Reference Guide

        Technical Assistance

        Description Link

        The CiscoSupport and Documentation website provides online resources to downloaddocumentation, software, and tools. Use these resources to install andconfigure the software and to troubleshoot and resolve technical issues withCisco products and technologies. Access to most tools on the Cisco Support andDocumentation website requires a Cisco.com user ID and password.

        http:/​/​www.cisco.com/​cisco/​web/​support/​index.html

        Feature Information for QoS Monitoring

        The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.

        Use Cisco Feature Navigator to find information about platformsupport and Cisco software image support. To access Cisco Feature Navigator, goto .An account on Cisco.com is not required.

        Table 6Feature Information for QoS Monitoring

        Feature Name

        Releases

        Feature Information

        QoS Monitoring

        Cisco IOS XE Release Denali 16.1.1

        Cisco IOS XE Release 3E

        The QoS Monitoring feature describes the Quality of Service (QoS) through sample configurations examples.

        Configuration guide

        Copyright © 2015, Cisco Systems, Inc. All rights reserved.

        QoS Monitoring (2024)
        Top Articles
        2023-2024 Taxes: Federal Income Tax Brackets and Rates
        Taxes in Retirement: How All 50 States Tax Retirees
        $4,500,000 - 645 Matanzas CT, Fort Myers Beach, FL, 33931, William Raveis Real Estate, Mortgage, and Insurance
        Kostner Wingback Bed
        AllHere, praised for creating LAUSD’s $6M AI chatbot, files for bankruptcy
        Blorg Body Pillow
        Housing near Juneau, WI - craigslist
        Odawa Hypixel
        Danielle Moodie-Mills Net Worth
        855-392-7812
        Couchtuner The Office
        Senior Tax Analyst Vs Master Tax Advisor
        Green Bay Press Gazette Obituary
        Detroit Lions 50 50
        Cvb Location Code Lookup
        Weather Rotterdam - Detailed bulletin - Free 15-day Marine forecasts - METEO CONSULT MARINE
        Roll Out Gutter Extensions Lowe's
        Nearest Walgreens Or Cvs Near Me
        Allybearloves
        Sussur Bloom locations and uses in Baldur's Gate 3
        Wbiw Weather Watchers
        Boscov's Bus Trips
        Somewhere In Queens Showtimes Near The Maple Theater
        Optum Urgent Care - Nutley Photos
        Avatar: The Way Of Water Showtimes Near Maya Pittsburg Cinemas
        R Baldurs Gate 3
        O'reilly's In Monroe Georgia
        897 W Valley Blvd
        Winterset Rants And Raves
        Gabrielle Enright Weight Loss
        How does paysafecard work? The only guide you need
        Drabcoplex Fishing Lure
        Cross-Border Share Swaps Made Easier Through Amendments to India’s Foreign Exchange Regulations - Transatlantic Law International
        CVS Near Me | Somersworth, NH
        Sadie Sink Doesn't Want You to Define Her Style, Thank You Very Much
        Henry County Illuminate
        National Insider Threat Awareness Month - 2024 DCSA Conference For Insider Threat Virtual Registration Still Available
        3496 W Little League Dr San Bernardino Ca 92407
        One Main Branch Locator
        2007 Peterbilt 387 Fuse Box Diagram
        Craigslist Pets Plattsburgh Ny
        Kent And Pelczar Obituaries
        Rush Copley Swim Lessons
        Big Reactors Best Coolant
        Reli Stocktwits
        2000 Ford F-150 for sale - Scottsdale, AZ - craigslist
        Naomi Soraya Zelda
        Gear Bicycle Sales Butler Pa
        Craigslist Monterrey Ca
        Factorio Green Circuit Setup
        Latest Posts
        Article information

        Author: Sen. Ignacio Ratke

        Last Updated:

        Views: 6068

        Rating: 4.6 / 5 (76 voted)

        Reviews: 91% of readers found this page helpful

        Author information

        Name: Sen. Ignacio Ratke

        Birthday: 1999-05-27

        Address: Apt. 171 8116 Bailey Via, Roberthaven, GA 58289

        Phone: +2585395768220

        Job: Lead Liaison

        Hobby: Lockpicking, LARPing, Lego building, Lapidary, Macrame, Book restoration, Bodybuilding

        Introduction: My name is Sen. Ignacio Ratke, I am a adventurous, zealous, outstanding, agreeable, precious, excited, gifted person who loves writing and wants to share my knowledge and understanding with you.