family inet6
语法
inet6 { accounting { destination-class-usage; source-class-usage { input; ouput; } } address source–address/prefix { eui-64; ndp address { (mac mac-address | multicast-mac multicast-mac-address); publish; } preferred; primary; vrrp-inet6-group group_id { (accept-data | no-accept-data); advertisements-threshold number; authentication-key value; authentication-type (md5 | simple); fast-interval milliseconds; inet6-advertise-interval milliseconds; (preempt <hold-time seconds>| no-preempt ); priority value; track { interface interface-name { bandwidth-threshold value; priority-cost value; } priority-hold-time seconds; route route-address{ routing-instance routing-instance; } } virtual-inet6-address [address]; virtual-link-local-address address; vrrp-inherit-from { active-group value; active-interface interface-name; } } web-authentication { http; https; redirect-to-https; } } (dad-disable | no-dad-disable); dhcpv6-client { client-ia-type (ia-na | ia-pd); client-identifier duid-type (duid-ll | duid-llt | vendor); client-type (autoconfig | stateful); rapid-commit; req-option (dns-server | domain | fqdn | nis-domain | nis-server | ntp-server | sip-domain | sip-server |time-zone | vendor-spec); retransmission-attempt number; update-router-advertisement { interface interface-name; } update-server; } filter { group number; input filter-name; input-list [filter-name]; output filter-name; output-list [filter-name]; } mtu value; nd6-stale-time seconds; no-neighbor-learn; policer { input input-name; output output-name; } rpf-check { fail-filter filter-name; mode { loose; } } sampling { input; output; } unnumbered-address { interface-name; preferred-source-address preferred-source-address; } ndp-proxy | dad-proxy { interface-restricted } }
层次结构级别
[edit interfaces interface unit unit ]
描述
将 IPV6 地址分配给逻辑接口。
选项
ipaddress- 指定接口的 IP 地址。其余陈述详见其他陈述。
注意:
您可以使用 family inet6
分配 IPv6 地址。您可以使用 family inet
来分配 IPv4 地址。接口可以同时配置 IPv4 和 IPv6 地址。
所需权限级别
interface
- 要在配置中查看此语句。
interface-control
- 将此语句添加到配置中。
发布信息
语句在 Junos 10.2 for SRX 系列防火墙中受支持。