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:
- From configuration mode, enter the next-interface action configuration. For example, in this procedure, nextInterface is the name of the next-interface action.
- (Optional) Configure the IP interface to be used as the next interface for packets.
- (Optional) Configure the next IP address where the classified packets should go. This option is available only in JUNOSe policy rules.
- (Optional) Enter a description for the next-interface action.
- (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";

