set dhcp pool dns-server

Mode

Switch command, read‐write.

Example

This example removes the default router from the address pool “auto1.”

C3(rw)->clear dhcp pool auto1 default-router

set dhcp pool dns-server

Use this command to specify one or more DNS servers for the DHCP clients served by the address pool being configured. Up to 8 DNS servers can be configured.

Syntax

set dhcp pool poolname dns-serveraddress [address2 ... address8]

Parameters

poolname

Specifies the name of the address pool. Pool names may be up to 31

 

characters in length.

 

 

address

Specifies the IP address of a DNS server.

 

 

address2 ... address8

(Optional) Specifies, in order of preference, up to 7 additional DNS

 

server addresses.

 

 

Defaults

None.

Mode

Switch command, read‐write.

Example

This example assigns a DNS server at 10.14.10.1 to the address pool “‘auto1.”

C3(rw)->set dhcp pool auto1 dns-server 10.14.10.1

clear dhcp pool dns-server

Use this command to remove the DNS server list from the address pool being configured.

Syntax

clear dhcp pool poolname dns-server

Parameters

poolname

Specifies the name of the address pool. Pool names may be up to 31

 

characters in length.

 

 

Defaults

None.

16-24 DHCP Server Configuration

Page 504
Image 504
Enterasys Networks 9034313-07 manual Set dhcp pool dns-server, Clear dhcp pool dns-server