Cisco Catalyst 2960 Software Configuration Manual page 132

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

Configuring a System Name and Prompt
To keep track of domain names, IP has defined the concept of a domain name server, which holds a cache
(or database) of names mapped to IP addresses. To map domain names to IP addresses, you must first
identify the hostnames, specify the name server that is present on your network, and enable the DNS.
These sections contain this configuration information:
Default DNS Configuration
Table 5-1
Table 5-1
Feature
DNS enable state
DNS default domain name
DNS servers
Setting Up DNS
Beginning in privileged EXEC mode, follow these steps to set up your switch to use the DNS:
Command
Step 1
configure terminal
Step 2
ip domain-name name
Step 3
ip name-server server-address1
[server-address2 ...
server-address6]
Step 4
ip domain-lookup
Catalyst 2960 and 2960-S Switches Software Configuration Guide, Release 15.0(1)SE
5-10
Default DNS Configuration, page 5-10
Setting Up DNS, page 5-10
Displaying the DNS Configuration, page 5-11
shows the default DNS configuration.
Default DNS Configuration
Purpose
Enter global configuration mode.
Define a default domain name that the software uses to complete unqualified
hostnames (names without a dotted-decimal domain name).
Do not include the initial period that separates an unqualified name from the
domain name.
At boot-up time, no domain name is configured; however, if the switch
configuration comes from a BOOTP or Dynamic Host Configuration Protocol
(DHCP) server, then the default domain name might be set by the BOOTP or
DHCP server (if the servers were configured with this information).
Specify the address of one or more name servers to use for name and address
resolution.
You can specify up to six name servers. Separate each server address with a
space. The first server specified is the primary server. The switch sends DNS
queries to the primary server first. If that query fails, the backup servers are
queried.
(Optional) Enable DNS-based hostname-to-address translation on your switch.
This feature is enabled by default.
If your network devices require connectivity with devices in networks for which
you do not control name assignment, you can dynamically assign device names
that uniquely identify your devices by using the global Internet naming scheme
(DNS).
Chapter 5
Default Setting
Enabled.
None configured.
No name server addresses are configured.
Administering the Switch
OL-26520-01

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2960-s

Table of Contents