Setting Up Dns - Cisco Catalyst 9500 Manual

Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

Administering the Device
Command or Action
Device# configure terminal
Step 3
hostname name
Example:
Device(config)# hostname
remote-users
Step 4
end
Example:
remote-users(config)#end
remote-users#
Step 5
show running-config
Example:
Device# show running-config
Step 6
copy running-config startup-config
Example:
Device# copy running-config startup-config

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 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.
Follow these steps to set up your switch to use the DNS:
SUMMARY STEPS
1. enable
2. configure terminal
3. ip domain-name name
4. ip name-server server-address1 [server-address2 ... server-address6]
5. ip domain-lookup [nsap | source-interface interface]
6. end
7. show running-config
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
Purpose
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.
Setting Up DNS
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents