State

Leafs

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

Bases: Entity

Class Hierarchy: Bgp PeerGroups PeerGroup AfiSafis AfiSafi Ipv4Unicast PrefixLimit State

This class represents state data.

State information 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

config: False

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

config: False

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

config: False

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

config: False

units: seconds