12
297
12.9 domain-name
To specify the domain name for a DHCP client, use the domain-name command in
DHCP Pool Network Configuration mode or in DHCP Pool Host Configuration
mode. To remove the domain name, use the no form of this command.
Syntax
domain
domain-name
no domain-name
Parameters
•
domain
—Specifies the DHCP client domain name string. (Length: 1–32
characters).
Command Mode
DHCP Pool Network Configuration mode
DHCP Pool Host Configuration mode
Default Configuration
No domain name is defined.
Example
The following example specifies yahoo.com as the DHCP client domain name
string.
switchxxxxxx(config-dhcp)#
12.10 ip dhcp excluded-address
To specify IP addresses that a DHCP server must not assign to DHCP clients, use
the ip dhcp excluded-address command in Global Configuration mode. To remove
the excluded IP addresses, use the no form of this command.
Syntax
ip dhcp excluded-address
domain-name
yahoo.com
low-address
high-address
[
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
DHCP Server Commands
]