Config

Leafs

class Bgp.PeerGroups.PeerGroup.AfiSafis.AfiSafi.Ipv4Unicast.PrefixLimit.Config

Bases: Entity

Class Hierarchy: Bgp PeerGroups PeerGroup AfiSafis AfiSafi Ipv4Unicast PrefixLimit Config

This class represents configuration data.

Configuration parameters relating to the prefix

limit for the AFI-SAFI

max_prefixes

Maximum number of prefixes that will be accepted from the neighbour

type: int

range: 0..4294967295
prevent_teardown

Do not tear down the BGP session when the maximum prefix limit is exceeded, but rather only log a warning. The default of this leaf is false, such that when it is not specified, the session is torn down

type: bool

default value: false

shutdown_threshold_pct

Threshold on number of prefixes that can be received from a neighbour before generation of warning messages or log entries. Expressed as a percentage of max-prefixes

type: int

range: 0..100
restart_timer

Time interval in seconds after which the BGP session is re-established after being torn down due to exceeding the max-prefix limit

type: Decimal64

range: -92233720368547758.08..92233720368547758.07

units: seconds