Command:

neighbor maximum-prefix


Mode:

Router(config-router)#


Syntax:

neighbor {ip-address | peer-group-name} maximum-prefix maximum [threshold]  [warning-only]

no neighbor {ip-address | peer-group-name} maximum-prefix maximum  


Syntax Description:

ip-address

IP address of the neighbor

peer-group-name

Name of a BGP peer group

maximum

Maximum number of prefixes allowed from this neighbor

threshold

(Optional) Integer specifying at what percentage of maximum the router starts to generate a warning message. The range is from 1 to 100 percent. The default is 75 (percent).

warning-only

(Optional) Allows the router to generate a log message when the maximum is exceeded, instead of terminating the peering


Command Description:

To control how many prefixes can be received from a neighbor, use the neighbor maximum-prefix router configuration command. To disable this function, use the no form of this command. 

Usage Guidelines:

When the number of received prefixes exceeds the maximum number configured, the router terminates the peering (by default). However, if the keyword warning-only is configured, the router sends only a log message instead and continues peering with the sender. If the peer is terminated, the peer stays down until the clear ip bgp command is issued.


Example:

The following example sets the maximum number of prefixes allowed from the neighbor at 129.140.6.6 to 1000:

 

Router(config)#router bgp 109
Router(config-router)#network 131.108.0.0
Router(config-router)#neighbor 129.140.6.6 maximum-prefix 1000

Misconceptions:
None

Related Commands:
clear ip bgp

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)