11-02-2017 08:59 AM - edited 03-08-2019 12:36 PM
I am trying to limit the incomming traffic on 819G routers fa0 and fa2 ports to 10 Mbps.
I have the following configuration:
class-map match-all CLASS_SLAP
match any
!
policy-map POLICY_10MBPS
class CLASS_SLAP
police 10000000 10000 conform-action transmit exceed-action drop violate-action drop
interface FastEthernet0
no ip address
speed 100
service-policy input POLICY_10MBPS
interface FastEthernet2
no ip address
speed 100
service-policy input POLICY_10MBPS
However my traffic is not policed in the router and show policy-map int shows that the router does not register any matching packets:
MR1#sh policy-map int
FastEthernet0
Service-policy input: POLICY_10MBPS
Class-map: CLASS_SLAP (match-all)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
police:
cir 10000000 bps, bc 10000 bytes, be 10000 bytes
conformed 0 packets, 0 bytes; actions:
transmit
exceeded 0 packets, 0 bytes; actions:
drop
violated 0 packets, 0 bytes; actions:
drop
conformed 0000 bps, exceeded 0000 bps, violated 0000 bps
Class-map: class-default (match-any)
0 packets, 0 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
Am I missing something in my configuration?
Solved! Go to Solution.
11-02-2017 10:08 AM
11-02-2017 10:08 AM
11-02-2017 10:09 AM
11-02-2017 10:25 AM
11-02-2017 01:20 PM
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