564
14.8.3.54 neighbor maximum-prefix
Command: neighbor {<ip-address>|<TAG>} maximum-prefix <1-4294967295>
[<1-100> <warning-only>]
no neighbor {<ip-address>|<TAG>} maximum-prefix <1-4294967295>
[<1-100> <warning-only>]
Function:
Control the number of route prefix from the neighbor. The “
no neighbor
{<ip-address>|<TAG>} maximum-prefix <1-4294967295>
[<1-100>
<warning-only>]
” command cancels this configuration
Parameter: <ip-address>
: Neighbor IP address
<TAG>
: Name of the peer
<1-4294967295>
: Max prefix value allowed
<1-100>
: Percentage of the max value at which it warns
<warning-only>
: Warning only or not
Default:
Not limited
Command Mode:
BGP routing mode and address-family mode
Usage Guide:
Due to concerns of too much route updates from neighbors (e.g. attack),
the max number of prefix acquired from a neighbor is limited, and will warns when the
number hits certain rate. If the warning-only option is set, then there will be warning only,
if not, the connection to the neighbor will be cut till clear the records with clear ip bgp
command.
Example:
Switch(config-router)#neighbor 10.1.1.64 maximum-prefix 12 50
In above configuration, it warns when the number of route prefix reaches 6, and the
connection will be cut when the number hit 13.
14.8.3.55 neighbor next-hop-self
Command: neighbor {<ip-address>|<TAG>} next-hop-self
no neighbor {<ip-address>|<TAG>} next-hop-self
Function:
Ask the neighbor to point the route nexthop sent by the local side to local side.
The “
no neighbor {<ip-address>|<TAG>} next-hop-self
” command cancels this
configuration.
Parameter: <ip-address>
: Neighbor IP address
<TAG>
: Name of peer group
Default:
Not configured by default
Command Mode:
BGP routing mode and address-family mode.
Usage Guide:
In the EBGP environment, the nexthop will automatically point to the
source neighbor. However in IBGP environment, the nexthop remains the same for route
in the same segment. If it is not broadcast network, errors will be encountered. This