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:
- user@host# edit policies group junose list
nexthop-to-ssp rule to-ssp next-hop nha
- [edit policies group junose list nexthop-to-ssp rule to-ssp
next-hop nha]
- user@host# set next-hop-address next-hop-address
- [edit policies group junose list nexthop-to-ssp rule to-ssp
next-hop nha]
- user@host# set description description
[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";