Technical Documentation



as-path-group group-name {as-path name regular-expression;}

Hierarchy Level

[edit dynamic policy-options],[edit logical-systems logical-system-name policy-options],[edit policy-options]

Release Information

Statement introduced before JUNOS Release 7.4.

Statement introduced in JUNOS Release 9.0 for EX Series switches.

Support for dynamic database configuration introduced in JUNOS Release 9.5.

Support for dynamic database configuration introduced in JUNOS Release 9.5 for EX Series switches.


Define a group containing multiple AS path regular expressions for use in a routing policy match condition.


group-name—Name that identifies the AS path group. One or more AS path regular expressions must be listed below the as-path-group hierarchy.

name—Name that identifies the regular expression. The name can contain letters, numbers, and hyphens (-) and can be up to 255 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.

Published: 2010-04-15