[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring Next-Hop Actions (SRC CLI)

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";

#### Related Topics

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

[Contents] [Prev] [Next] [Index] [Report an Error]