18 lifetime, 19 network-address, Lifetime – PLANET XGS3-24040 User Manual
Page 341: Network, Address
25-54
25.18 lifetime
Command:
lifetime {
no lifetime
Function:
To configure the life time for the addresses or the address prefixes allocated by DHCPv6. The no
form of this command will restore the default setting.
Parameters:
<valid-time> and <preferred-time> are the valid life time and preferred life time respectively for
the allocated IPv6 addresses in the local address pool. Its value is allowed to be between 1 and
31536000 in seconds, and <preferred-time> should never be bigger than
infinity parameter designates the maximum life time.
Command Mode:
DHCPv6 Address Pool Configuration Mode.
Default:
The default valid life time and preferred life time are 2592000 seconds (30 days) and 604800
seconds (7 days) respectively.
Example:
To configure the valid life time as 1000 seconds, and the preferred life time as 600 seconds.
Switch(config)#lifetime 1000 600
25.19 network-address
Command:
network-address <ipv6-pool-start-address> {<ipv6-pool-end-address> | <prefix-length>}
[eui-64]
no network-address
Function:
To configure the DHCPv6 address pool; the no form of this command will remove the address pool
configuration.
Parameters:
<ipv6-pool-start-adderss> is the start of the address pool;
64 by default, the size of the pool will be determined by <prefix-length> if it has been specified.
<ipv6-pool-end-address> and <prefix-length> alternative options to determine the size of the
IPv6 address pool. If <prefix-length> is 64 and the eui-64 option has been configured, the
DHCPv6 server will allocate IPv6 addresses according to the EUI-64 standard, or the DHCPv6
server will be allocating addresses sequentially.
Default:
No address pool is configured by default.
Command Mode:
DHCPv6 Address Pool Configuration Mode.