Configuring Filter Actions (SRC CLI)

Use this action to discard packets. You can configure filter actions for Junos OS filters and JunosE 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 statement to configure a filter action:

policies group name list name rule name filter {description description ; }

To configure a filter action:

  1. From configuration mode, enter the filter action configuration.
    user@host# edit policies group junos_filter list in rule pr filter
  2. (Optional) Enter a description for the filter action.
    [edit policies group junos_filter list in rule pr filter]user@host# set description description
  3. (Optional) Verify the filter action configuration.
    [edit policies group junos_filter list in rule pr filter]
    user@host# show 
    description "Filter action for Junos OS policies";

Related Documentation