then (Rule)

Syntax

then {(accept | discard);count (application | application-group | application-group-any | rule);forwarding-class forwarding-class;police policer-name;}

Hierarchy Level

[edit services ptsp rule rule-name term precedence]

Release Information

Statement introduced in Junos OS Release 10.2.

Description

Define the term actions. You can configure the router to accept or discard the targeted traffic. The action modifiers (count and forwarding-class) are optional.

Options

You can configure one of the following actions:

When you select accept as the action, you can optionally configure one or both of the following action modifiers. No action modifiers are allowed with the discard action.

When you include a policer, the only allowed action is discard. For more information on policers, see the Junos Policy Framework Configuration Guide.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Related Topics