11 domain-name, 12 hardware-address, 11 domain-name -25 – PLANET XGS3-24042 User Manual

Page 386: 12 hardware-address -25

Advertising
background image


26-25

Configure DNS servers for DHCP clients; the “no dns-server” command deletes the default

gateway.

Parameters:

<address1>…<address8> are IP addresses, in decimal format.

Default:

No DNS server is configured for DHCP clients by default.

Command Mode:

DHCP Address Pool Mode

Usage Guide:

Up to 8 DNS server addresses can be configured. The DNS server address assigned first has the

highest priority, therefore address 1 has the highest priority, and address 2 has the second, and so

on.

Example:

Set 10.1.128.3 as the DNS server address for DHCP clients.

Switch(dhcp-1-config)#dns-server 10.1.128.3

26.1.11 domain-name

Command:

domain-name <domain>

no domain-name

Function:

Configures the Domain name for DHCP clients; the “no domain-name” command deletes the

domain name.

Parameters:

<domain> is the domain name, up to 255 characters are allowed.

Command Mode:

DHCP Address Pool Mode

Usage Guide:

Specifies a domain name for the client.

Example:

Specifying “digitalchina.com.cn" as the DHCP clients’ domain name.

Switch(dhcp-1-config)#domain-name digitalchina.com.cn

26.1.12 hardware-address

Advertising
This manual is related to the following products: