set ip next-hop
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.
Beginning with JUNOSe Release 7.1.0, this command is not supported for route maps used by the table-map command.
set ip next-hop { ipAddress | interface interfaceType interfaceSpecifier | peerAddress }
no set ip next-hop [ ipAddress | peerAddress]
- ipAddressIP address of next hop to which packets are sent; does not need to be an adjacent router
- interfaceTypeInterface type; see Interface Types and Specifiers in About This Guide
- interfaceSpecifierParticular interface; format varies according to interface type; see Interface Types and Specifiers in About This Guide
- peerAddressOn 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
Route Map Configuration
Command introduced before JUNOSe Release 7.1.0.