maximum-prefix (bgp-neighbor-config)
Configures the maximum number of prefixes that can be received from a
BGP neighbor. This option is disabled by default.
Supported in the following platforms:
- Service Platforms — NX9500, NX9600
Syntax
maximum-prefix <1-4294967295> {(<1-100>|restart <1-65535>|warning-only)}
Parameters
maximum-prefix <1-4294967295> {(<1-100>|restart <1-65535>|warning-only)}
maximum-prefix <1-4294967295> |
Configures the maximum number of prefixes that can be
received from a BGP neighbor
- <1-4294967295> – Specify a value for 1 - 4294967295.
- <1-100> – Optional. Sets the threshold limit for generating a log
message. This value represents a percentage of the maximum-prefix configured
in the preceding step. When this value is reached, a log entry is generated.
For example if the maximum-prefix is set to 100 and threshold limit is set
to 65, then after receiving 65 prefixes, a log entry is generated. This
option is disabled by default.
- restart <1-65535> – Optional. Restarts BGP peer connection once the
maximum-prefix limit specified is exceeded. For example, If the value
specified is 10, then after receiving 10 prefixes from the neighbor, the
system restarts the connection with that neighbor. Specify a value from 1 -
65535. This option is disabled by default.
- warning-only – Configure to enable. When the maximum-prefix limit is
exceeded, the connection is restarted. However, when this option is enabled,
the connection is not restarted and an event is generated instead. This
option is disabled by default.
|
Examples
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#maximum-prefix 400 50 warning-only
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#show con
bgp neighbor 192.168.13.99
advertisement-interval 100
allowas-in 10
attribute-unchanged as-path
capability orf prefix-list both
default-originate
description neighbor "This neighbor is an external AS neighbor"
disable-connected-check
dont-capability-negotiate
ebgp-multihop 20
enforce-multihop
local-as 20 no-prepend
maximum-prefix 400 50 warning-only
nx9500-6C8809(config-profile testNX9000-router-bgp-neighbor-192.168.13.99)#