[c-nsp] Evaluation of Multiple Class in Policer

Oliver Boehmer (oboehmer) oboehmer at cisco.com
Tue Feb 19 15:40:35 EST 2008


alaerte.vidali at nsn.com <> wrote on Tuesday, February 19, 2008 8:32 PM:

>  Hi,
> 
> Sometime ago I saw a document about how Policer evaluate multiple
> statements. But could not found it. Any indication?
> 
> For example, how policer will evaluate a packet entering interface
> gi3/6?
> (it will be evaluated against class allIP and class TFTP in any case,
> or depends if it matches class allIP?)
> 
> class-map match-all TFTP
>   match access-group 123
> !
> class-map match-all allIP
>   match access-group 122
> !
> policy-map l2policer
>   class allIP
>    police 50000000    conform-action transmit     exceed-action drop
>   class TFTP
>    police 1000000    conform-action drop     exceed-action drop
> !
> interface GigabitEthernet3/6
>  service-policy input l2policer
 
MQC generally matches in the order the class-maps are defined within the
policy-map, so if your traffic matches both acl 122 and 123, it will end
up in class allIP.

	oli


More information about the cisco-nsp mailing list