domain-name

Syntax

domain-name  <DOMAIN-NAME>

no domain-name  <DOMAIN-NAME>

Description

Defines a domain name for the current DHCPv4 server pool.

The no form of this command removes the specified domain name from the pool.

Command context

config-dhcp-server-pool

Parameters

<DOMAIN-NAME>

Specifies a domain name. Range: 1 to 255 printable ASCII characters.

Authority

Administrators

Example

Defines a domain name for the server pool primary-pool on VRF primary.

switch(config)# dhcp-server vrf primary
switch(config-dhcp-server)# pool primary-pool
switch(config-dhcp-server-pool)# domain-name example.org.in

Deletes a domain name from the server pool primary-pool on VRF primary.

switch(config)# dhcp-server vrf primary
switch(config-dhcp-server)# pool primary-pool
switch(config-dhcp-server-pool)# no domain-name example.org.in