OcNOS-SP : Quality of Service Guide : Quality of Service Command Reference : Quality of Service Commands : police
police
Use this command to configure policing of the data rates for a particular class of traffic.
Use the no command to remove a policing configuration.
Note: Committed Information Rate (CIR) and Excess Information Rate (EIR) can only be whole numbers.
The default burst is 5 ms traffic of the configured rate. Burst configured in milliseconds and microseconds are converted in kbytes by calculating it with input rates.
Police rate (CIR/EIR) value in percentage is only applicable on physical interfaces.
Command Syntax
For Qumran MX:
police (colour-blind | colour-aware|) (cir) (<1-720000000> (kbps|mbps|gbps) | percent <1-100>)((eir (<1-720000000> (kbps|mbps|gbps) | percent <1-100>)|)((bc) <1-4161> (kbytes|mbytes|ms|us)|)((be) <1-4161> (kbytes|mbytes|ms|us)|))
no police
For Qumran AX:
police (colour-blind | colour-aware|) (cir) (<1-500000000> (kbps|mbps|gbps) | percent <1-100>)((eir (<1-500000000> (kbps|mbps|gbps) | percent <1-100>)|)((bc) <1-4161> (kbytes|mbytes|ms|us)|)((be) <1-4161> (kbytes|mbytes|ms|us)|))
no police
Parameters
colour-blind
Do not police on color.
colour-aware
Do police on color.
cir
Committed information rate.
eir
Excess information rate.
kbps
Specify the units of kbps per second.
mbps
Specify the units of mbps per second.
gbps
Specify the units of gbps per second.
bc <1-4161>
Burst rate committed.
be <1-4161>
Burst rate extended.
ms
Specify the units of bc/be in milliseconds.
us
Specify the units of bc/be in microseconds.
Default
By default, policer type is colour-blind
Command Mode
Policy-map mode
Applicability
This command was introduced in OcNOS version 3.0.
Examples
(config)# policy-map type qos 2345
(config-pmap-qos)#class type qos 2345
(config-pmap-c-qos)# police cir 2 mbps eir 4 mbps bc 2 mbytes be 4 mbytes
Last modified date: 10/20/2023