User Manual
UMN:CLI
V8102
337
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.
Command
Mode
Description
no policer
NAME
Global
Deletes a policer, enter a policer name.
no policer all
Deletes all policers.
9.3.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 transmit-
ted in the system according to rule configuration. To count the number of packets match-
ing to corresponding policer, use the following command.
Command
Mode
Description
counter
Policer
Enables a packet counter function.
no counter
Disables a packet counter function.
To reset a collected policy counter, use the following command.
Command
Mode
Description
clear policy counter
{
NAME
|
all
}
Enable
Global
Resets a collected policy counter.
To display the number of packets on each rule, use the following command.
Command
Mode
Description
show flow statistics
Enable
Global
Shows a collected flow counter.
show class statistics
Shows a collected class counter.
show policer statistics
Shows a collected policer counter.
i