2.1.17. ipv6 dhcp

Syntax

ipv6 dhcp

no ipv6 dhcp

Parameter

Default

Default DHCPv6 client is disabled.

Mode

Global Configuration

Usage

Use ipv6 dhcp command to enabled dhcpv6 client to get IP address from remote DHCPv6 server. Use no ipv6 dhcp command to disabled dhcpv6 client and use static ipv6 address or ipv6 auto config address.

Example

This example shows how to enable dhcp client.

Switch(config)# ipv6 dhcp

This example shows how to show current dhcpv6 client state of the switch.

Switch# show ipv6 dhcp
DHCPv6 Status : enabled