![Cisco Nexus 3548 series Command Reference Manual Download Page 359](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162359.webp)
339
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
set ip next-hop peer-address
set ip next-hop peer-address
To use a route-map to set the next-hop as peer-address and apply on the outbound Border Gateway
Protocol (BGP) advertisements, use the
set ip next-hop peer-address
command. To remove the
next-hop configuration, use the
no
form of this command.
set ip next-hop peer-address
no set ip next-hop peer-address
Syntax Description
This command has no arguments or keywords.
Defaults
None
Command Modes
Router map configuration mode
Command History
Usage Guidelines
When you use the
set ip next-hop peer-address
command, the next-hop will change for route reflector
clients to the self IP address.
This command does not require a license.
Examples
This example shows how to configure a route-map to set the next-hop as peer-address and apply on
outbound BGP advertisements:
switch#
configure terminal
switch(config)#
router bgp 65536
switch(config-router)#
neighbor
192.0.2.10 remote-as 65536
switch(config-router-neighbor)#
address-family ipv6 unicast
switch(config-router-neighbor)#
route-reflector-client
switch(config-route-map)#
route-map rm1
switch(config-route-map)#
set ip next-hop
peer-address
switch(config-route-map)#
This example shows how to remove the route-map configurations for next hop:
switch(config-route-map)#
set ip next-hop
peer-address
switch(config-route-map)#
Related Commands
Release
Modification
5.0(3)A1(1)
This command was introduced.
Command
Description
route-map
Creates a route map and enters the route-map configuration mode.