Config¶
Leafs
-
class
NetworkInstances.NetworkInstance.Protocols.Protocol.Bgp.Global.AfiSafis.AfiSafi.Ipv4LabeledUnicast.PrefixLimit.
Config
¶ Bases:
Entity
Class Hierarchy:
NetworkInstances
NetworkInstance
Protocols
Protocol
Bgp
Global
AfiSafis
AfiSafi
Ipv4LabeledUnicast
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
-