address-assignment (Access)
语法
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; } }
层次结构级别
[edit access]
描述
地址分配池功能使您能够创建具有不同属性的不同池。例如,多个客户端应用程序(如 DHCPv4 或 DHCPv6)可以使用地址分配池为其特定客户端提供地址。
选项
host hostname
- 网络上已知网络连接设备的名称。hardware-address mac-address
— 指定客户端的 MAC 地址。这是标识网络上的客户端的硬件地址。ip-address reserved-address
— 指定保留的 IP 地址。user-name
— 指定用户名或 IKE ID。xauth-attributes
- 指定要在 XAuth 身份验证中使用的 XAuth 属性。primary-dns-ipv6
— 指定主 DNS IPv6 地址。secondary-dns-ipv6
— 指定辅助 DNS IPv6 地址。
所需权限级别
access - 在配置中查看此语句。
访问控制 - 将此语句添加到配置中。
发布信息
Junos OS 10.4 版中引入的语句。
xauth-attributes
下 inet6
的选项在 Junos OS 20.3R1 版中引入。
user-name
下 inet host host-name
的选项在 Junos OS 20.3R1 版中引入。
host
下 inet6
的选项在 Junos OS 20.3R1 版中引入。