UMN:CLI User Manual
V5808
182
7.5.3.1 Policer Creation
To configure how to handle the classified packets according to the policer settings, you
need to create a policer and open Policer Configuration mode.
To open Policer Configuration mode, use the following command.
Creates a policer and opens Policer Configuration
mode.
NAME: policer name.
After opening Policer Configuration mode, the prompt changes from SWITCH(config)# to
SWITCH(config-policer[NAME])#.
After opening Policer Configuration mode, a policer can be configured by user. The rate-
limit, meter and packet count can be configured for each policer.
• The policer name must be unique. Its size is limited to 32 significant characters.
• The policer name cannot start with the alphabet “a” or “A”.
• The order in which the following configuration commands are entered is arbitrary.
• The configuration of a polcer being configured can be changed as often as wanted
until the apply command is entered.
• Use the show policer-profile command to display the configuration entered up
to now.
To delete configured policer or all policers, use the following command.
Deletes a policer, enter a policer name.
7.5.3.2 Packet Counter
The packet counter function provides information on the total number of packets that the
rule received and analyzed. This feature allows you to know the type of packets
transmitted in the system according to rule configuration.
To count the number of packets matching to corresponding policer, use the following
command.
Enables a packet counter function.
Disables a packet counter function.
To reset a collected policy counter, use the following command.
clear policy counter { NAME | all}
Resets a collected policy counter.