cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
349
Views
0
Helpful
2
Replies

service policy counters not working..

jkeeffe
Level 2
Level 2

I have a service policy on a 6509 interface so I can see what the packets per second of a video stream coming out of a DVR (digital video recorder) is. This DVR has 16 security cameras attached and I'm concerned that when someone views all 16 cameras the video stream is going to be huge.

So I create a service policy to match an access list for all IP from the DVR. But no counters increment unless I add in some other match statement. I added in a match protocol telnet and the service policy counters started to work. I removed the match on telnet and the counters stopped. Telnet has nothing to do with the DVR. Here is the config of the class map, policy map and show commands: (By the way video is streaming through this interface continually during this excercise)

MATCHING ACCESS LIST ONLY:

class-map match-any DVR

match access-group 130

!

!

policy-map DVR-test

class DVR

ROC-6509-DU-A#sh access-list 130

Extended IP access list 130

10 permit ip host 164.72.2.125 any

ROC-6509-DU-A#sh policy-map int

GigabitEthernet2/5

Service-policy output: DVR-test

Class-map: DVR (match-any)

0 packets, 0 bytes

30 second offered rate 0 bps

Match: access-group 130

0 packets, 0 bytes

30 second rate 0 bps

Class-map: class-default (match-any)

0 packets, 0 bytes

30 second offered rate 0 bps, drop rate 0 bps

Match: any

-------------------------------------------------------------------

ADDING IN TELNET:

class-map match-any DVR

match access-group 130

match protocol telnet

!

!

policy-map DVR-test

class DVR

ROC-6509-DU-A#sh policy-map int

GigabitEthernet2/5

Service-policy output: DVR-test

Class-map: DVR (match-any)

524025 packets, 70724866 bytes

30 second offered rate 3991000 bps

Match: access-group 130

523896 packets, 70689220 bytes

30 second rate 3991000 bps

Match: protocol telnet

129 packets, 35646 bytes

30 second rate 0 bps

Class-map: class-default (match-any)

18696 packets, 11180265 bytes

30 second offered rate 129000 bps, drop rate 0 bps

Match: any

If I remove the 'match protocol telnet' and clear the counters, no longer do the counters for the access-list 130 increment - put back in match telnet and they start to increment.

This is a Sup720 with IOS 12.2(18)SXE3

Is this a bug or do I not have my class map or policy map correct?

2 Replies 2

bstremp
Level 2
Level 2

The hardware ASICs do not support collecting the individual policer information.

Try:

http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/1216ea1/3550scg/swqos.htm#xtocid1990743

But the doc you linked is for 3550, question is about 6509 with sup720.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: