Domain-name – Enterasys Networks X-Pedition XSR CLI User Manual

Page 599

Advertising
background image

DHCP Commands

XSR CLI Reference Guide 15-89

Example

The following example specifies 11.12.1.99 as the IP address of the DNS server of a client in the 
subnet:

XSR(config-dhcp-pool)#dns-server 11.12.1.99

The following example specifies 11.12.1.99 as the IP address of the DNS server of the host with the 
MAC address 1111.2222.3333:

XSR(config-dhcp-pool)#hardware-address 1111.2222.3333
XSR(config-dhcp-host)#dns-server 11.12.1.99

The following example specifies 11.12.1.99 as the IP address of the DNS server of a client in the 
client‐class engineering:

XSR(config-dhcp-pool)#client-class engineering
XSR(config-dhcp-class)#dns-server 11.12.1.99

domain-name

This command specifies the domain name for DHCP client services by the DHCP server. 
Depending on the client configuration inheritance, the command should be used from the proper 
mode. If it is specified from multiple modes, an override mechanism chooses the innermost config 
value, with host as innermost, then client‐class and pool as the most general.

Syntax

domain-name domain

Syntax of the “no” Form

Use the no form of this command to remove the domain name:

no domain-name

Mode

Any of the following command modes are available:

DHCP pool configuration: 

XSR(config-dhcp-pool)#

DHCP host configuration: 

XSR(config-dhcp-host)#

DHCP client class configuration: 

XSR(config-dhcp-class)#

Examples

The following example specifies enterasys.com as the domain name of a client in the subnet:

XSR(config-dhcp-pool)#domain-name enterasys.com

The following example specifies enterasys.com as the domain name of the host with the MAC 
address 0011.a121.1fa2:

XSR(config-dhcp-pool)#hardware-address 0011.a121.1fa2
XSR(config-dhcp-host)#domain-name enterasys.com

domain

Domain name string of the client.

Advertising