State

Leafs

class Bgp.Global.AfiSafis.AfiSafi.RouteSelectionOptions.State

Bases: Entity

Class Hierarchy: Bgp Global AfiSafis AfiSafi RouteSelectionOptions State

This class represents state data.

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

config: False

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

config: False

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

config: False

default value: true

advertise_inactive_routes

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

type: bool

config: False

default value: false

enable_aigp

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

type: bool

config: False

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

config: False

default value: false