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.
Related
Documentation
• Configuring the Algorithm That Determines the Active Route to Evaluate AS Numbers
in AS Paths for VPN Routes on page 855
1433Copyright © 2017, Juniper Networks, Inc.
Chapter 41: Configuration Statements