Cisco Systems 4840G appendix Backing Up a System Image to a Tftp Server

Page 9

Chapter 3 Configuring the Catalyst 4840G Processor

Using Flash PC Cards

Step 6

Step 7

Command

Purpose

 

 

SLB-Switch#copy system:running-config

Save the configuration to NVRAM.

nvram:startup-config

 

 

 

SLB-Switch# reload

Reboot the system.

 

 

When you enter boot commands, be careful not to insert extra spaces because they affect the way the SLB switch interprets the command. For example, notice the difference in the following commands.

The following command correctly instructs the SLB switch to boot the image1 file:

SLB-Switch(config)#boot system flash slot0:image1

The following command incorrectly contains a space between “slot0:” and “image2.” The SLB switch finds the filename field blank and boots the first file on the Flash PC card.

SLB-Switch(config)#boot system flash slot0: image2

Backing Up a System Image to a TFTP Server

To create a backup copy of your system image, or to verify that the copy in Flash memory is the same as the original file on disk, you can copy system images from Flash memory to a Trivial File Transfer Protocol (TFTP) server.

In some implementations of TFTP, you must create a dummy file on the TFTP server and give it read, write, and execute permissions before copying the file over it. Refer to your TFTP documentation for more information.

Before you copy software between the network server and Flash memory in the SLB switch, perform these tasks:

Make sure you have access to the network server, and obtain its IP address and name.

Verify that the server has sufficient room to accommodate the Cisco IOS software image.

Check the filename requirements and file space on the network server.

To create a backup of the system software on a TFTP server, perform this task:

 

Command

Purpose

 

 

 

Step 1

SLB-Switch# cd filesystem:

Change the Flash device to the slot that holds the Flash PC

 

 

card.

 

 

 

Step 2

SLB-Switch#show flash all

Display the contents of Flash memory, including the names

 

 

of the images that currently reside there.

 

 

Note the name of the image file you want to copy.

 

 

 

Step 3

SLB-Switch#copy flash tftp:

Copy a file from Flash memory to a TFTP server. Be sure to

 

 

include a colon at the end of the tftp keyword, as shown in

 

 

this example.

 

 

 

The following example demonstrates copying a specified system image file from the current flash device to the default TFTP server:

SLB-Switch#copy flash tftp:

Source filename []? cat4840G-in-mz.X.bin

Address or name of remote host [172.8.1.129]? y

Destination filename [cat4840G-in-mz.X.bin]? y

Catalyst 4840G Software Feature and Configuration Guide

 

78-10416-02

3-9

 

 

 

Image 9
Contents You can now begin configuring the SLB switch Before Starting Up the Catalyst 4840GYou see the following user Exec prompt Using the Console Port or a Management Port Connecting a ModemUsing Passwords Configuring the Management Port Enabling Fast Ethernet Client Displaying the Operating ConfigurationUsing Flash PC Cards Configuring a Host NameCopy the file startup-config to the Flash PC Copying the Startup Configuration File to the Flash PC CardFormatting a Flash PC Card Card in the specified locationDeleting Files from Flash Memory Viewing the Contents of Flash MemoryBooting from a Flash PC Card Backing Up a System Image to a Tftp Server SLB-Switch#copy tftp flash Verify that you are in the right directoryCopy a file from a Tftp server to Flash memory