[Contents] [Prev] [Next] [Index] [Report an Error]


path-selection

Syntax

path-selection (cisco-non-deterministic | always-compare-med);

Hierarchy Level

[edit protocols bgp],
[edit routing-instances routing-instance-name protocols bgp],
[edit logical-routers
logical-router-name protocols bgp],
[edit logical-routers logical-router-name routing-instances routing-instance-name protocols bgp]

Description

Configures BGP path selection.

Options

cisco-non-deterministic—Configure routing table path selection so that it is performed using the same nondeterministic behavior as the Cisco IOS software. The active path is always first. All nonactive, but eligible, paths follow the active path and are maintained in the order in which they were received, with the most recent path first. Ineligible paths remain at the end of the list.

always-compare-med—Always compare MEDs whether or not the peer ASs of the compared routes are the same.


We recommend that you configure the always-compare-med option.


Default

If the path-selection statement is not included in the configuration, only the MEDs of routes that have the same peer ASs are compared.

Usage Guidelines

See Configure Routing Table Path Selection.

Required Privilege Level

routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.


[Contents] [Prev] [Next] [Index] [Report an Error]