set protocols bgp neighbor maximum-prefix-out


The set protocols bgp neighbor maximum-prefix-out command sets a maximum number of prefixes we can send to a given neighbor. Since sent prefix count is managed by update-groups, this option creates a separate update-group for outgoing updates.
The delete protocols  bgp neighbor maximum-prefix-out command disables the maximum number of prefixes limit.


Command Syntax

set protocols bgp [vrf <vrf-name>neighbor <ip> ipv4-unicast maximum-prefix-out <max-prefix-number>

delete protocols bgp [vrf <vrf-name>neighbor <ip> ipv4-unicast maximum-prefix-out <max-prefix-number>


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

neighbor <ip>Specifies the IPv4 address of a peer.
peer-group <peer-group>Specifies a peer group.
interface <interface>Specifies an L3 interface for BGP connection. The value could be a VLAN interface name, loopback interface name, routed interface or sub-interface name.
maximum-prefix-out <max-prefix-number>Specifies the maximum number of prefixes we can send to a given neighbor. The value is an integer from 1 to 4294967295.
By default, there is no limit for the maximum number of prefixes.


Example
• This example sets the prefix limit we can send to a given neighbor to 1000 prefixes.

admin@XorPlus# set protocols bgp neighbor 2.2.2.2 ipv4-unicast maximum-prefix-out 1000
admin@XorPlus# commit


Copyright © 2024 Pica8 Inc. All Rights Reserved.