[c-nsp] command on 7600 to display packets per CoS/DSCP per interface
Tassos Chatzithomaoglou
achatz at forthnet.gr
Wed Jun 4 13:14:44 EDT 2008
During the last 3 hours i'm trying desperately to find a command on the 7600 that displays the number of packets per CoS/DSCP per
interface, like the following on the 3750:
3750#sh mls qos int gi1/0/24 statistics
GigabitEthernet1/0/24
dscp: incoming
-------------------------------
0 - 4 : 349 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
dscp: outgoing
-------------------------------
0 - 4 : 170 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 151 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 : 1561099 0 0 1775 0
5 - 7 : 166318 288 10801
cos: outgoing
-------------------------------
0 - 4 : 1859833 0 0 0 0
5 - 7 : 0 110 0
Policer: Inprofile: 0 OutofProfile: 0
I tried every possible "sh mls, sh platform, sh queueing, sh int" command on the 7600, but i didn't find any.
Even "sh parser dump exec | i show .* (qos|statistics)" didn't produce anything useful.
So i created the following policies/classes/acls in order to get the CoS values per port (which works ok, besides the bytes vs
packets counter), but i don't want -for obvious reasons- to do the same for the DSCP values.
mac access-list extended COS-1-ACL
permit any any cos 1
mac access-list extended COS-2-ACL
permit any any cos 2
...
...
class-map match-all COS-1
match access-group name COS-1-ACL
class-map match-all COS-2
match access-group name COS-2-ACL
...
...
policy-map COS-TEST
Class COS-1
trust cos
Class COS-2
trust cos
Class COS-3
trust cos
Class COS-4
trust cos
Class COS-5
trust cos
Class COS-6
trust cos
Class COS-7
trust cos
7600#sh policy-map int gi2/47
GigabitEthernet2/47
Service-policy input: COS-TEST
class-map: COS-1 (match-all)
Match: access-group name COS-1-ACL
trust cos
Earl in slot 2 :
41117 bytes
30 second offered rate 8464 bps
aggregate-forwarded 41117 bytes
class-map: COS-2 (match-all)
Match: access-group name COS-2-ACL
trust cos
Earl in slot 2 :
4418 bytes
30 second offered rate 752 bps
aggregate-forwarded 4418 bytes
...
...
Is there an easier way that can help me?
Can the 6500/7600 SXF/SRB IOS be missing such a command?
--
Tassos
More information about the cisco-nsp
mailing list