> - Downloads
> - Configuring Reject Actions (SRC CLI)
> - Related Topics
> - Before You Configure SRC Policies
> - Configuring Destination Networks (SRC CLI)
> - Parameter Types

> # Configuring Reject Actions (SRC CLI)

> You can configure reject actions for JUNOS filter policy rules. The reject action causes the router to discard a packet and send an ICMP destination unreachable message.

> 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 reject actions:

> `
> policies group name list name rule name reject name {
>   message-type message-type ;
>   description description ;
> }
> `

> To configure a reject action:

> 1. From configuration mode, enter the reject action configuration. For example, in this procedure, rejectAction is the name of the reject action.
>    `
>    user@host# edit policies group junos list filter rule rejectRule reject rejectAction
>    `
> 2. (Optional) Configure the type of ICMP destination unreachable message sent to the client.
>    `
>    [edit policies group junos list filter rule rejectRule reject rejectAction]
>    user@host# set message-type message-type
>    `
> 3. (Optional) Enter a description for the reject action.
>    `
>    [edit policies group junos list filter rule rejectRule reject rejectAction]
>    user@host# set description description
>    `
> 4. (Optional) Verify the reject action configuration.

>        [edit policies group junos list filter rule rejectRule reject rejectAction]
>        user@host# show
>        message-type network-prohibited;
>        description "Reject action in JUNOS filter policy";

> #### Published: 2009-09-22

> Copyright © 2009, Juniper Networks, Inc. All rights reserved. Trademark Notice.