You configure a policer to detect packets that exceed the limits established for DiffServ expedited forwarding. For DiffServ, packets that exceed these limits are given a higher loss priority than packets within the bandwidth and burst size limits.
The following example shows how to configure a policer called ef-policer that identifies for likely discard expedited forwarding packets with a burst size greater than 2000 bytes and a bandwidth greater than 10 percent.
For more information about firewall filters, see Configuring Firewall Filters and NAT and the JUNOS Policy Framework Configuration Guide.
To configure an expedited forwarding policer for a firewall filter for the Services Router:
Table 150: Configuring a Policer for a Firewall Filter