Configures the maximum number of IP prefixes accepted for all neighbors in the peer group.
name | Specifies a peer group. |
ipv4-unicast | Specifies the IPv4 unicast address family. |
ipv4-multicast | Specifies an IPv4 multicast address family. |
ipv6-unicast | Specifies the IPv6 unicast address family. |
ipv6-multicast | Specifies an IPv6 multicast address family. |
vpnv4 | Specifies the VPNv4 address family for Layer 3 VPN support. |
number | Specifies the maximum number of prefixes that can be accepted. The range is 0 to 4294967294. A value of 0 disables prefix limit feature. |
percent | Specifies the percentage of the maximum prefix (threshold) at which a warning message is printed in the log (and on the console). An SNMP trap can also be sent. |
teardown | Specifies that the peer session is torn down when the maximum is exceeded. |
seconds | Specifies the length of time before the session is re-established, if the session has been torn down due to exceeding the max limit. If the hold down interval is 0 or not specified, it is kept down until the peer is enabled. The range is 30 to 86400 seconds. |
send-traps | Specifies sending “number of prefix reached threshold” and “number of prefix exceed the max-prefix limit” SNMP traps. |
This feature is disabled by default.
The default threshold is 75%.
By default, teardown is not specified.
By default, send-traps is not specified.
If no address family is specified, IPv4 unicast is the default.
This command applies to the current VR or VRF context.
If you do not specify an address family, this command applies to the IPv4 unicast address family. To apply this command to an address family other than the IPv4 unicast address family, you must specify the address family.
Note
If the specified peer group contains IPv6 peers, it is an IPv6 peer group and you must specify an IPv6 address-family. When the specified peer group is an IPv6 peer group, this command fails if no address family is specified or if an IPv4 address-family is specified. This command also fails if an IPv6 address family is specified for an IPv4 peer-group.Configure the peer group before configuring the neighbors. To configure the neighbors, use the following command:
configure bgp neighbor 192.168.1.1 maximum-prefix
After you enter this command, the switch automatically disables and enables all neighbors in the peer group before the change takes effect.
To configure this feature on Layer 3 VPNs, you must configure this feature in the context of the MPLS-enabled VR; this feature is not supported for BGP neighbors on the CE (VRF) side of the PE router.
The following command configures the maximum number of IP prefixes accepted from the peer group outer to 5000, sets the threshold for warning messages to 60%, and specifies SNMP traps:
configure bgp peer-group outer maximum-prefix 5000 threshold 60 send-traps
This command was first available in ExtremeXOS 10.1.
This command required a specific license in ExtremeXOS 11.1.
Support for IPv6 was added in ExtremeXOS 12.6 BGP.
Support for Layer 3 VPNs was added in ExtremeXOS 15.3.
This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature, see the Feature License Requirements document.