Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

apply-path

Syntax

Hierarchy Level

Description

Expand a prefix list to include all prefixes pointed to by a defined path. Using the apply-path statement eliminates most of the effort required to maintain a group prefix list. You can use this expanded list in defining policies and firewalls.

You can also use the apply-path configuration statement with SNMP, as long as the path uses the following configuration: apply-path "policy-options prefix-list list-name <*>". This is the only apply-path configuration originally supported for SNMP. As of Junos OS Release 16.1, support for one other SNMP apply-path configuration is added: apply-path "access radius-server <*>".

Note:

The wildcard regex format of the type " et<*> " for apply-path configuration statement at the [edit policy-options prefix-list] hierarchy is not supported.

Options

path—String of elements composed of identifiers or configuration keywords that points to a set of prefixes. Use a space to delimit multiple elements. As long as the last path element is not a leaf, that is, terminal, statement, you can include wildcards (enclosed in angle brackets) to match more than one identifier. No elements can be added after a leaf statement, including wildcards.

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 apply-path "access radius-server <*>" configuration for SNMP added in Junos OS Release 16.1.

Support for the prefix-list match condition added in Junos OS Evolved Release 20.2R1 for PTX10003.