Configuring Types of Actions for Rate-Limit Actions for External Parent Groups (SRC CLI)
When you configure a rate-limit action or a rate-limit hierarchy, you specify types of actions for conformed traffic, committed traffic, and exceed traffic.
Before you configure the various types of actions, configure the rate limit or parent group (for rate-limit hierarchies) that is to include the actions. See:
- Configuring Rate-Limit Actions for External Parent Groups (SRC CLI)
- Configuring Hierarchical Rate-Limit Actions (SRC CLI)
Use the following configuration statements to configure rate-limit actions from the [edit policies external-parent-group-folder name external-parent-group name ] hierarchy level:
To specify types of actions for rate-limit actions:
- Specify an action for a rate-limit action or a rate-limit
hierarchy:
Note: The following examples show the configuration for a committed action. You can configure the same actions for committed actions, conformed actions, and exceed actions.
- Filter (drop packet).[edit policies external-parent-group-folder external parent group epg1 rate-limit]user@host# set committed-action filter
- Forward.[edit policies external-parent-group-folder external parent group epg1 rate-limit]user@host# set committed-action forward
- (For rate-limit hierarchies only) Forward conditionally.[edit policies external-parent-group-folder external parent group epg1 rate-limit]user@host# set committed-action forward-conditional
- (Rate-limit hierarchies only for committed and conformed
actions) Forward unconditionally.[edit policies external-parent-group-folder external parent group epg1 rate-limit]user@host# set committed-action forward-unconditional
- (For rate-limit hierarchies only) Forward and exit from
the rate-limit hierarchy.[edit policies external-parent-group-folder external parent group epg1 rate-limit]user@host# set committed-action forward-final
- Mark. If you select mark, enter the mark values. [edit policies external-parent-group-folder external parent group epg1 rate-limit]user@host# edit committed-action mark mark-info [edit policies external-parent-group-folder external parent group epg1 rate-limit committed-action mark mark-info]user@host# set value value [edit policies external-parent-group-folder external parent group epg1 rate-limit committed-action mark mark-info]user@host# set mask mask
Make sure that masks configured with a rate-limit action are the same for different mark actions.
- Parameter. Before you assign a parameter, you must create
a parameter of the packetOperation type and commit the parameter configuration. [edit policies external-parent-group-folder external parent group epg1 rate-limit committed-action]user@host# set committed-action parameter action action
- Filter (drop packet).