Configuring Next-Hop Actions

Use this action for the ingress side of the interface to specify the next IP address where the classified packets should go. You can configure next-hop actions for JUNOS filters and JUNOSe policy rules.

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 the next-hop action.

policies group name list name rule name next-hop name {
next-hop-address next-hop-address ;
description description ;
}

To configure a next-hop action:

  1. From configuration mode, enter the next-hop action configuration. For example, in this procedure, nha is the name of the next-hop action.
      user@host# edit policies group junose list nexthop-to-ssp rule to-ssp next-hop nha
  2. (Optional) Configure the next IP address where the classified packets should go.
      [edit policies group junose list nexthop-to-ssp rule to-ssp next-hop nha]
      user@host# set next-hop-address next-hop-address
  3. (Optional) Enter a description for the next-hop action.
      [edit policies group junose list nexthop-to-ssp rule to-ssp next-hop nha]
      user@host# set description description
  4. (Optional) Verify the next-hop action configuration.
    [edit policies group junose list nexthop-to-ssp rule to-ssp next-hop nha]
    user@host# show 
    next-hop-address virtual_ipAddress;
    description "Next hop action";