neighbor maximum-prefix
Specifies the maximum number of IP network prefixes (routes) that can be learned from
a specified neighbor or peer group.
Syntax
neighbor
{
ip-address
|
ipv6-address
|
peer-group-name
}
maximum-prefix
num
[
threshold
]
[
teardown
]
no neighbor
{
ip-address
|
ipv6-address
|
peer-group-name
}
maximum-prefix
num
[
threshold
]
[
teardown
]
Parameters
Modes
BGP configuration mode
BGP address-family IPv6 unicast configuration mode
Usage Guidelines
When this command is entered in BGP global configuration mode, it applies only to the IPv4 address family. Use this command in BGP address-family IPv6 unicast configuration mode for BGP4+ configurations.
Examples
The following example sets the maximum number of prefixes that will be accepted from the neighbor with the IP address 10.11.12.13 to 100000, and sets the threshold value to 80%.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.12.13 maximum-prefix 100000 threshold 80