beautypg.com

5 dns-server, 6 domain-name, 7 hardware-address – Accton Technology ES4626 User Manual

Page 324

background image

324

Function:

Configures default gateway(s) for DHCP clients; the “no default-router

command deletes the default gateway.

Parameters:

address1…address8 are IP addresses, in decimal format.

Default:

No default gateway is configured for DHCP clients by default.

Command Mode:

DHCP Address Pool Mode

Usage Guide:

The IP address of default gateway(s) should be in the same subnet as the

DHCP client IP, the switch supports up to 8 gateway addresses. The gateway address

assigned first has the highest priority, and therefore address1 has the highest priority, and

address2 has the second, and so on.

Example:

Configuring the default gateway for DHCP clients to be 10.1.128.2 and

10.1.128.100.

Switch(dhcp-1-config)#default-router 10.1.128.2 10.1.128.100

10.2.2.5 dns-server

Command: dns-server [[…]]

no dns-server

Function:

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

10.2.2.6 domain-name

Command:domain-name

no domain-name

Function:

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

command deletes the domain name.

Parameters:

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 “edgecore.com" as the DHCP clients’ domain name.

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

10.2.2.7 hardware-address

This manual is related to the following products: