C
HAPTER
39
| DHCP Commands
DHCP for IPv6
– 958 –
specified interface will include the rapid commit option in all solicit
messages.
EXAMPLE
Console(config)#ipv6 dhcp client rapid-commit vlan 2
Console(config)#
ipv6 dhcp restart
client vlan
This command submits a DHCPv6 client request.
SYNTAX
ipv6 dhcp restart client vlan vlan-id
vlan-id - VLAN ID, specified as a single number, a range of
consecutive numbers separated by a hyphen, or multiple numbers
separated by commas. (Range: 1-4093)
DEFAULT SETTING
None
COMMAND MODE
Privileged Exec
COMMAND USAGE
◆ This command starts the DHCPv6 client process if it is not yet running
by submitting requests for configuration information through the
specified interface(s). When DHCPv6 is restarted, the switch may
attempt to acquire an IP address prefix through stateful address auto-
configuration. If the router advertisements have the “other stateful
configuration” flag set, the switch may also attempt to acquire other
non-address configuration information (such as a default gateway or
DNS server) when DHCPv6 is restarted.
Prior to submitting a client request to a DHCPv6 server, the switch
should be configured with a link-local address using the ipv6 address
autoconfig command. The state of the Managed Address Configuration
flag (M flag) and Other Stateful Configuration flag (O flag) received in
Router Advertisement messages will determine the information this
switch should attempt to acquire from the DHCPv6 server as described
below.
■
Both M and O flags are set to 1:
DHCPv6 is used for both address and other configuration settings.
This combination is known as DHCPv6 stateful, in which a DHCPv6
server assigns stateful addresses to IPv6 hosts.
■
The M flag is set to 0, and the O flag is set to 1:
DHCPv6 is used only for other configuration settings.
Neighboring routers are configured to advertise non-link-local
address prefixes from which IPv6 hosts derive stateless addresses.