
100
Policers
Port Policers
Enable policing at port level on a particular port.
Example
: Enable policer on Port 2 and set the policer rate to 2 Mbps. For better performance, we can optionally
enable Flow control as well if the policed traffic is TCP traffic.
Configuring Policer Rate (Mbps) on a Port Using WebGUI
To configure policer on Port 2 and set the policer rate to 2 Mbps, perform the following step.
•
Click
Configuration
>
QoS
>
Port Policing
, and set the policer rate as shown in the following illustration.
Set Up Port Policer Rate in Mbps Throughput
The equivalent ICLI commands are:
# configure terminal
! Enable Policer on Port 2 with a rate set to 2 Mbps (config)# interface
GigabitEthernet 1/2
(config-if)# qos policer 2 mbps flowcontrol (config-if)# end
Example
: Enable policer on Port 2 and set the policer rate to 200 Fps. The units are frames per second.
Configuring Policer Rate (Fps) on a Port Using WebGUI
To configure the policer on Port 2 and set the policer rate to 200 Fps, perform the following step.
•
Click
Configuration
>
QoS
>
Port Policing
, and set the policer rate as shown in the following illustration.
Set Up Port Policer Rate in Fps Throughput
The equivalent ICLI commands are:
# configure terminal
! Enable Policer on Port 2 with a rate set to 200fps (config)# interface
GigabitEthernet 1/2
(config-if)# qos policer 200 fps (config-if)# end