ipv6 address dhcp full

Enabling the DHCPv6 option on a VLAN enables the switch to obtain a global unicast address. It also enables the switch to obtain additional information such as an NTP server address or a DNS server address that can be used by the switch.

Syntax

ipv6 address dhcp full [ rapid-commit ]

no ipv6 address dhcp full [ rapid-commit ]

Description

Configures DHCPv6 on a VLAN, which initiates transmission of DHCPv6 requests for service. If IPv6 is not already enabled on the VLAN by the ipv6 enable command, this option enables IPv6 and causes the switch to autoconfigure a link-local unicast address with an EUI-64 interface identifier.

If no other IPv6-enabling command is configured on the VLAN, the no form of the command removes the DHCPv6 option from the configuration and disables IPv6 on the VLAN. See Commands to disable IPv6 on a VLAN.

Options

[ rapid-commit ]

Expedites DHCP configuration by using a two-message exchange with the server (solicit-reply) instead of the default four-message exchange (solicit-advertise-request-reply).

Usage

A DHCPv6-assigned address can be configured on a VLAN when the following is true:
  • The assigned address is not on the same subnet as a previously configured autoconfig address.

  • The maximum IPv6 address limit on the VLAN or the switch has not been reached.

If the switch is an IPv6 host, ipv6 address dhcp full must be configured on the DHCPv6 client to obtain relevant information from the DHCPv6 server. M-bit and O-bit settings in RAs from a router are not used by the switch in host mode. If the switch is operating as an IPv6 router, it includes M-bit and O-bit values in the RAs it transmits.

Default: Disabled

NOTE:

A DHCPv6 server does not assign link-local addresses, and enabling DHCPv6 on a VLAN does not affect a pre-existing link-local address.