prefix-list
Syntax
prefix-list name { ip-addresses; apply-path path; }
Hierarchy Level
[edit dynamic policy-options], [edit logical-systems logical-system-name policy-options], [edit policy-options]
Description
Define a list of IPv4 or IPv6 address prefixes for use in a routing policy statement or firewall filter statement, or a list of IPv6 addresses or address prefixes for use in an IPv6 RA guard policy.
You can configure up to 85,325 prefixes in each prefix list. To configure more than 85,325 prefixes, configure multiple prefix lists and apply them to multiple firewall filter terms.
Options
name—Name that identifies the list of IPv4 or IPv6 addresses or address prefixes.
ip-addresses—These are the IPv4 or IPv6 prefixes specified as prefix/prefix-length. If you omit prefix-length for an IPv4 prefix, the default is /32prefix-length. If you omit prefix-length for an IPv6 prefix, the default is /128.
The remaining statement is explained separately. See CLI Explorer.
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 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.
Support for the vpls protocol family introduced in Junos OS Release 10.2.
Support for IPv6 RA guard policy lists introduced in Junos OS Release 16.1 for EX Series switches.