Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

asregex-optimize

Syntax

Hierarchy Level

Description

The configuration statement refers to as-path-group under [edit policy-options defaults]. This configuration enables more efficient AS-path processing by creating groups of AS-path patterns, which network devices can match rapidly. This approach benefits large-scale networks where BGP policies must handle complex AS-path regular expressions for routing decisions. By optimizing the AS-path lookup process, the configuration statement improves BGP policy processing performance. This capability also increases speed and scalability when managing extensive lists of AS-paths.

Options

no-optimize

Disable AS-PATH regular expression optimizer

optimize

Enable AS-PATH regular expression optimizer

Required Privilege Level

routing—To view this statement in the configuration.

routing-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 22.3R1.