protocols bgp <asn> neighbor <id> address-family vpnv4-unicast maximum-prefix <max-number>
Sets the maximum number of prefixes to accept from this VPNv4 neighbor before that neighbor is taken down.
No maximum to the number of prefixes accepted.
- asn
- The number for the AS in which this router resides. The number ranges from 1 through 4294967295.
- id
- The IPv4 or IPv6 address of a BGP neighbor.
- max-number
- The maximum number of prefixes to accept from this neighbor before the neighbor is taken down.
- threshold-value
- The percentage of the maximum value of prefixes at which to start warning.
- warning-only
- Does not reset the connection once the maximum prefixes have been received. It only continues to warn.
Configuration mode
protocols {
bgp asn {
peer-group name {
address-family {
vpnv4-unicast {
maximum-prefix max-number {
threshold threshold-value {
warning-only
}
warning-only
}
}
}
}
}
}
Use the set form of this command to set the maximum number of prefixes to accept from this neighbor before the neighbor is taken down. This helps alleviate situations where the router receives more routes than it can handle.
Use the delete form of this command to remove the maximum prefix setting.
Use the show form of this command to view BGP neighbor configuration settings.
When you configure this command and the number of prefixes received in an update message exceeds configured maximum-prefix limit, the session gets reset.