mac

Commands for DHCPv6
328
function, DHCPv6 prefix delegation function. All of the above services are configured on
ports. Only when DHCPv6 server function is enabled, the IP address assignment of
DHCPv6 client, DHCPv6 relay and DHCPv6 prefix delegation functions enabled can be
configured on ports.
Example: To enable DHCPv6 server.
Switch(config)#service dhcpv6
27.24 show ipv6 dhcp
Command: show ipv6 dhcp
Function: To show the enable switch and DUID of DHCPv6 service.
Command Mode: Admin and Configuration Mode.
Usage Guide: To show the enable switch and DUID of DHCPv6 service, server identifier
options only use DUID of DUID-LLT type.
Example:
Switch#show ipv6 dhcp
DHCPv6 is enabled
LLT DUID is <00:01:00:01:43:b7:1b:81:00:03:0f:01:5f:9d>
LL DUID is <00:03:00:01:00:03:0f:01:5f:9d>
27.25 show ipv6 dhcp binding
Command: show ipv6 dhcp binding [<ipv6-address>| pd
<ipv6-prefix|prefix-length>|count]
Function: To show all the address and prefix binding information of DHCPv6.
Parameter: <ipv6-address> is the specified IPv6 address; count show the number of
DHCPv6 address bindings.
Command Mode: Admin and Configuration Mode.
Usage Guide: To show all the address and prefix binding information of DHCPv6,
include type, DUID, IAID, prefix, valid time and so on.
Example:
Switch#show ipv6 dhcp binding
Client: iatype IANA, iaid 0x0e001d92
DUID: 00:01:00:01:0f:55:82:4f:00:19:e0:3f:d1:83
IANA leased address: 2001:da8::10
Preferred lifetime 604800 seconds, valid lifetime 2592000 seconds
Lease obtained at %Jan 01 01:34:44 1970