To view DHCP client authentication or statistical information, enter the show dhcpv6 client
command with the appropriate option. To view information about a specific VLAN, enter the vlan
command with the VLAN name or identifier.
Syntax:
-
The DHCPv6 client must be stopped before setting the authentication mode or entering a key-chain name. Use the
no ipv6 address dhcp full
command to disable DHCPv6. Commands are executed in VLAN context. -
You must disable the DHCPv6 client before disabling DHCPv6 authentication.
-
You must create a key chain with an ID and a duration before configuring DHCPv6 client authentication with a key-chain name.
-
The DHCPv6 client and DHCPv4 Relay can be enabled on the same interface and operate at the same time.
To view the current IPv6 DHCPv6 settings per-VLAN, use show run
.
To view all currently configured IPv6 unicast addresses, use the following commands:
Syntax
Syntax
-
If multiple DHCPv6 servers are available, the switch selects a server based on the preference value sent in DHCPv6 messages from the servers.
-
The switch supports both DHCPv4 and DHCPv6 client operation on the same VLAN.
-
With IPv6 enabled, the switch determines the default IPv6 router for the VLAN from the RAs it receives. See Default IPv6 router.
-
DHCPv6 and statically configured global unicast addresses are mutually exclusive on a given VLAN. That is, configuring DHCPv6 on a VLAN erases any static global unicast addresses previously configured on that VLAN, and the reverse. (A statically configured link-local address is not affected by configuring DHCPv6 on the VLAN.)
-
For the same subnet on the switch, a DHCPv6 global unicast address assignment takes precedence over an autoconfigured address assignment, regardless of which address type was the first to be configured. If DHCPv6 is subsequently removed from the configuration, an autoconfigured address assignment replaces it after the next RA is received on the VLAN. DHCPv6 and autoconfigured addresses co-exist on the same VLAN if they belong to different subnets.
-
With IPv6 enabled, the switch determines the default IPv6 router for the VLAN from the RAs it receives. See View IPv6 gateway, route, and router neighbors.
-
If DHCPv6 is configured on a VLAN, configuring a static global unicast address on the VLAN removes DHCPv6 from the VLAN's configuration and deletes the DHCPv6-assigned global unicast address.
-
For a statically configured global unicast address to be routable, a gateway router must be transmitting RAs on the VLAN.
-
If an autoconfigured global unicast address already exists for the same subnet as a new, statically configured global unicast address, the statically configured address is denied. In the reverse case, you can add an autoconfig command to the VLAN configuration, but it is not implemented unless the static address is removed from the configuration.
-
RFC 3315: "Dynamic Host Configuration Protocol for IPv6 (DHCPv6)"
-
RFC 3633: "IPv6 Prefix Options for Dynamic Host Configuration Protocol (DHCP) version 6"
-
RFC 3736: "Stateless Dynamic Host Configuration Protocol (DHCP) Service for IPv6"