Contents
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 InformationYour 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 MonitoringWe recommend that you have basic knowledge about the concepts and terminology of Multi-Layer Switching (MLS) and Modular QoS CLI (MQC).
Information about QoS Monitoring QoS OverviewQoS 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 ComparisonQoS 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:
Ingress FeaturesThe following tablecompares the various ingress features available on Cisco Catalyst 3750 Seriesand Cisco 3850 Series Switches:
Egress FeaturesThe following tablecompares the various egress features available on Cisco Catalyst 3750 Seriesand Cisco Catalyst 3850 Series Switches:
DSCP Transparency ModeThe 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 SwitchProcedure Verifying QoS Configuration on a Cisco Catalyst 3850 Series SwitchProcedure Enabling DSCP Transparency ModeProcedure
Examples for QoS Monitoring Example: Displaying Port Queue Statistics
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
Example: Displaying Target Port Type
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
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 InformationUse 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 QoSDisabling QoS-Cisco Catalyst 3750 Series Switch
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:
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 CoSEnabling Trust CoS-Cisco Catalyst 3750 Series Switch
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 DSCPEnabling Trust DSCP-Cisco Catalyst 3750 Series Switch
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
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 PolicyEnabling QoS on an Interface that has a set Policy-Cisco Catalyst 3750 Series Switch
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
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 InterfaceEnabling No MLS QoS Trust on an Interface-Cisco Catalyst 3750 Series Switch
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 MappingEnabling Change CoS or DSCP Queue Mapping-Cisco Catalyst 3750 Series Switch
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 MutationEnabling MLS with DSCP Mutation-Cisco Catalyst 3750 Series Switch
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
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 PolicingEnabling Aggregate Policing-Cisco Catalyst 3750 Series Switch
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 RemarkEnabling Policing Remark-Cisco Catalyst 3750 Series Switch
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
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
Example: Enabling Queue-Limit ConfigurationEnabling Queue Limit Configuration-Cisco Catalyst 3750 Series Switch
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.
(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
Example: Enabling Queue-BufferEnabling Queue-Buffer-Cisco Catalyst 3750 Series Switch
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 BandwidthEnabling Bandwidth-Cisco Catalyst 3750 Series Switch
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 PriorityVerifying Priority-Cisco Catalyst 3750 Series Switch
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 ShaperEnabling QoS Shaper-Cisco Catalyst 3750 Series SwitchDefault 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 QoSHierarchical Modular QoS - Cisco Catalyst 3750 Series Switch
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 MonitoringRelated DocumentsTechnical Assistance
Feature Information for QoS MonitoringThe 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. Configuration guide Copyright © 2015, Cisco Systems, Inc. All rights reserved. | |
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
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
Forex Market Trends for June 12th: GBP depreciated significantly against USD after UK Elections news
Canadian Dollar Rate Today | Live CAD Buying & Selling Rate | BookMyForex
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.