ipv6 dhcp

This topic explains the commands that enable or disable the DHCPv6 client.

Syntax

CODE
ipv6 dhcp
no ipv6 dhcp

Parameter

None.

Default

The DHCPv6 client is disabled.

Mode

Global Configuration

Usage

Use the ipv6 dhcp command to enable the DHCPv6 client to let the switch receive an IP address from a DHCPv6 server.

Use the no ipv6 dhcp command to disable the DHCPv6 client so that you can set a static IPv6 address or IPv6 autoconfiguration address for the switch.

Example

This example shows how to enable the DHCPv6 client:

CODE
Switch(config)# ipv6 dhcp