mac
Commands for DHCPv6
325
the associated “prefix delegation” command will be in-effective either.
27.19 lifetime
Command: lifetime {<valid-time> | infinity} {<preferred-time> | infinity}
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 <valid-time>. The 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
27.20 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;
<ipv6-pool-end-address> is the end of the address pool; <prefix-length> is the length
of the address prefix, which is allowed to be between 3 and 128, and 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.










