
C613-50186-01 Rev B
Command Reference for AR2050V
1241
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
NEIGHBOR
MAXIMUM
-
PREFIX
neighbor maximum-prefix
Overview
Use this command to control the number of prefixes that can be received from a
BGP or a BGP4+ neighbor.
Use the
no
variant of this command to disable this function. Do not specify
threshold to apply the default threshold of 75% for the maximum number of
prefixes before this is applied.
Syntax
neighbor <
neighborid
> maximum-prefix <maximum>
no neighbor <
neighborid
> maximum-prefix [<maximum>]
Default
The default threshold value is 75%. If the threshold value is not specified this
default is applied.
Mode [BGP]
Router Configuration or IPv4 Address Family Configuration
Mode [BGP4+]
IPv6 Address Family Configuration
Usage
The
neighbor maximum-prefix
command allows the configuration of a specified
number of prefixes that a BGP or a BGP4+ router is allowed to receive from a
neighbor. When the
warning-only
option is not used, if any extra prefixes are
received, the router ends the peering. A terminated peer, stays down until the
clear ip bgp
command is used.
Parameter
Description
<neighborid>
{
<ip-address>
|
<ipv6-addr>
|
<peer-group>
}
<ip-address>
Specify the address of an IPv4 BGP neighbor, in
dotted decimal notation A.B.C.D.
<ipv6-addr>
Specify the address of an IPv6 BGP4+ neighbor,
entered in hexadecimal in the format X:X::X:X.
<peer-group>
Name of an existing peer-group. For
information on how to create peer groups, refer
to the
neighbor peer-group (add a neighbor)
When this parameter is used with this
command, the command applies on all peers in
the specified group.
<maximum>
<maxprefix>
[<
threshold
>] [warning-only]
<maxprefix>
<
1-4294967295
>
Specifies the maximum number of prefixes permitted.
<threshold>
<
1-100
>
Specifies the threshold value, 1 to 100 percent. 75% by
default.
warning-only
Only gives a warning message when the limit is exceeded.