Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

protocols bgp <asn> peer-group <name> address-family ipv4-unicast maximum-prefix <max-number>

Sets the maximum number of prefixes to accept from this peer group before that peer group is taken down.

set protocols bgp asn peer-group name address-family ipv4-unicast maximum-prefix max-number [ threshold threshold-value [ warning-only ] warning-only ]
delete protocols bgp asn peer-group name address-family ipv4-unicast maximum-prefix [ max-number ] [ threshold threshold-value [ warning-only ] warning-only ]
show protocols bgp asn peer-group name address-family ipv4-unicast maximum-prefix

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 {
                ipv4-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 peer group before the peer group is taken down. This helps alleviate situations where the router receives more routes than it can handle.

Note: You can either configure maximum-prefix max-number [ warning-only ] or maximum-prefix max-number threshold threshold-value [ warning-only ]. The two values do not coexist in a configuration.

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.

Note:

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 ipv4-unicast soft-reconfiguration inbound.