257
Predefined user roles
network-admin
Parameters
start-ipv6-address: Specifies the start IPv6 address.
end-ipv6-address: Specifies the end IPv6 address.
preferred-lifetime preferred-lifetime: Specifies the preferred lifetime. The value range is 60 to
4294967295 seconds, and the default is 604800 seconds (7 days).
valid-lifetime valid-lifetime: Specifies the valid lifetime. The value range is 60 to 4294967295
seconds, and the default is 2592000 seconds (30 days). The valid lifetime cannot be shorter than the
preferred lifetime.
Usage guidelines
If you do not execute the temporary address range command, the DHCPv6 server does not
support temporary address assignment.
You can configure only one temporary IPv6 address range in an address pool. If you use the
command multiple times, the most recent configuration takes effect.
Examples
# In DHCPv6 address pool 1, configure a temporary IPv6 address range from 3ffe:501:ffff:100::50 to
3ffe:501:ffff:100::60.
<Sysname> system-view
[Sysname] ipv6 dhcp pool 1
[Sysname-dhcp6-pool-1] network 3ffe:501:ffff:100::/64
[Sysname-dhcp6-pool-1] temporary address range 3ffe:501:ffff:100::50
3ffe:501:ffff:100::60
Related commands
display ipv6 dhcp pool
address range
network
DHCPv6 relay agent commands
The term "interface" in this section collectively refers to VLAN interfaces and Layer 3 Ethernet
interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route
command (see Layer 2—LAN Switching Configuration Guide).
display ipv6 dhcp relay server-address
Use display ipv6 dhcp relay server-address to display DHCPv6 server addresses specified on the
DHCPv6 relay agent.
Syntax
display ipv6 dhcp relay server-address [ interface interface-type interface-number ]
Views
Any view
Predefined user roles
network-admin