Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

as-path-group

date_range 19-Nov-23

Syntax

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

Hierarchy Level

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

Description

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

Options

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.

Release Information

Statement introduced before Junos OS Release 7.4.

Support for dynamic database configuration introduced in Junos OS Release 9.5.

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

footer-navigation