Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

The set firewall policer if-exceeding count-mode command configures the data rate units for the rate-limit and burst-limit of a policer. The value could be pps or kbit.


Command Syntax

set firewall policer <policer-name> if-exceeding count-mode <count-mode>


Parameter

Parameter

Description

policer <policer-name>

Specifies the policer name. The value is a string.

count-mode <count-mode>

Specifies the count mode for the rate-limit and burst-limit of a policer. The value could be pps or kbit.

  •   pps: packet per second.
  •   kbit: kbit per second.

By default, the count mode is pps.


Usage Guidelines

When the count mode is pps, the range of rate-limit and burst-limit is from 1 to 1000 pps. 

When the count mode is kbit, the range of rate-limit and burst-limit is from 0 to 100000000 kbit/s.


Example

  •  Configure the count mode for the rate-limit and burst-limit the policer as kbit and use run show policer to check the configuration.
admin@Xorplus# set firewall policer p1 if-exceeding count-mode kbit
admin@Xorplus# run show policer
Policer     rate limit   burst limit   count mode   action  
------------   ----------   ----------    ----------   ----------
p1        5000       0        kbit      discard
  • No labels