Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    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 OS 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 {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.
      user@host# edit policies group redirect list input rule redirect next-interface
    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]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]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]user@host# set description description
    5. (Optional) Verify the next-interface action configuration.
      [edit policies group redirect list input rule redirect next-interface]
      user@host# show 
      interfaceSpec "name='fastethernet3/0'";
      next-hop-address 10.10.227.3;
      description "Next-interface action for redirect policy";

    Modified: 2012-05-02