Config

Leafs

class Bgp.PeerGroups.PeerGroup.AfiSafis.AfiSafi.RouteSelectionOptions.Config

Bases: Entity

Class Hierarchy: Bgp PeerGroups PeerGroup AfiSafis AfiSafi RouteSelectionOptions Config

This class represents configuration data.

Configuration parameters relating to route selection

options

always_compare_med

Compare multi-exit discriminator (MED) value from different ASes when selecting the best route. The default behavior is to only compare MEDs for paths received from the same AS

type: bool

default value: false

ignore_as_path_length

Ignore the AS path length when selecting the best path. The default is to use the AS path length and prefer paths with shorter length

type: bool

default value: false

external_compare_router_id

When comparing similar routes received from external BGP peers, use the router-id as a criterion to select the active path

type: bool

default value: true

advertise_inactive_routes

Advertise inactive routes to external peers. The default is to only advertise active routes

type: bool

default value: false

enable_aigp

Flag to enable sending / receiving accumulated IGP attribute in routing updates

type: bool

default value: false

ignore_next_hop_igp_metric

Ignore the IGP metric to the next-hop when calculating BGP best-path. The default is to select the route for which the metric to the next-hop is lowest

type: bool

default value: false