Causes the device to list itself as the next hop in updates that are sent to the specified neighbor.
BGP configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
The no form of the command disables this feature.
The following example causes all updates destined for the neighbor with the IP address 10.11.12.13 to advertise this device as the next hop.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.12.13 next-hop-self
The following example, for the VRF instance "red," causes all updates destined for the neighbor with the IPv6 address 2001:2018:8192::125 to advertise this device as the next hop.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast vrf red device(config-bgp-ipv6u-vrf)# neighbor 10.11.12.13 next-hop-self