
How to clear policy map counters?
Guys,
Can you suggest how to clear policy map counters? "clear counters" OR "clear interface fa0/0" is not clearing those counters.
I need to clear counters those shows up with command "show policy-map interface fa0/0" like rate etc.
Regards,
Comments
Hmm which platform and which ios is it?
The clear counters intx/y does not work. Usually the "clear counter" works. Testes in some seconds ago on a C7600.
There were already forum records for this already just fyi:
http://ieoc.com/forums/t/11522.aspx
http://ieoc.com/forums/p/16671/140777.aspx
Regards!
Hi dcancerian,
Did you try with clear counters? It clears in most of platform.
R1#show policy-map interface s0/0
Serial0/0
Service-policy output: TEST
Class-map: TEST (match-all)
5 packets, 520 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 100
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
128000/128000 1984 7936 7936 62 992
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 5 520 0 0 no
R1#clear counters s0/0
Clear "show interface" counters on this interface [confirm]
R1#show policy-map interface s0/0
Serial0/0
Service-policy output: TEST
Class-map: TEST (match-all)
0 packets, 0 bytes
5 minute offered rate 0 bps, drop rate 0 bps
Match: access-group 100
Traffic Shaping
Target/Average Byte Sustain Excess Interval Increment
Rate Limit bits/int bits/int (ms) (bytes)
128000/128000 1984 7936 7936 62 992
Adapt Queue Packets Bytes Packets Bytes Shaping
Active Depth Delayed Delayed Active
- 0 0 0 0 0 no
HAPPY STUDY
[:D]
I used the below version and this does not work.
Cisco IOS Software, C2600 Software (C2600-ADVENTERPRISEK9-M), Version 12.4(10), RELEASE SOFTWARE (fc1)
May I ask which HW platform/model? 2620XM?