User Guide for FibeAir® IP-20 All-Outdoor Products, CeraOS 10.5
Page 620 of 825
Ceragon Proprietary and Confidential
eth type eth [x/x]>rate-meter ethertype1 delete
eth type eth [x/x]>rate-meter ethertype2 delete
eth type eth [x/x]>rate-meter ethertype3 delete
Table 183: Assigning Rate Meter per Ethertype CLI Parameters
Parameter
Input Type
Permitted Values
Description
ethertype#
Variable
ethertype1
ethertype2
ethertype3 I
Identifies which of three possible policer-per-
Ethertype combinations you are defining.
ethertype-
value
Hexadecimal
1-65535
Identifies the Ethertype to which the profile
applies.
admin-state
Variable
enable
disable
Enables or disables policing on broadcast traffic
flows from the logical interface.
profile-id
Number
1
–
250
Select from the policer profiles defined in the
system. For instructions on defining rate meter
(policer) profiles, refer to
The following commands assign Rate Meter Profiles 1, 2, and 3 to Ethertypes
0x8000, 0x8100, and 0x9100, respectively, on GbE 1, and enable rate metering on
the port.
eth type eth [1/1]>rate-meter ethertype1 add capability
ethertype-value 0x8000 admin-state enable profile-id 1
eth type eth [1/1]>rate-meter ethertype2 add capability
ethertype-value 0x8100 admin-state enable profile-id 2
eth type eth [1/1]>rate-meter ethertype3 add capability
ethertype-value 0x9100 admin-state enable profile-id 3
The following commands change the rate meter (policer) profiles assigned in the
examples above to 4, 5, and 6, respectively.
eth type eth [1/1]>rate-meter ethertype1 edit ethertype-value
0x8000 admin-state enable profile-id 4
eth type eth [1/1]>rate-meter ethertype2 edit ethertype-value
0x8100 admin-state enable profile-id 5
eth type eth [1/1]>rate-meter ethertype3 edit ethertype-value
0x9100 admin-state enable profile-id 6
18.2.6
Configuring the Line Compensation Value for a Rate Meter (Policer) (CLI)
A rate meter can measure CIR and EIR at Layer 1 or Layer 2 rates. Layer 1 capacity
is equal to Layer 2 capacity plus 20 additional bytes for each frame due to the
preamble and Inter Frame Gap (IFG). In most cases, the preamble and IFG equals
20 bytes, but other values are also possible. Line compensation defines the
number of bytes to be added to each frame for purposes of CIR and EIR
calculation. When Line Compensation is 20, the rate meter operates as Layer 1.
When Line Compensation is 0, the rate meter operates as Layer 2. This parameter
is very important to users that want to distinguish between Layer 1 and Layer 2
traffic.