cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
535
Views
4
Helpful
5
Replies

Policy Map

noobieee7
Level 1
Level 1

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

5 Replies 5

Edison Ortiz
Hall of Fame
Hall of Fame

The match has 'ip precedence 1', are you marking the traffic as such ?

By default, packets have 'ip precedence 0'

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

If you use any other type of conform action, does the value increments ?

Can we see a 'show ver' from the router ?

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

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?

Review Cisco Networking products for a $25 gift card