IP Addressing Commands
ip domain name
Cisco 220 Series Smart Plus Switches Command Line Interface Reference Guide Release 1.0.0.x
228
14
Example
switchxxxxxx(config)#
ip domain loopkup
ip domain name
To define a default domain name that the switch uses to complete unqualified host
names, use the ip domain name Global Configuration mode command.
To delete the static-defined default domain name, use the no form of this
command.
Syntax
ip domain name
hostname
no ip domain name
Parameters
•
hostname
—Default domain name used to complete unqualified host names.
Do not include the initial period that separates an unqualified name from the
domain name. Length: 1 to 255 characters. Maximum label length of each
domain level is 63 characters.
Default Configuration
No default domain name is defined.
Command Mode
Global Configuration mode
User Guidelines
Any IP hostname that does not contain a domain name (that is, any name without a
dot) will have the dot and the default domain name appended to it before being
added to the host table.
Domain names and hostnames are restricted to the ASCII letters A through Z
(case-insensitive), the digits 0 through 9, the underscore and the hyphen. A period
(.) is used to separate labels.