next-hop-interface

Last Updated : Nov 06, 2012 |
Adds the specified interface to the next hop path for the current next hop list. Use no next-hop-interface to delete an interface from the next hop list.
Prolog information

Syntax

next-hop-interface {index | interface_name} [track track-index]
no next-hop-interface {index}

Parameters

Parameter
Description
Possible Values
Default Value
index
The index in the array of next hops belonging to the specific next hop list
1-20
interface_name
The specified next hop interface name
The layer2 interfaces:
  • Serial
  • GRE Tunnel
  • Dialer
  • null0
  • WAN FastEthernet (running PPPoE or DHCP client)
track
Keyword that applies tracking to monitor the route.
Note:
Object tracking cannot be configured on Null0.
track-index
The index number of the object tracker
1-50

User level

read-write

Context

ip next-hop-list

Example

To add interface Serial 4/1:0 to the next hop path for the current next hop list:
Gxxx-001(config-next hop list 1)# next-hop-interface 3 Serial 4/1:0 track 1