protocols bgp <asn> peer-group <name> address-family ipv6-unicast maximum-prefix <max-number>
Sets the maximum number of prefixes to accept from this peer group before that peer group 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.
- name
- The peer group name.
- max-number
- The maximum number of prefixes to accept from this peer group before the peer group 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 {
ipv6-unicast {
maximum-prefix max-number {
threshold threshold-value {
warning-only
}
warning-only
}
}
}
}
}
}
This command applies to IPv6 unicast routes only.
Use the set form of this command to set the maximum number of prefixes to accept from this peer group before the peer group 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 peer group 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.
When soft-reconfiguration is enabled and the number of prefixes received exceeds maximum-prefix value, there will not be any corresponding unprocessed entries stored in Adj-RIB-In because the peer-session resets when the number of prefixes received exceeds maximum-prefix value. For more information on soft-reconfiguration, see protocols bgp <asn> neighbor <id> address-family ipv6-unicast soft-reconfiguration inbound.