Config

Leafs

class Bgp.PeerGroups.PeerGroup.AsPathOptions.Config

Bases: Entity

Class Hierarchy: Bgp PeerGroups PeerGroup AsPathOptions Config

This class represents configuration data.

Configuration parameters relating to AS_PATH manipulation

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

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

default value: false