neighbor maximum-prefix

This command specifies a maximum number of prefixes accepted from this peer.

Syntax

neighbor {<neighbor tag>|a.b.c.d|X:X::X:X} <prefix limit>  [<threshold>] [restart <restart interval>|warning-only] 

Command

Description

a.b.c.d|X:X::X:X

Defines the IP address of the neighbor (IPv4 or IPv6).

neighbor tag

Defines the neighbor tag.

prefix limit

Defines the maximum number of prefix limits (1 – 4294967295).

threshhold

Defines the threshold value (%) at which to generate a warning message.

restart interval

Defines the restart interval in minutes (1-65535).                   

warning only

Enables to only give a warning message when the limit has exceeded.

Default

NA

Command Mode

Privileged User

Example

This example specifies the maximum number of prefixes accepted from this peer.

(config-data)# router bgp 1
(conf-router)# neighbor 10.15.5.110 maximum-prefix 10000