Specifications

4-20
System Management Software Configuration Guide for Cisco IE 2000U and Connected Grid Switches
Chapter 4 Administering the Switch
Configuring DNS
The name must follow the rules for ARPANET hostnames. They must start with a letter, end with a
letter or digit, and contain only letters, digits, and hyphens. Names must be 63 characters or fewer.
Creating an all numeric hostname is not recommended but the name will be accepted after an error
is returned.
A hostname of less than 10 characters is recommended.
On most systems, a field of 30 characters is used for the hostname and the prompt in the CLI. Note
that the length of your hostname may cause longer configuration mode prompts to be truncated.
DETAILED STEPS
To return to the default hostname, use the no hostname global configuration command.
EXAMPLE
Switch(config)# hostname ie2000u-1
Configuring DNS
If you use the switch IP address as its hostname, no DNS query occurs. If you configure a hostname that
contains no periods (.), the system appends a period followed by the default domain name to the
hostname before the DNS query is made to map the name to an IP address. The default domain name is
the value set by the ip domain-name global configuration command. If there is a period (.) in the
hostname, the Cisco IOS software looks up the IP address without appending any default domain name
to the hostname.
BEFORE YOU BEGIN
Obtain the DNS server IP address(es).
Command Purpose
Step 1
configure terminal Enter global configuration mode.
Step 2
hostname name Manually configure a system name.
The default setting is switch.
The name must follow the rules for ARPANET hostnames. They
must start with a letter, end with a letter or digit, and contain only
letters, digits, and hyphens. Names can be up to 63 characters.
Step 3
end Return to privileged EXEC mode.
Step 4
show running-config Verify your entries.
Step 5
copy running-config
startup-config
(Optional) Save your entries in the configuration file.