> - Downloads
> - Configuring Next-Interface Actions (SRC CLI)
> - Related Topics
> - Before You Configure SRC Policies
> - Configuring Next-Interface Actions (C-Web Interface)
> - Configuring Next-Hop Actions (SRC CLI)
> - Configuring Next-Rule Actions (SRC CLI)
> - Parameter Types

> # Configuring Next-Interface Actions (SRC CLI)

> Use this action to forward packets to a particular interface and/or a next-hop address. You can configure next-interface actions for JUNOS filters and JUNOSe policy rules. On routers running JUNOSe Software, you can use this action for both ingress and egress parts of the interface.

> 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 next-interface actions:

> `
> policies group name list name rule name next-interface name {
>   interface-specifier interface-specifier ;
>   next-hop-address next-hop-address ;
>   description description ;
> }
> `

> To configure a next-interface action:

> 1. From configuration mode, enter the next-interface action configuration. For example, in this procedure, nextInterface is the name of the next-interface action.
>    `
>    user@host# edit policies group redirect list input rule redirect next-interface nextInterface
>    `
> 2. (Optional) Configure the IP interface to be used as the next interface for packets.
>    `
>    [edit policies group redirect list input rule redirect next-interface nextInterface]
>    user@host# set interface-specifier interface-specifier
>    `
> 3. (Optional) Configure the next IP address where the classified packets should go. This option is available only in JUNOSe policy rules.
>    `
>    [edit policies group redirect list input rule redirect next-interface nextInterface]
>    user@host# set next-hop-address next-hop-address
>    `
> 4. (Optional) Enter a description for the next-interface action.
>    `
>    [edit policies group redirect list input rule redirect next-interface nextInterface]
>    user@host# set description description
>    `
> 5. (Optional) Verify the next-interface action configuration.

>        [edit policies group redirect list input rule redirect next-interface nextInterface]
>        user@host# show
>        interfaceSpec "name='fastethernet3/0'";
>        next-hop-address 10.10.227.3;
>        description "Next-interface action for redirect policy";

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

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