C613-50102-01 REV C
Command Reference for x510 Series
2285
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
DHCP
FOR
IP
V
6 (DHCP
V
6) C
OMMANDS
DNS
-
SERVER
(DHCP
V
6)
dns-server (DHCPv6)
Overview
Use this command to add a Domain Name System (DNS) server to the DHCPv6
address pool you are configuring. You can use this command multiple times to
create a list of DNS name servers available to the client. This sets the DNS server
details using the pre-defined option 6. Note that if you add a user-defined option
6 using the
command, then you will override any settings created
with this command.
Use the
no
variant of this command to remove either the specified DNS server or
all DNS servers from the DHCPv6 pool.
Syntax
dns-server <
ipv6-address
>
no dns-server [<
ipv6-address
>]
Mode
DHCPv6 Configuration
Examples
To add the DNS server with the assigned IPv6 address
2001:0db8:3000:3000::32
to the DHCPv6 server pool named
P2
, use the
following commands:
awplus#
configure terminal
awplus(config)#
ipv6 dhcp pool P2
awplus(dhcpv6-config)#
dns-server 2001:0db8:3000:3000::32
To remove the DNS server with the assigned IPv6 address
2001:0db8:3000:3000::32
from the DHCPv6 server pool named
P2
, use the
following commands:
awplus#
configure terminal
awplus(config)#
ipv6 dhcp pool P2
awplus(dhcpv6-config)#
no dns-server 2001:0db8:3000:3000::32
To remove all DNS servers from the DHCPv6 server pool named
P2
, use the
following commands:
awplus#
configure terminal
awplus(config)#
ipv6 dhcp pool P2
awplus(dhcpv6-config)#
no dns-server
Parameter
Description
<
ipv6-address
>
Specify an IPv6 address of the DNS server, in hexadecimal
notation in the format
X:X::X:X
. This parameter is required
when adding a DNS server to the DHCPv6 address pool. All
DNS servers are removed from the DHCPv6 pool if you enter
the no dns-server command without this parameter.