![Cisco Nexus 3548 series Command Reference Manual Download Page 291](http://html.mh-extra.com/html/cisco/nexus-3548-series/nexus-3548-series_command-reference-manual_2609162291.webp)
271
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
next-hop-self
next-hop-self
To set the IP address of the router as the next hop address, use the
next-hop-self
command. To revert to
the default configuration, use the
no
form of this command.
next-hop-self
no next-hop-self
Syntax Description
This command ahs no arguments or keywords.
Command Default
None
Command Modes
BGP neighbor address-family configuration mode
Command History
Usage Guidelines
This command requires a LAN Enterprise Services license.
Examples
This example shows how to configure the IP address of a router as the next-hop address:
switch#
configure terminal
switch(config)#
router bgp 102
switch(config-router)#
neighbor 192.168.1.3 remote-as 64497
switch(config-router-neighbor)#
address-family ipv4 unicast
switch(config-router-neighbor-af)#
next-hop-self
switch(config-router-neighbor-af)#
Related Commands
Release
Modification
5.0(3)A1(1)
This command was introduced.
Command
Description
feature bgp
Enables BGP.
address-family (BGP
neighbor)
Enters the BGP neighbor address-family configuration mode.
show ip bgp
Displays BGP configuration information.