Setting Up Dns - Cisco Catalyst 9400 System Management Configuration Manual

Cisco ios xe bengaluru 17.4.x
Hide thumbs Also See for Catalyst 9400:
Table of Contents

Advertisement

Setting Up DNS

Step 2
Step 3
Step 4
Step 5
Step 6
Setting Up DNS
If you use the device IP address as its hostname, the IP address is used and no DNS query occurs. If you
configure a hostname that contains no periods (.), a period followed by the default domain name is appended
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 command in global configuration mode. 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.
Follow these steps to set up your switch to use the DNS:
System Management Configuration Guide, Cisco IOS XE Bengaluru 17.4.x (Catalyst 9400 Switches)
22
Command or Action
configure terminal
Example:
Device# configure terminal
hostname name
Example:
Device(config)# hostname
remote-users
end
Example:
remote-users(config)#end
remote-users#
show running-config
Example:
Device# show running-config
copy running-config startup-config
Example:
Device# copy running-config
startup-config
Administering the Device
Purpose
Enters global configuration mode.
Configures a system name. When you set the
system name, it is also used as the system
prompt.
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 have as interior
characters only letters, digits, and hyphens.
Names can be up to 63 characters.
Returns to priviliged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the
configuration file.

Advertisement

Table of Contents
loading

Table of Contents