EasyManua.ls Logo

Dasan V5808 - Policer Creation; Packet Counter

Dasan V5808
814 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.
Command
Mode
Description
policer NAME create
Global
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.
Command
Mode
Description
no policer NAME
Global
Deletes a policer, enter a policer name.
no policer all
Deletes all policers.
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.
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
Resets a collected policy counter.

Table of Contents