next-hop (policy-based routing)

Last Updated : Nov 06, 2012 |
Specifies the next hop policy to use when the current rule is applied.
Prolog information

Syntax

next-hop {list list_number | DBR}

Parameters

Parameter
Description
Possible Values
Default Value
list
Keyword indicating that a next hop list will be specified to be used for the current rule
list_number
The next hop list to be used for the current rule
1-20
DBR
Keyword indicating to use destination based routing (not policy based routing) for the current rule

User level

read-write

Context

ip-pbr-list/ip-rule

Example

To specify that the next-hop list 1 should be used for the current rule:
Gxxx-001(super)# next-hop list 1
Gxxx-001(super)# next-hop DBR