Supported Platforms
Related Documentation
as-path (Policy Options)
Syntax
Hierarchy Level
Release Information
Statement introduced before Junos OS Release 7.4.
Statement introduced in Junos OS Release 9.0 for EX Series switches.
Support for configuration in the dynamic database introduced in Junos OS Release 9.5.
Support for configuration in the dynamic database introduced in Junos OS Release 9.5 for EX Series switches.
Description
Define an autonomous system (AS) path regular expression for use in a routing policy match condition.
Options
name—Name that identifies the regular expression. The name can contain letters, numbers, and hyphens (-) and can be up to 65,536 characters long. To include spaces in the name, enclose it in quotation marks (“ ”).
regular-expression—One or more regular expressions used to match the AS path.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.