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-assignment (Access)

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
address-assignment {
    abated-utilization percentage;
    abated-utilization-v6 percentage;
    high-utilization percentage;
    high-utilization-v6 percentage;
    neighbor-discovery-router-advertisement ndra-name;
    pool pool-name {
        family {
            inet {
                dhcp-attributes {
                    boot-file boot-file-name;
                    boot-server boot-server-name;
                    domain-name domain-name;
                    grace-period seconds;
                    maximum-lease-time (seconds | infinite);
                    name-server ipv4-address;
                    netbios-node-type (b-node | h-node | m-node | p-node);
                    next-server next-server-name;
                    option dhcp-option-identifier-code {
                        array {
                            byte [8-bit-value];
                            flag [ false| off |on |true];
                            integer [32-bit-numeric-values];
                            ip-address [ip-address];
                            short [signed-16-bit-numeric-value];
                            string [character string value];
                            unsigned-integer [unsigned-32-bit-numeric-value];
                            unsigned-short [16-bit-numeric-value];
                        }
                        byte 8-bit-value;
                        flag (false | off | on | true);
                        integer 32-bit-numeric-values;
                        ip-address ip-address;
                        short signed-16-bit-numeric-value;
                        string character string value;
                        unsigned-integer unsigned-32-bit-numeric-value;
                        unsigned-short 16-bit-numeric-value;
                    }
                    option-match {
                        option-82 {
                            circuit-id match-value {
                                range range-name;
                            }
                            remote-id match-value;
                                range range-name;
                            }
                        }
                    }
                    propagate-ppp-settings [interface-name];
                    propagate-settings interface-name;
                    router ipv4-address;
                    server-identifier ip-address;
                    sip-server {
                        ip-address ipv4-address;
                        name sip-server-name;
                    }
                    tftp-server server-name;
                    wins-server ipv4-address;
                }
                excluded-address;
                excluded-range range-name
                    high upper-limit;
                    low lower-limit;
                }
                range range-name {
                    high upper-limit;
                    low lower-limit;
                }
                host hostname {
                    hardware-address mac-address;
                    ip-address reserved-address;
                    user-name;
                }
                network network address;
                xauth-attributes {
                    primary-dns ip-address;
                    primary-wins ip-address;
                    secondary-dns ip-address;
                    secondary-wins ip-address;
                }
            }
            inet6 {
                dhcp-attributes {
                    dns-server ipv6-address;
                    grace-period seconds;
                    maximum-lease-time (seconds | infinite);
                    option dhcp-option-identifier-code {
                        array {
                            byte [8-bit-value];
                            flag [ false| off |on |true];
                            integer [32-bit-numeric-values];
                            ip-address [ip-address];
                            short [signed-16-bit-numeric-value];
                            string [character string value];
                            unsigned-integer [unsigned-32-bit-numeric-value];
                            unsigned-short [16-bit-numeric-value];
                        }
                        byte 8-bit-value;
                        flag (false | off | on | true);
                        integer 32-bit-numeric-values;
                        ip-address ip-address;
                        short signed-16-bit-numeric-value;
                        string character string value;
                        unsigned-integer unsigned-32-bit-numeric-value;
                        unsigned-short 16-bit-numeric-value;
                    }
                    propagate-ppp-settings [interface-name];
                    sip-server-address ipv6-address;
                    sip-server-domain-name domain-name;
                }
                excluded-address;
                excluded-range range-name
                    high upper-limit;
                    low lower-limit;
                }
                host hostname {
                    hardware-address mac-address;
                    ip-address reserved-address;
                    user-name;
                }
                prefix ipv6-network-prefix;
                range range-name {
                    high upper-limit;
                    low lower-limit;
                    prefix-length delegated-prefix-length;
                }
                xauth-attributes {
                    primary-dns-ipv6;
                    secondary-dns-ipv6;
                }
            }
        link pool-name;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit access]

Description

The address-assignment pool feature enables you to create different pools with different attributes. For example, multiple client applications, such as DHCPv4 or DHCPv6, can use an address-assignment pool to provide addresses for their particular clients.

Options

  • host hostname—Name by which a network-attached device is known on a network.

  • hardware-address mac-address—Specify the MAC address of the client. This is the hardware address that identifies the client on the network.

  • ip-address reserved-address—Specify the reserved IP address.

  • user-name—Specify username or IKE ID.

  • xauth-attributes—Specify XAuth attributes to use in XAuth authentication.

  • primary-dns-ipv6—Specify the primary-dns IPv6 address.

  • secondary-dns-ipv6—Specify the secondary-dns IPv6 address.

Required Privilege Level

access—To view this statement in the configuration.

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

Release Information

Statement introduced in Junos OS Release 10.4.

xauth-attributes option under inet6 is introduced in Junos OS Release 20.3R1.

user-name option under inet host host-name is introduced in Junos OS Release 20.3R1.

host option under inet6 is introduced in Junos OS Release 20.3R1.

footer-navigation