08-23-2007 07:00 PM - edited 03-03-2019 06:27 PM
A question here. I have configured a policy map, although the packet value does get incremented at the class-map but the traffic that is policed is not being conformed. Any ideas?
policy-map test
class test
police cir 256000
conform-action set-mpls-exp-imposition-transmit 1
exceed-action drop
show policy-map int Se1/0 in
Class-map: test (match-any)
20037508 packets, 1027071174 bytes
30 second offered rate 22000 bps, drop rate 0 bps
Match: ip precedence 1
20037508 packets, 1027071174 bytes
30 second rate 22000 bps
police:
cir 256000 bps, bc 8000 bytes
conformed 0 packets, 0 bytes; actions:
set-mpls-exp-imposition-transmit 1
exceeded 0 packets, 0 bytes; actions:
drop
conformed 0 bps, exceed 0 bps
08-23-2007 07:14 PM
The match has 'ip precedence 1', are you marking the traffic as such ?
By default, packets have 'ip precedence 0'
08-23-2007 07:21 PM
Yesh, I am marking it as 1 at the remote CE.
But if u take a look, there are packet at the ingress policy map, just that at the policing side, it is not confirming to any packets
20037508 packets, 1027071174 bytes
30 second offered rate 22000 bps, drop rate 0 bps
Match: ip precedence 1
20037508 packets, 1027071174 bytes
30 second rate 22000 bps
police:
cir 256000 bps, bc 8000 bytes
conformed 0 packets, 0 bytes; actions:
set-mpls-exp-imposition-transmit 1
08-23-2007 07:53 PM
If you use any other type of conform action, does the value increments ?
Can we see a 'show ver' from the router ?
08-23-2007 08:32 PM
The set-mpls-exp-imposition-transmit action of the police command is only supported on the PE input interface that is connected to the CE.
http://www.cisco.com/univercd/cc/td/doc/product/aggr/10000/swconfig/cfggdes/qoscf/10qmpls.htm
HTH
Sundar
08-23-2007 11:53 PM
The value does not increment.
The IOS on the router is 12.3(5d). Is there any IOS bug issue for this version with regards to this issue?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide