User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 739
6.9.2.17. set ip next-hop
Use this command to specify the adjacent next-hop router in the path toward the destination to which the
packets should be forwarded. If more than one IP address is specified, the ECMP rule is used to route the
packets.
This command affects all incoming packet types and is always used if configured. If configured next-hop is not
present in the routing table, an ARP request is sent from the router.
In a route-map statement, 'set ip next-hop' and 'set ip default next-hop' terms are mutually exclusive. However,
a 'set ip default next-hop' can be configured in a separate route-map statement.
To remove a set command from a route map, use the no form of this command.
Format set ip next-hop <next-hop-address> [...next-hop-address]
no set ip next-hop <next-hop-address> [...next-hop-address]
Default None
Mode Route Map Config
6.9.2.18. set ip default next-hop
Use this command to set a list of default next-hop IP addresses. If more than one IP address is specified, the
ECMP rule is used.
A packet is routed to the next hop specified by this command only if there is no explicit route for the packet's
destination address in the routing table. A default route in the routing table is not considered an explicit route
for an unknown destination address.
In a route-map statement, 'set ip next-hop' and 'set ip default next-hop' terms are mutually exclusive. However,
a 'set ip next-hop' can be configured in a separate route-map statement.
To remove a set command from a route map, use the no form of this command.
Format set ip default next-hop <next-hop-address> [...next-hop-address]
no set ip default next-hop <next-hop-address> [...next-hop-address]
Default None
Mode Route Map Config
Fields
Definition
next-hop-address
The IP address of the next hop to which packets are output. It must be the address
of an adjacent router. A maximum of 16 next-hop IP addresses can be specified
in this 'set' clause.
Fields
Definition
next-hop-address
The IP address of the next hop to which packets are output. It must be the address
of an adjacent router. A maximum of 16 next-hop IP addresses can be specified
in this 'set' clause.