service policy counters not working..

Unanswered Question
Feb 27th, 2007

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?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.

Actions

This Discussion