Modular QoS Command-Line Interface (MQC) can be used to implement traffic policing that limits the rate of packets matching configured rules. If the total rate of all traffic also needs to be limited, configure hierarchical traffic policing after configuring MQC-based traffic policing.
Before configuring traffic policing on an interface, configure link layer attributes of the interface to ensure that the interface works properly.