Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

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]

Release Information

Statement introduced in Junos OS Release 10.1.

Statement introduced in Junos OS Release 12.3 for ACX Series routers.

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.

Published: 2013-07-31