set ip next-hop

Use this command to specify the next hop IP address to be set when all match clauses in the route map match.

Syntax

set ip next-hop ip-address
no set ip next-hop ip-address

Parameters

ip-address Specifies the IP address to set for the next-hop if all match clauses match for this route map.

Defaults

None.

Mode

BGP route map configuration.

Usage

Entering match AFI and match SAFI entries are required before setting the next-hop behavior.

The no set ip next-hop command removes the set clause for the specified next-hop for this route map.

Example

This example shows how to set the next-hop to 10.10.10.10, if all match clauses in the bgprm1 route map match:

System(su)->configure
System(su-config)->route-map bgp bgprm1 permit
System(su-config-route-map-bgp)->set ip next-hop 10.10.10.10
System(su-config-route-map-bgp)->