beautypg.com

Policer considerations and limitations, Best practices for policer – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 484

background image

The eir parameter defines the value of the EIR as the rate provided in the eir-rate variable. Acceptable
values are in multiples of 40000 in the range 0-40000000000 bps.

ebs

ebs-size

The ebs parameter defines the value of the EBS as the rate provided in the ebs-size variable.
Acceptable values are 1250-5000000000 bytes in increments of 1 byte.

Parameters that apply actions to conform and exceed traffic

Following are policing parameters that apply actions to conform or exceed color traffic:

conform-set-dscp dscp-num.

The conform-set-dscp parameter specifies that traffic with bandwidth requirements within the rate
configured for CIR will have its packet DSCP priority set to the value specified in the dscp-num
variable. Acceptable values for dscp-num are 0–63.

conform-set-prec prec-num.

The conform-set-prec parameter specifies that traffic with bandwidth requirements within the rate
configured for CIR will have its packet IP precedence value (first 3 bits of DSCP) set to the value in
the prec-num variable. Acceptable values for prec-num are 0–7.

conform-set-tc trafficlass.

The conform-set-tc parameter specifies that traffic with bandwidth requirements within the rate
configured for CIR will have its traffic class (internal queue assignment) set to the value in the
trafficlass variable. Acceptable values for trafficclass are 0–7.

exceed-set-dscp dscp-num.

The exceed-set-dscp parameter specifies that traffic with bandwidth requirements that exceeds the
rate configured for CIR and sent to the EIR bucket will have its packet DSCP priority set to the value
in the dscp-num variable. Acceptable values for dscp-num are 0–63.

exceed-set-prec prec-num.

The exceed-set-prec parameter specifies that traffic with bandwidth requirements that exceed the
rate configured for CIR and sent to the EIR bucket will have its packet IP precedence set to the
value in the prec-num variable. Acceptable values for prec-num are 0–7.

exceed-set-tc trafficclass.

The exceed-set-tc parameter specifies that traffic with bandwidth requirements that exceed the rate
configured for CIR and is in the limit of what is configured for EIR will have its traffic class (internal
queue assignment) set to the value in the trafficlass variable. Acceptable values for trafficlass are
0–7.

set-priority priority-mapname.

The set-priority parameter specifies the mapping used for setting QoS priority (802.1p priority) in
the packet. The priority-mapname name variable should be same as configured for the priority-map
(police-priority-map), which will have a set priority and color type (conform or exceed).

Policer considerations and limitations

Consider the topics discussed below when configuring the port-based Policer feature.

Best practices for Policer

Follow these best practices when configuring the port-based Policer feature:

• Avoid mapping lossy priority to lossless priority in conform and exceed CoS maps.
• Configure rate (CIR or EIR) and burst size (CBS or EBS) based on interface speed.
• Set conform and exceed token count (Tc) to the same values to avoid any reordering issues.

Parameters that apply actions to conform and exceed traffic

484

Network OS Administrator’s Guide

53-1003225-04