Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Guide That Contains This Content
[+] Expand All
[-] Collapse All

    set ip next-hop


    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.


    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.


    • 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


    Route Map Configuration

    Published: 2014-08-18