Users Guide

Layer 3 Routing Commands 1313
Example
console(config-router)#neighbor FE80::0202:B3FF:FE1E:8329 interface vlan 10
next-hop-self
neighbor next-hop-self (IPv6 Address Family
Configuration)
In IPv6 address family configuration mode, the neighbor next-hop-self
command configures BGP to use a local address as the IPv6 next hop when
advertising IPv6 routes to a specific peer.
Syntax
neighbor { ip-address | ipv6-address [ interface interface-id ]} next-hop-self
no neighbor { ip-address | ipv6-address [ interface interface-id ]} next-hop-
self
ip-addressThe neighbor’s IPv4 address.
ipv6-address [ interface interface-id ] – The neighbor’s IPv6 address. If the
neighbor’s IPv6 address is a link local address, the local interface must also
be specified.
Default Configuration
This is not enabled by default.
Command Mode
IPv6 Address Family Configuration mode
User Guidelines
When the next hop attribute in routes from external peers is retained,
internal peers must have a route to the external peer’s IP address. This is
commonly done by configuring the IGP on the border router to advertise the
external (or “DMZ”) subnet. The next-hop-self option eliminates the need to
advertise the external subnet in the IGP.
In IPv6 Address Family Configuration mode, the command accepts either an
IPv4 or an IPv6 address. For IPv6, BGP uses an IPv6 address from the local
interface that terminates the peering session. The VLAN interface must also
be specified if a link-local address is specified.