Cisco WS-C6506 Software Manual page 826

Catalyst 6500 series switch
Hide thumbs Also See for WS-C6506:
Table of Contents

Advertisement

Working with the Configuration Files on the Switch
Configuring the Switch Using a File on a TFTP Server
To configure the switch using a configuration file that is downloaded from a TFTP server, perform these
steps:
Copy the configuration file to the appropriate TFTP directory on the workstation.
Step 1
Log into the switch through the console port or a Telnet session.
Step 2
Configure the switch using the configuration file that is downloaded from the TFTP server with the copy
Step 3
tftp config command. Specify the IP address or host name of the TFTP server and the name of the file
to download.
The configuration file downloads and the commands are executed as the file is parsed line by line.
This example shows how to configure the switch using a configuration file that is downloaded from a
TFTP server:
Console> (enable) copy tftp config
IP address or name of remote host []? 172.20.52.3
Name of file to copy from []? dns-config.cfg
Configure using tftp: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)
Configuring the Switch Using a File on a Flash Device
To configure a switch using a configuration file that is stored on a flash device in the flash file system,
perform 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
"Working With the Flash File
Step 3
Configure the switch using the configuration file that is stored on the flash device with the copy file-id
config command.
The commands are executed as the file is parsed line by line.
Catalyst 6500 Series Switch Software Configuration Guide—Release 8.7
28-4
(134 bytes)
System").
Chapter 28
Working with Configuration Files
Chapter 26,
OL-8978-04

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 6506Catalyst 6509Catalyst 6513

Table of Contents