[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring Policer Actions (SRC CLI)
The policer action specifies rate and burst
size limits and the action taken if a packet
exceeds those limits. You can create policer actions in JUNOS policer
and JUNOS filter policy rules.
The type of action that you can create depends
on the type of policy rule. See Policy Information Model.
Use the following configuration statements to configure
policer actions:
- policies group name list name rule name policer name {
- bandwidth-limit bandwidth-limit ;
- bandwidth-limit-unit bandwidth-limit-unit ;
- burst burst ;
- description description ;
- }
To configure a policer action:
- From configuration mode, enter the policer action configuration.
For example, in this procedure, pa is the name of the policer action.
- user@host# edit policies group junos list
firewallFilterPolicer rule pr policer pa
- (Optional) Configure the traffic rate that, if exceeded,
causes the router to take the indicated packet action.
- [edit policies group junos list firewallFilterPolicer rule
pr policer pa]
- user@host# set bandwidth-limit bandwidth-limit
- (Optional) Configure the type of value entered for bandwidth
limit.
- [edit policies group junos list firewallFilterPolicer rule
pr policer pa]
- user@host# set bandwidth-limit-unit bandwidth-limit-unit
- (Optional) Configure the maximum burst size. The minimum
recommended value is the maximum transmission unit (MTU) of the IP
packets being policed.
- [edit policies group junos list firewallFilterPolicer rule
pr policer pa]
- user@host# set burst burst
- (Optional) Enter a description for the policer action.
- [edit policies group junos list firewallFilterPolicer rule
pr policer pa]
- user@host# set description description
- (Optional) Verify the policer action configuration.
[edit policies group junos list firewallFilterPolicer rule pr policer pa]
user@host# show
bandwidth-limit 1048576;
bandwidth-limit-unit bps;
burst 15000;
Related Topics
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]