Chapter
Unicast Routing Commands
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.
Syntax Description
This command ahs no arguments or keywords.
Command Default
None
Command Modes
BGP neighbor address-family configuration mode
Command History
Release
5.0(3)A1(1)
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
Command
feature bgp
address-family (BGP
neighbor)
show ip bgp
OL-27852-01
next-hop-self
no next-hop-self
Modification
This command was introduced.
Description
Enables BGP.
Enters the BGP neighbor address-family configuration mode.
Displays BGP configuration information.
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
next-hop-self
271