Chapter 18: Quality of Service (QoS) (CLI)
Configuring Policers (Rate Metering) (CLI)
phn-3963_004v000
Page 18-338
Configuring Policers (Rate Metering) (CLI)
This section includes:
Overview of Rate Metering (Policing) (CLI)
Configuring Rate Meter (Policer) Profiles (CLI)
Displaying Rate Meter Profiles (CLI)
Deleting a Rate Meter Profile (CLI)
Attaching a Rate Meter (Policer) to an Interface (CLI)
Configuring the Line Compensation Value for a Rate Meter (Policer) (CLI)
Displaying Rate Meter Statistics for an Interface (CLI)
Overview of Rate Metering (Policing) (CLI)
The PTP 820 switching fabric supports hierarchical policing on the logical interface level. You can
define up to 250 rate meter (policer) profiles.
Note
Policing on the service point level, and the service point and CoS level, is planned for
future release.
The PTP 820's policer mechanism is based on a dual leaky bucket mechanism (TrTCM). The
policers can change a frame’s color and CoS settings based on CIR/EIR + CBS/EBS, which makes
the policer mechanism a key tool for implementing bandwidth profiles and enabling operators to
meet strict SLA requirements.
The output of the policers is a suggested color for the inspected frame. Based on this color, the
queue management mechanism decides whether to drop the frame or to pass it to the queue.
Configuring Rate Meter (Policer) Profiles (CLI)
To add a rate meter (policer) profile, enter the following command:
root> ethernet qos rate-meter add profile-id <profile-id> cir <cir> cbs
<cbs> eir <eir> ebs <ebs> color-mode <color-mode> coupling-flag
<coupling-flag> rate-meter-profile-name <rate-meter-profile-name>
To edit an existing rate meter (policer) profile, enter the following command:
root> ethernet qos rate-meter edit profile-id <profile-id> cir <cir> cbs
<cbs> eir <eir> ebs <ebs> color-mode <color-mode> coupling-flag
<coupling-flag> rate-meter-profile-name <rate-meter-profile-name>