home

Supported platforms

Vyatta documentation

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

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.

set protocols bgp asn neighbor id address-family vpnv4-unicast maximum-prefix max-number [ threshold threshold-value [ warning-only ] warning-only ]
delete protocols bgp asn neighbor id address-family vpnv4-unicast maximum-prefix [ threshold threshold-value [ warning-only ] warning-only ]
show protocols bgp asn neighbor id address-family vpnv4-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.
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.

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 neighbor 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.