# set ip next-hop

#### Syntax

set ip next-hop { ipAddress | interface interfaceType interfaceSpecifier |
peerAddress }

no set ip next-hop [ ipAddress | peerAddress]

#### Release Information

Command introduced before JunosE Release 7.1.0.

#### Description

Indicates where to send packets that pass a match clause of a route map for policy routing. The no version removes the set clause from a route map.

| Note: Beginning with JunosE Release 7.1.0, this command is not supported for route maps used by the table-map command.

#### Options

- ipAddress—IP address of next hop to which packets are sent; does not need to be an adjacent router
- interfaceType—Interface type; see Interface Types and Specifiers
- interfaceSpecifier—Particular interface; format varies according to interface type; see Interface Types and Specifiers
- peerAddress—On outbound route maps, disables the next hop-calculation by setting the next hop to the IP address of the BGP speaker; on inbound route maps, overrides any third-party next-hop configuration by setting the next hop to the IP address of the peer

#### Mode

Route Map Configuration