Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
192
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
Use this command to enable the prefix delegation request through an interface. The interface being
configured will be in DHCP client mode. The prefix acquired from the server will be stored in the IPv6
general prefix pool represented by the general prefix name of the command, which will be in turn used in
configuration of IPv6 addresses. Only one general prefix name can be specified for DHCPv6 PD on an
interface. However, a general prefix name can be specified for DHCPv6 PD on multiple interfaces.
If the rapid commit keyword is specified for the command, the rapid commit option will be included in the
solicit message to request for the two-message exchange for prefix delegation.
When the client receives advertisement from multiple servers, the client will take the server with best
preference value. The client can accept multiple prefixes delegated from a server.
The DHCP for IPv6 client, server and relay functions are mutually exclusive on an interface.
Example
This example shows how to configure an IPv6 address based on the general prefix dhcp-prefix on VLAN
2 and enables DHCPv6 prefix delegation on VLAN 1 with “dhcp-prefix” as the general prefix name and
with the rapid commit option.
Switch# configure terminal
Switch(config)# interface vlan2
Switch(config-if)# ipv6 address dhcp-prefix 0:0:0:7272::72/64
Switch(config-if)# exit
Switch(config)# interface vlan1
Switch(config-if)# ipv6 dhcp client pd dhcp-prefix rapid-commit
Switch(config-if)#
18-3 show ipv6 dhcp
This command is used to display the DHCPv6 related settings on the interface.
show ipv6 dhcp [interface [INTERFACE-ID]]
Parameters
INTERFACE-ID
(Optional) Specifies the VLAN interface to display the DHCPv6 related
settings.
Default
None.
Command Mode
EXEC Mode or Any Configuration Mode.
Command Default Level
Level: 1.
Usage Guideline