State

Leafs

class NetworkInstances.NetworkInstance.Protocols.Protocol.Bgp.PeerGroups.PeerGroup.AsPathOptions.State

Bases: Entity

Class Hierarchy: NetworkInstances NetworkInstance Protocols Protocol Bgp PeerGroups PeerGroup AsPathOptions State

This class represents state data.

State information relating to the AS_PATH manipulation

mechanisms for the BGP peer or group

allow_own_as

Specify the number of occurrences of the local BGP speaker’s AS that can occur within the AS_PATH before it is rejected

type: int

range: 0..255

config: False

default value: 0

replace_peer_as

Replace occurrences of the peer’s AS in the AS_PATH with the local autonomous system number

type: bool

config: False

default value: false