5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
1068
BGP accepts the excess prefixes and writes a log message rather than
shutting down the adjacency.
Default
The default is Prefix Limit maximum number of supported routes in the forwarding table. The default
warning threshold is 75%. Neighbors exceeding the limit are shutdown unless the
warning-only
option is
configured.
Command Mode
BGP Router Config
11-65 neighbor maximum-prefix (IPv4 VRF Address Family Config)
This command configures the maximum number of prefixes that BGP will accept from a specified
neighbor. The prefix limit is compared against the number of prefixes received from the neighbor,
including prefixes that are rejected by inbound policy. If the peering session is shut down, the adjacency
stays down until the
command is issued for the neighbor. The neighbor can also be brought
back up using the
command followed by the command
no neighbor shutdown
.
Use the
no
command to revert to the default value for the maximum the number of prefixes that BGP will
accept from a specified neighbor.
neighbor ip-address maximum-prefix {maximum | unlimited} [threshold] [warning-only]
no neighbor ip-address maximum-prefix
Parameters
ip-address
The neighbor’s IPv4 address.
maximum
The maximum number of prefixes BGP will accept from this neighbor.
Range is 0 to the maximum number of routes the router supports.
unlimited
Do nct enforce any prefix limit.
threshold
(Optional) 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%.
warning-only
(Optional) If BGP receives more than the maximum number of prefixes,
BGP accepts the excess prefixes and writes a log message rather than
shutting down the adjacency.
Default
The default is Prefix Limit maximum number of supported routes in the forwarding table. The default
warning threshold is 75%. Neighbors exceeding the limit are shutdown unless the
warning-only
option is
configured.
Command Mode
IPv4 VRF Address Family Config