tenant.bgp_peer_prefix_policy

The peer prefix policy defines how many prefixes can be received from a neighbor and the action to take when the number of allowed prefixes is exceeded. This feature is commonly used for external BGP peers, but can also be applied to internal BGP peers.

ACI class

bgpPeerPfxPol

RN

bgpPfxP-{name}

Cursor

BgpPeerPrefixPolicyCursor

Parent

tenant

Atomic

Attributes

Accepted as keyword arguments of .bgp_peer_prefix_policy(name) and of .set(**attrs) on this cursor. Enum parameters also accept the plain string.

parameter

wire

type

values

default

description

name (positional)

name

str

The peer prefix policy name. This name can be up to 64 alphanumeric characters.

max_prefix_action

action

BgpMaxPfxAct

log, reject, restart, shut

reject

Action to be performed when the maximum prefix limit is reached.

description

descr

str

Specifies a description of the policy definition.

max_number_of_prefixes

maxPfx

int

20000

Maximum number of prefixes allowed from the peer.

owner_key

ownerKey

str

The key for enabling clients to own their data for entity correlation.

owner_tag

ownerTag

str

A tag for enabling clients to add their own data. For example, to indicate who created this object.

prefix_limit_restart_time

restartTime

int

infinite

The period of time in minutes before restarting the peer when the prefix limit is reached.

warning_threshold

thresh

int

75

The threshold percentage of the maximum number of prefixes before a warning is issued. For example, if the maximum number of prefixes is 10 and the threshold is 70%, a warning is issued when the number of prefixes exceeds 7 (70%).