User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 793
Default Threshold: default is 75
Mode Router BGP Config Mode
IPv6 Address Family Config Mode
IPv4 VRF Address Family
6.10.2.31. neighbor next-hop-self
This command is used to configure BGP to set the next hop attribute to a local IP address when advertising a
route to an internal peer.
Normally BGP retains the next hop attribute received from the external peer. When the next hop attribute in
routes from external peers is retained, internal peer must have a route to the external peers IP address. This is
commonly done by configuring the IGP on the boarder router to advertise the external subnet.
To disable this feature, use the no form of this command.
Format neighbor {<ipv4-address> | <ipv6-address> [interface {<slot/port> | vlan {1-4093}}] | autodetect
interface <slot/port>} next-hop-self
no neighbor {<ipv4-address> | <ipv6-address> [interface {<slot/port> | vlan {1-4093}}] | autodetect
interface <slot/port>} next-hop-self
Interface
If the neighbors IPv6 address is a link local address, the local interface must be
specified as well. Not support under IPv4 VRF address family mode.
autodetect interface
The routing interface on which the neighbors IPv6 link local address is auto
detected.
Maximum
Maximum number of prefixes BGP will accept from this neighbor. Range is from
0 to 4294967295.
Unlimited
Dont restric the number of prefixes from this neighbor.
Threshold
Integer specifying at what percentage of the maximum BGP starts to write log
messages. The range is from 1 to 100.
warning-only
BGP only discards excess prefixes and writes a log message rather than shutting
down the adjacency if BGP receives more than the maximum number of prefixes.
Fields
Definition
ipv4-address
IPv4 address of the neighboring router.
ipv6-address
IPv6 address of the neighboring router. Not support under IPv4 VRF address
family mode.
Interface
If the neighbors IPv6 address is a link local address, the local interface must be
specified as well. Not support under IPv4 VRF address family mode.
autodetect interface
The routing interface on which the neighbors IPv6 link local address is auto
detected.