Administrator Guide

Layer 3 Routing Commands 1298
neighbor maximum-prefix (BGP Router
Configuration)
Use the neighbor maximum-prefix command to configure the maximum
number of IPv4 prefixes that BGP will accept from a specified neighbor.
Syntax
neighbor {
ip-address
|
ipv6-address
[ interface
interface-id
]}
maximum-
prefix { maximum [
threshold
] [warning-only] |
unlimited }
no neighbor {
ip-address
|
ipv6-address
[ interface
interface-id
]}
maximum-
prefix
ip-address
The neighbor’s IP address.
ipv6-address
The neighbor’s IPv6 address. If the neighbor’s IPv6 address
is a link local address, the local interface must also be specified.
interface-id
—If the neighbor’s IPv6 address is a link local address, the local
VLAN routing interface must also be specified.
maximum
—The maximum number of prefixes BGP will accept from this
neighbor. Range 0-4294967295. Values greater than the free space in the
route table are not enforced.
threshold
The percentage of the maximum number of prefixes BGP
configured for this neighbor. When the number of prefixes received from
the neighbor exceeds this percentage of the maximum, BGP writes a log
message. The range is 1 to 100 percent. The default is 75 %. Unless
warning-only is specified, BGP shuts down the adjacency when the
threshold is reached.
unlimited—
Do not enforce any prefix limit. Use this option when
inbound filtering will reduce the number received prefixes such that they
will fit in the routing table. Exceeding the capacity of the routing table will
cause the adjacency to be shut down unless the warning-only option is
configured.
warning-only—
(Optional) If BGP receives more than the maximum
number of prefixes, BGP writes a log message rather than shutting down
the adjacency.
2CSNXXX_SWUM204.book Page 1298 Monday, January 25, 2016 1:25 PM