Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

prefix-list

Syntax

Hierarchy Level

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—List of IPv4 or IPv6 addresses or address prefixes, one IP address per line in the configuration.

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.