C613-50170-01 Rev B
Command Reference for x510 Series
2511
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
DHCP
FOR
IP
V
6 (DHCP
V
6) C
OMMANDS
IPV
6
ADDRESS
DHCP
ipv6 address dhcp
Overview
Use this command to activate the DHCPv6 client on the interface that you are
configuring. This allows the interface to use the DHCPv6 client to obtain its IPv6
configuration details from a DHCPv6 server on its connected network.
The command also enables IPv6 on the interface, which creates an EUI-64 link-local
address as well as enabling RA processing and SLAAC.
Use the
no
variant of this command to stop the interface from obtaining IPv6
configuration details from a DHCPv6 server.
The DHCPv6 client supports the following IP configuration options:
•
Option 1 - the subnet mask for your device.
•
Option 3 - a list of default routers.
•
Option 6 - a list of DNS servers. This list appends the DNS servers set on your
device with the
•
Option 15 - a domain name used to resolve host names. This option replaces
any domain name that you have set with the
command.
•
Option 51 - lease expiration time.
Syntax
ipv6 address dhcp [default-route-to-server]
no ipv6 address dhcp
Usage
Use the
default-route-to-server
option to allow the automatic configuration of a
default route to the DHCPv6 server. Note that this option is not enabled by default
when you enable the DHCP client on an interface.
Examples
To set the interface vlan10 to use DHCPv6 to obtain an IPv6 address, use the
commands:
awplus#
configure terminal
awplus(config)#
interface vlan10
awplus(config-if)#
ipv6 enable
awplus(config-if)#
ipv6 address dhcp
To stop the interface vlan10 from using DHCPv6 to obtain its IPv6 address, use the
commands:
awplus#
configure terminal
awplus(config)#
interface vlan10
awplus(config-if)#
no ipv6 address dhcp