3-8
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 3 Configuring the Switch for the First Time
Configuring the Switch
DNS Server Configuration
The DNS server maps the TFTP server name
maritsu
to IP address 10.0.0.3.
TFTP Server Configuration (on UNIX)
The TFTP server base directory is set to /tftpserver/work/. This directory contains the network-confg file
used in the two-file read method. This file contains the host name that you plan to assign to the switch
based on its IP address. The base directory also contains a configuration file for each switch
(
switch1-confg
,
switch2-confg
, and so forth) as shown in the following display:
prompt>
cd /tftpserver/work/
prompt>
ls
network-confg
switch1-confg
switch2-confg
switch3-confg
switch4-confg
prompt>
cat network-confg
ip host switch1 10.0.0.21
ip host switch2 10.0.0.22
ip host switch3 10.0.0.23
ip host switch4 10.0.0.24
DHCP Client Configuration
No configuration file is present on Switch 1 through Switch 4.
Configuration Explanation
In
, Switch 1 reads its configuration file as follows:
•
Switch 1 obtains its IP address 10.0.0.21 from the DHCP server.
•
If no configuration filename is given in the DHCP server reply, Switch 1 reads the network-confg
file from the base directory of the TFTP server.
•
Switch 1 adds the contents of the network-confg file to its host table.
•
Switch 1 reads its host table by indexing its IP address 10.0.0.21 to its host name (switch1).
•
Switch 1 reads the configuration file that corresponds to its host name; for example, it reads
switch1-confg
from the TFTP server.
Switches 2 through 4 retrieve their configuration files and IP addresses in the same way.
Configuring the Switch
The following sections describe how to configure your switch:
•
Using Configuration Mode to Configure Your Switch, page 3-9
•
Verifying the Running Configuration Settings, page 3-9
•
Saving the Running Configuration Settings to Your Start-Up File, page 3-10
•
Reviewing the Configuration in NVRAM, page 3-10
•
Configuring a Default Gateway, page 3-11
•
Содержание Catalyst 4500 Series
Страница 2: ......
Страница 4: ......
Страница 2086: ...Index IN 46 Software Configuration Guide Release IOS XE 3 9 0E and IOS 15 2 5 E ...