[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Configuring Next-Interface Actions
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 JUNOSe routers,
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.
- user@host# edit policies group redirect list
input rule redirect next-interface nextInterface
- (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
- (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
- (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
- (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";
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]