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

address-set

date_range 20-Nov-23

Syntax

content_copy zoom_out_map
address-set address-set-name {
    address address-name;
    address-set address-set-name;
    description text;
}

Hierarchy Level

content_copy zoom_out_map
[edit security address-book book-name]

Description

Specify a collection of addresses, as defined in the address (Address Book) statement. Using address sets, you can organize addresses in logical groups and use them to easily configure other features, such as policies and NAT rules. Using this statement, you can also include a description for an address set.

You can also define address sets within address sets.

Options

address-set-nameName of the address set.

The remaining statements are explained separately. See CLI Explorer.

Required Privilege Level

security—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 8.5. Support for nested address sets introduced in Junos OS Release 11.2. The description option added in Junos OS Release 12.1.

footer-navigation