as-path-compare
Syntax
as-path-compare;
Hierarchy Level
[edit logical-systems logical-system-name routing-instances routing-instance-name routing-options multipath], [edit routing-instances routing-instance-name routing-options multipath]
Description
Specify to have the algorithm that is used to determine the active path compare the AS numbers in the AS path. In a VPN scenario with multiple BGP paths, the algorithm selects as the active path the route whose AS numbers match. By default, the algorithm evaluates only the length and not the contents of the AS path.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 10.1.