FibeAir IP-20C/S/E
User Guide
Ceragon Proprietary and Confidential
Page 475 of 597
Examples
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.
To configure the rate meter (policer) line compensation value for an interface,
go to interface view for the interface and enter the following command:
eth type eth [x/x]>rate-meter-compensation-value set <value>
To display the rate meter (policer) line compensation value for an interface, go
to interface view for the interface and enter the following command:
eth type eth [x/x]>rate-meter-compensation-value get
Table 171: Assigning Line Compensation Value for Rate Meter CLI Parameters
Parameter Input Type Permitted Values Description
value
Number
0
–
32
Policers attached to the interface use this value to
compensate for Layer 1 non-effective traffic bytes.