BGP Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
31.67
neighbor maximum-prefix
Use this command to control the number of prefixes that can be received from a neighbor.
Use the
no
parameter with this command to disable this function.
Syntax
neighbor <
neighborid
> maximum-prefix <
maximum
>
no neighbor <
neighborid
> maximum-prefix [<
maximum
>]
Mode
Router mode and Address Family [ipv4 unicast | ipv4 multicast | vpnv4 unicast] mode
Usage
The
neighbor maximum-prefix
command allows the configuration of a specified number of
prefixes that a BGP 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.
Examples
Parameter
Description
<
neighborid
>
{
A.B.C.D
|
TAG
}
A.B.C.D
Specifies the address of the BGP neighbor in IPv4 format.
TAG
Name of an existing peer-group. For information on how to
create peer groups, refer to the
neighbor peer-group (adding
a neighbor) command on page 31.71
,
and
neighbor remote-
as command on page 31.75
. When this parameter is used
with a 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.
warning-only
Only gives a warning message when the limit is exceeded.
awplus#
configure terminal
awplus(config)#
router bgp 10
awplus(config-router)#
neighbor 10.10.0.72 maximum-prefix 1244
warning-only