Catalyst 3550 & 3560/3750 command 'show mls qos interface statistics'
On the Catalyst 3550 the command 'show mls qos interface statistics' will show ingress packet (or byte) counts with DSCP values. If you have policers configured then it also shows a count of packets that have been marked down to another DSCP value due to policing or any that have been dropped (obviously 'mls qos monitor dscp x' needs configuring). The same command on the 3560/3750 only shows the ingress & egress DSCP values, there is no column that shows packets (or bytes) that have been policed or dropped. Is there any command to display the same information with the 3560/3750?
Neither platform show counters when the command 'show policy-map interface x/x' is used so this won't work.
Thanks
Andy
Hi, I believe there is a command on the 3560 'sh mls qos interface policers' may be what you are looking for.
Here is what the command says it outputs:
To display QoS information at the interface level. This information includes:
The configuration of the egress queues and the CoS3-to-egress-queue map
Which interfaces have configured policers
Ingress and egress statistics, which includes the number of bytes that have been dropped
Similar Messages
-
3750 - Show mls qos interface statistics
Hi All,
Sorry if this is posted in the wrong place but can anyone shed any light on the meaning of the five columns given in the output for the following command on a 3750 ?
Show Mls Qos Interface <interface id> Statistics
Many Thanks
ShaunI think that this is my first post, so I hope it will be useful ;-)
It's indeed very strange, I faced the same problem before, so I tried to check older switches, and I was able to find what these values are, for example, if You check the link :
Understanding QoS Policing and Marking on the Catalyst 3550
http://www.cisco.com/en/US/products/hw/switches/ps646/products_tech_note09186a00800feff5.shtml
You will find that these five fields mean:
incoming no_change classified policed dropped (in pkts)
This is a description of the fields in the example:
Incoming—shows how many packets arrive from each direction
NO_change—shows how many packets were trusted (such as QoS level not changed)
Classified—shows how many packets have been assigned this internal DSCP after classification
Policed—shows how many packets were marked down by policing; DSCP shown before markdown.
Dropped—shows how many packets were dropped by policing -
Show mls qos interface statistics equivalent command on Cat6500 SUP720-3B?
Hi all
Is there a command on the SUP720-3B that is similar to the show mls qos interface gi0/x statistics command on the access-layer series switches (3560 etc.)?
I'd like to see the incoming and outgoing DSCP/COS values in number of packets.
Thx :)Hi,
You can use this command:
SUP720#show queueing interface xx
You should be able to see all that information there.
Hope this helps. -
3560 mls qos interface statistics output
Hi
I've seen questions like this before, but never seen a satisfactory answer... I can't find any good documentation anywhere about this command.
If you run it, you get tabular output of some statistics - with no headers to the columns.
The closest thing I've found to it is in this document:
http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/12113ea1/3550cr/cli2.htm#wp2418191
It shows the fields as: Incoming, No_Change, Classified, Policed and dropped.
I have a switch with a modified cos-dscp map so that cos 5 is marked to dscp 46. This shows normal traffic as in the row titled 0-4 in the 'incoming' column, and cos 5 traffic appears in the 40-44 row and the 'dropped' column... which can't be right.
Anyone know what the columns mean?
AaronI figured this out after looking at it sideways and upside down. Here is part of the output from the command I ran on one of our 3750 switches (copy it and paste it into notepad so the rows stretch back out): 'sh mls qos int f0/35 statistics'
dscp: outgoing
0 - 4 : 63683 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 81
25 - 29 : 0 0 0 0 0
30 - 34 : 0 0 0 0 13366
35 - 39 : 0 0 0 0 0
40 - 44 : 0 0 0 0 0
45 - 49 : 0 10749 0 13653 0
50 - 54 : 0 0 0 0 0
55 - 59 : 0 0 0 0 0
On the left side X - X are the DSCP values for the five columns of that row. For example, 20 - 24 row has the number 81 in the fith column. That shows that 81 packets with the DSCP value of 24 went out of that port. In row 45 - 49, 10749 packets with DSCP of 46 and 13653 packets with DSCP value of 48 went out that port.
I finally was able to use this table to show that a video conferencing unit was truely generating voice packets with DSCP 46 (EF), video packets with DSCP 34, and call control packets with DSCP 24 (this is COS 3 that is mapped to DSCP 24 in the cos-dscp map entry.)
So to clarify, the five columns have nothing to do with Incoming, No_Change, Classified, Policed and dropped, they represent the number of packets that have the DSCP values as referred to by the far left table.
Hope this helps. -
Cat. 3750 QoS Queue statistics
Hi all:
Does anyone know a way to see input and output queue statistics like occupation, number of frames discarded due to threshold reached etc ... on a Cat 3750
May be there exists a MIB...
Best regs.the command "show mls qos interface" should help.
check out the following link for the command reference :
http://www.cisco.com/en/US/products/hw/switches/ps5023/products_command_reference_chapter09186a008017f8ed.html#2418190 -
MLS QOS commands not accepted on 3800...what's the alternative?
ging from 3750 to 3800, MLS QOS commands not accepted on 3800...I'd heard that this command was deprecated, how do we translate our QoS statements onto the new platform?
To clarify, our 3750 mls qos statements are as follows:
mls qos map cos-dscp 0 8 16 26 32 46 48 56
mls qos srr-queue input bandwidth 90 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66
mls qos srr-queue input buffers 67 33
mls qos srr-queue input cos-map queue 1 threshold 2 1
mls qos srr-queue input cos-map queue 1 threshold 3 0
mls qos srr-queue input cos-map queue 2 threshold 1 2
mls qos srr-queue input cos-map queue 2 threshold 2 4 6 7
mls qos srr-queue input cos-map queue 2 threshold 3 3 5
mls qos srr-queue input dscp-map queue 1 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue input dscp-map queue 1 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue input dscp-map queue 1 threshold 3 32
mls qos srr-queue input dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue input dscp-map queue 2 threshold 2 33 34 35 36 37 38 39 48
mls qos srr-queue input dscp-map queue 2 threshold 2 49 50 51 52 53 54 55 56
mls qos srr-queue input dscp-map queue 2 threshold 2 57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue input dscp-map queue 2 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output cos-map queue 1 threshold 3 5
mls qos srr-queue output cos-map queue 2 threshold 3 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 2 4
mls qos srr-queue output cos-map queue 4 threshold 2 1
mls qos srr-queue output cos-map queue 4 threshold 3 0
mls qos srr-queue output dscp-map queue 1 threshold 3 40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 2 threshold 3 24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 3 threshold 3 32 33 34 35 36 37 38 39
mls qos srr-queue output dscp-map queue 4 threshold 1 8
mls qos srr-queue output dscp-map queue 4 threshold 2 9 10 11 12 13 14 15
mls qos srr-queue output dscp-map queue 4 threshold 3 0 1 2 3 4 5 6 7
mls qos queue-set output 1 threshold 1 138 138 92 138
mls qos queue-set output 1 threshold 2 138 138 92 400
mls qos queue-set output 1 threshold 3 36 77 100 318
mls qos queue-set output 1 threshold 4 20 50 67 400
mls qos queue-set output 2 threshold 1 149 149 100 149
mls qos queue-set output 2 threshold 2 118 118 100 235
mls qos queue-set output 2 threshold 3 41 68 100 272
mls qos queue-set output 2 threshold 4 42 72 100 242
mls qos queue-set output 1 buffers 10 10 26 54
mls qos queue-set output 2 buffers 16 6 17 61
mls qos
What would all this translate to on the 3800 platform? -
Cisco 3560 switch| mls qos trust dscp question
Hi everybody
Hi everybody .
Please consider the following example:
3560 sw f1/1--------trunk---SW2
3560 sw
f1/1
mls qos trust dscp
3560 is using default cos-dscp map, assume a 3560 receives a frame carrying IP packet on f1/1 with COS 4, what will 3560 switch do?
1) will it use its default cos --dscp map ( cos 4--.dscp 32) and rewrite 32 in dscp field of the packet in the frame and provide PHB for dscp 32 ?
Much appreciated!!
Have a great weekend.Hi
No it will not trust the cos value, because You have configured to trust dcsp. So, the switch will trust the dcsp value in the incoming frame.
/Mikael -
Sup2T ##show platform qos ## command
Hi everyone,
The white paper about sup2t System Architecture
http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps708/white_paper_c11-652042.html#wp9000594
says:
By default, packets are passed through without a change in DSCP, EXP, or CoS for L2 packets or L2-classified L3 packets
However, when I see the output of the command "show platform qos" there are " CoS Changes"
----- Switch [1], Module [1] -----
Counter IFE Pkts IFE Bytes OFE Pkts OFE Bytes
Policing Drops 0 0 0 0
Policing Forwards 1136306595 26171591950357 1150627829 26173991946454
Police-hi Actions (Lvl3) 0 0 0 0
Police-lo Actions (Lvl2) 0 0 0 0
Aggregate Drops 0 0 0 0
Aggregate Forwards 1136306593 26171591950221 1150627827 26173991946318
Aggregate Exceeds-Hi 0 0 0 0
Aggregate Exceeds-Lo 0 0 0 0
NF Drops 0 0 0 0
NF Forwards 2 136 2 136
NF Exceeds 0 0 0 0
TOS Changes 1
TC Changes 0
EXP Changes 0
COS Changes 949932
Tunnel Decaps 1
Tunnel Encaps 1
1. ¿Why there are cos changes?
2. ¿What are Policing Forwards and Aggregate Forwards?
I have two C6500E (Sup2T Supervisor) in VSS mode and my config is quite similar to defaults.
auto qos default
table-map cos-discard-class-map
map from 5 to 46
interface Port-channel10
switchport
platform qos trust cos
interface GigabitEthernet1/1/6
switchport
platform qos trust cos
channel-group 10 mode active
3. ¿Could it be related to CoPP?
Thank you in advance.The outputs of sh platform commands are not intuitive and one will need a detailed architecture knowledge including code names to decipher them. No current plans on documenting all the commands. Most needed commands are sort of documented in troubleshooting documents. Example, is the following high cpu document
http://www.cisco.com/warp/public/473/cat4500_high_cpu.html -
Cisco 3650 QoS design: "mls QoS" not supported
Dear colleagues,
I am currently testing a Cisco 3650 for various catalogue items. One key feature that we use on almost all our catalogue items, is Quality of Service (QoS).
On the old Cisco 3560 and 3750, we use "mls qos" and related commands. We use numbered ACLs for untrusted QoS policy that sits on the LAN / ingress port. I have raised a TAC case for this issue but is there a tool to help me convert the "mls QoS" design on the old 3560 platform to the new 3650 platform where "mls qos" is not supported?
Many thanks.Hi,
The new 3650 runs IOS-XE and the older Cisco 3560 and 3750 run IOS. So the QOS architecture on the new 3650 is different.
here is the link to the qos config for the 3650:
http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3650/software/release/3se/qos/configuration_guide/b_qos_3se_3650_cg/b_qos_3se_3650_cg_chapter_011.html
HTH -
Catalyst 3550: Loading IOS via TFTP from ROMmon?
Hi everybody,
I need to load an IOS from ROMmon-mode to a Catalyst 3550.
Of cause I could do that via xmodem but I thought it should also be possible via TFTP.
What I did:
switch: IP_ADDRESS=192.168.1.1
switch: IP_SUBNET_MASK=255.255.255.0
switch: TFTP_SERVER=192.168.1.2
switch: TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin
switch: DEFAULT_GATEWAY=192.168.1.1
switch: set
BOOT=tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin
DEFAULT_GATEWAY=192.168.1.1
IP_ADDRESS=192.168.1.1
IP_SUBNET_MASK=255.255.255.0
MAC_ADDR=00:0F:90:7F:B1:00
MODEL_NUM=WS-C3550-48-SMI
MODEL_REVISION_NUM=L0
MOTHERBOARD_ASSEMBLY_NUM=73-5701-09
MOTHERBOARD_REVISION_NUM=A0
MOTHERBOARD_SERIAL_NUM=CAT08130PUT
POWER_SUPPLY_PART_NUM=34-0967-02
POWER_SUPPLY_SERIAL_NUM=DTH08094HH7
SYSTEM_SERIAL_NUM=CAT0813Z29A
TFTP_FILE=c3550-ipservicesk9-mz.122-35.SE5.bin
TFTP_SERVER=192.168.1.2
switch: boot tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin
Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied
Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
switch: boot
Loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"...tftp://192.168.1.2/c35 50-ipservicesk9-mz.122-35.SE5.bin: permission denied
Error loading "tftp://192.168.1.2/c3550-ipservicesk9-mz.122-35.SE5.bin"
Interrupt within 5 seconds to abort boot process.
Boot process failed...
Am I doing something wrong or is it generally impossible to load an IOS via TFTP to a 3550?
Thanks in advance
RolfI am pretty sure you can't boot from a TFTP server with the Catalyst 3550 (or any of the other standalone access switches - 2950, 3550, 3560 3750 etc). If you want to recover one you need to recover it using XModem via the console:
http://www.cisco.com/en/US/products/hw/switches/ps628/products_tech_note09186a0080169696.shtml
I used to think you had to do this at 9600-baud, however you can increase the baudrate and it only takes 10-20 minutes (I couldn't get 115200 to work but 57600 worked OK and took about 20-minutes).
You need to remember to put the baud rate back to 9600 when the image is back on as it gets stored in NVRAM and reboots etc are at the stored speed (i.e. changing it after it has booted under the line con 0 doesn't get saved to NVRAM).
HTH
Andy -
Why does mls qos trust dscp dissapear after reboot?
The command takes but after reboot, Invlaid inputs detected show up and "mls qos tust dscp" is gone from every interface.
Happens on both 2960-24PC-S / 2960-48PST-S switches.Hi,
thanks for your reply.
mls qos
interface GigabitEthernet3/34
description *** DATA VLAN 35 - VOICE VLAN 34 ***
switchport
switchport trunk native vlan 36
switchport trunk allowed vlan 34,36
switchport mode trunk
mls qos trust dscp
no cdp enable
spanning-tree portfast trunk
If i don't include the global 'mls qos' command then the voice packets keep the dscp 46 value. If I add the mls qos command this causes the switch to set the dscp values to zero.
Thanks again
ps. there are some other mls commands on the switch... i don't know if these could interfere but they were already on there so i'm reluctant to remove them.. -
Mls qos enabled globally and disabled for only one interface
Hello !
My switch is Cisco IOS Software, C2960X Software (C2960X-UNIVERSALK9-M), Version 15.0(2)EX5, RELEASE SOFTWARE (fc1)
I try to disabled mls qos only for one interface, but when i do it, mls qos is globally disabled. Is it possible to do it ?
XXX#show mls qos
QoS is enabled
QoS ip packet dscp rewrite is enabled
XXX#conf t
Enter configuration commands, one per line. End with CNTL/Z.
XXX(config)#interface gigabitEthernet 1/0/5
XXX(config-if)#no mls qos
XXX(config)#exit
XXX#
XXX#show mls qos
QoS is disabled
QoS ip packet dscp rewrite is enabled
Thanks in advance for your help !!
DenisHi Denis,
You cant disable the QOS on per interface on 2960 devices.
By default, QoS is disabled. When we enable QoS all ports
will be assigned to queue-set 1. We can configure up to two
different queue-sets.
Hence if you remove the qos out of the interface it would be disabled globally as well.
HTH -
Hello,
I have two switches with ios, I want to configure the qos, but I have the error message:
Will I need to update the ios or is the platform switch that does not supporting this command?
Switch Ports Model SW Version SW Image
* 1 50 WS-C2960-48TT-S 12.2 (46) SE C2960-LANLITEK9-M
* 1 50 WS-C2960-48TC-S 12.2 (50) SE5 C2960-LANLITEK9-M
Error:
SW(config)#mls qos map policed-dscp 0 10 18 to 8
^
Best RegardsI am answering this myself.
SW7(config)#mls qos srr input bandwidth ?
<1-100> enter bandwidth weight for queue id 1
SW7(config)#mls qos srr input bandwidth 1 ?
<1-100> enter bandwidth weight for queue id 2
SW7(config)#mls qos srr input bandwidth 1 1 ?
<cr>
Its the weight that we mention here. Not the percentage directly.
SW2#show mls qos input-queue
Queue : 1 2
buffers : 90 10
bandwidth : 100 100
priority : 40 0
threshold1: 100 100
threshold2: 100 100
This will give 40% priority BW to queue and remaining 60% will equally share between bot the queues as their weights are same.
CF -
Mls qos trust dscp??? is setting my DSCP values to zero!?
Hi,
I was just doing some testing to ensure that the command 'mls qos trust dscp' is working on my 6509 switches before rolling out QoS.
Before adding any configuration I could see using wireshark that traffic from my Avaya 9608 handset was coming through with a DSCP value of 46 (as it is supposed to).
I then added the command 'mls qos' (at global level)
on examining the wireshark output this time, the DSCP value had been set to zero (i.e. it defaulted it to best effort)
I then expected by adding the commmand 'mls qos trust dscp' on the interface the phone is connected to that the DSCP value would would again be left alone?
does anybody know why this is happening?
Many thanks in advance.
AndyHi,
thanks for your reply.
mls qos
interface GigabitEthernet3/34
description *** DATA VLAN 35 - VOICE VLAN 34 ***
switchport
switchport trunk native vlan 36
switchport trunk allowed vlan 34,36
switchport mode trunk
mls qos trust dscp
no cdp enable
spanning-tree portfast trunk
If i don't include the global 'mls qos' command then the voice packets keep the dscp 46 value. If I add the mls qos command this causes the switch to set the dscp values to zero.
Thanks again
ps. there are some other mls commands on the switch... i don't know if these could interfere but they were already on there so i'm reluctant to remove them.. -
4500 Sup7E Show QoS packet statistics
Hi,
I am trying to identify what QoS marked packets are hitting an interface on my 4500E
Previously with the likes of the 2900 / 3500 I could collect the below information which was a great insight into the packets going through the interface. Is there anything like this for the 4500E on a Sup7? I've not been able to find anything.so far.
xxx-C2960S-1#sh mls qos interface gi 1/0/7 statistics
GigabitEthernet1/0/7 (All statistics are in packets)
dscp: incoming
0 - 4 : 1302269597 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 5423748 0 0 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 : 468742 0 0 0 2
5 - 9 : 0 0 0 0 0
10 - 14 : 0 0 0 0 0
15 - 19 : 0 0 0 88 0
20 - 24 : 0 0 0 0 0
25 - 29 : 0 1 0 0 0
30 - 34 : 0 0 0 0 0
35 - 39 : 0 0 0 0 0
40 - 44 : 712552 0 0 0 0
45 - 49 : 0 103878 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 : 1308766828 0 0 0 0
5 - 7 : 0 0 0
cos: outgoing
0 - 4 : 798470028 5273 27854 4668 26113
5 - 7 : 1528536 3100 6624488
output queues enqueued:
queue: threshold1 threshold2 threshold3
queue 0: 1524413 0 0
queue 1: 804613095 1111802 6650008
queue 2: 89 0 0
queue 3: 0 0 0
output queues dropped:
queue: threshold1 threshold2 threshold3
queue 0: 706 0 0
queue 1: 4426 0 0
queue 2: 0 0 0
queue 3: 0 0 0
Policer: Inprofile: 0 OutofProfile: 0
xxxx-C2960S-1#Hi,
I believe 4500E uses MQC style. if you have a policy map attached to the interface, you could use
sh policy-map interface <> <direction>
Hope this helps and Kindly rate all helpful posts.
Thanks,
M
Maybe you are looking for
-
WD 1TB external hard drive recognized by Mac, but Finder can't open it
Recently my Western Digital 1TB external HD is giving me problems... First it would read but wouldn't let me write and asked me to reformat, so I did a reformat (to NTFS) and at the beginning it seemed fine.... All of a sudden this morning when I try
-
Hi, In my application the user has to enter the login id and password to login into the application...when he enters the password and then when he presses the upward key ,the password is displayed in the cosole.I have tried to resolve this in many wa
-
Does anyone know the name of the app where you take a pic of a dollar bill and it comes alive?
does anyone know the name of the app where you take a pic of a dollar bill and it comes alive?
-
Hi all, Is there any possibilities to specify any text in F110 tcode? I mean while clearing the payments. Ragards Sathish Kumar K.C
-
Data needed from emp and dept tables
Wondering if somebody can querry the emp table and dept table that comes with some versions of oracle already built in. I need the data produced from these two querries select * from emp select * from dept