File System Boot Parameters - Cisco Catalyst 2000 Configuration Handbook

Catalyst series lan switching
Table of Contents

Advertisement

40 Cisco LAN Switching Configuration Handbook
This command copies a file into the current running configuration. The source or
device can be any location that contains a text file that has configuration parameters
framed in the appropriate syntax. When files are copied into the running configura-
tion, they are merged with the current configuration. That is, if a configuration
parameter (such as an address) exists in both places, such as the running configura-
tion and the source configuration, the running configuration will be changed by the
parameter that is copied from the source location. If the configuration parameter
exists only in the source location, it is added to the running configuration. In the
case that a parameter exists in the running configuration, but is not modified in the
source configuration, there is no change to the running configuration. The source
location can be a file in any location, including a file on a TFTP server, FTP server, or
a text file that has been written to Flash memory.
Save a file to a TFTP server:
3.
(privileged) copy source tftp://address/filename
This command enables you to save any readable file from an IFS source location to a
TFTP server specified in the address of the destination parameter. If you do not sup-
ply a filename and address, the system prompts for this information.
Save a file to Flash memory:
4.
(privileged) copy source flash-filesystem://path/filename
You can copy a file into any Flash file system of a router with the copy commands.
Some writeable file systems, such as a Class A file system, enable you to create and
write to directories and files. This copy command enables you to move files into a
Flash file system. Files that are moved into Flash are usually IOS files; however, you
can use Flash to store any file if you have room to place the file. If fact, after a file has
been placed into Flash memory, the router can be configured as a TFTP server and can
then serve that file to other devices. Refer to the related commands portion of section
"1-1: Cisco Internetwork Operating System (IOS) Software," in Chapter 1, "CLI
Usage," for more information about configuring your router to act as a TFTP server.

File System Boot Parameters

Specify an OS image to boot from in a Flash file system:
1.
(global) boot system flash flash-filesystem:/directory/filename
By default, switches boot the first valid image in the default Flash location. If you
have more than one file in Flash memory and you do not want to boot the first file,
you must specify which file is to be used as the IOS image.
Change the configuration file environmental parameter for Class A file systems:
2.
(global) boot config device:directory/filename
For a Class A file system, you can copy configuration files to the Flash file system.
You can also specify that some switches need to load a configuration from Flash
instead of the startup configuration file located in NVRAM. To do this, you must

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents