dns-server

Syntax

dns-server没有dns-server

描述

Defines up to four DNS servers for the current DHCPv6 server pool.

The没有form of this command removes the specified DNS servers from the pool.

Command context

config-dhcpv6-server-pool

Parameters

Specifies the IP addresses of the DNS servers in IPv6 format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), wherexis a hexadecimal number from 0 to F. Separate addresses with a space. A maximum of four IP addresses can be defined.

权威

Administrators or local user group members with execution rights for this command.

Example

Defines DNS server2001::13for the server poolprimary-poolon VRFprimary.

switch(config)#dhcpv6-server vrf primaryswitch(config-dhcpv6-server)#pool primary-poolswitch(config-dhcpv6-server-pool)#dns-server 2001::13

Deletes DNS server2001::13from the server poolprimary-poolon VRFprimary.

switch(config)#dhcpv6-server vrf primaryswitch(config-dhcpv6-server)#pool primary-poolswitch(config-dhcpv6-server-pool)#没有dns服务器2001:13