Service Policy Configuration Rules
Traffic policing is accomplished by
binding a service policy to an interface.
Follow these rules when configuring a
service policy:
- All policy map and class map names used
in a service policy must be unique among all maps of that type.
- You can bind a service policy to
multiple interfaces.
- You can bind a service policy only to
physical ports and port-channel interfaces (LAGs). You cannot bind it to virtual
interfaces.
- You cannot bind a service policy to an
interface if a class map is not associated with the policy map referenced in the
service policy.
- If a service policy is bound to an
interface, and the policy class map lacks mandatory policer attributes (such as
the CIR settings), the traffic on that interface is treated as conformed
traffic. The packets on that interface are marked as green, no meter is
allocated, and no statistics are available.
- BUM storm control and input
service-policy features can coexist on an interface. BUM storm control has the
highest precedence.