User Guide for FibeAir® IP-20 All-Outdoor Products, CeraOS 10.5
Page 614 of 825
Ceragon Proprietary and Confidential
18.2
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)
18.2.1
Overview of Rate Metering (Policing) (CLI)
The IP-20 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 IP-20'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.
18.2.2
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>
Table 179: Rate Meter Profile CLI Parameters
Parameter
Input Type
Permitted Values
Description
profile-id
Number
1
–
250
A unique ID for the rate meter (policer)
profile.
cir
Number
0, or 64,000 -
1,000,000,000
The Committed Information Rate (CIR)
defined for the rate meter (policer), in
bits per second.