Copying Configuration Files Using Tftp; Downloading Configuration Files From A Tftp Server; Preparing To Download A Configuration File Using Tftp; Configuring The Switch Using A File On A Tftp Server - Cisco WS-C4003 - Catalyst 4000 Chassis Switch Software Configuration Manual

Software guide
Table of Contents

Advertisement

Chapter 31
Working with Configuration Files
To configure switch using a configuration file stored on a Flash device in the Flash file system, follow
these steps:
Log into the switch through the console port or a Telnet session.
Step 1
Locate the configuration file using the cd and dir commands (for more information, see
Step 2
"Using the Flash File
Configure the switch using the configuration file stored on the Flash device using the copy file-id config
Step 3
command.
The commands are executed as the file is parsed line-by-line.
This example shows how to configure the switch using a configuration file stored on a Flash device:
Console> (enable) copy bootflash:dns-config.cfg config
Configure using bootflash:dns-config.cfg (y/n) [n]? y
Finished network download.
>>
>> set ip dns server 172.16.10.70 primary
172.16.10.70 added to DNS server table as primary server.
>> set ip dns server 172.16.10.140
172.16.10.140 added to DNS server table as backup server.
>> set ip dns enable
DNS is enabled
>> set ip dns domain corp.com
Default DNS domain name set to corp.com
Console> (enable)
Console> (enable)

Copying Configuration Files Using TFTP

You can configure the switch using configuration files you create or download from another switch. In
addition, you can store configuration files on Flash devices on hardware that supports the Flash file
system, configure the switch using a configuration stored on a Flash device, or upload the configuration
to a TFTP server.
These sections describe how to configure the switch using configuration files downloaded from a TFTP
server or stored on a Flash device, and how to upload a configuration file to a TFTP server:

Downloading Configuration Files from a TFTP Server

These sections describe how to download a configuration file on a TFTP server to the running
configuration or to a Flash device:
78-12647-02
System").
Downloading Configuration Files from a TFTP Server, page 31-3
Uploading Configuration Files to a TFTP Server, page 31-5
Preparing to Download a Configuration File Using TFTP, page 31-4
Configuring the Switch Using a File on a TFTP Server, page 31-4
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
(134 bytes)
Copying Configuration Files Using TFTP
Chapter 30,
31-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 4000 seriesCatalyst 2948gCatalyst 2980g

Table of Contents