Cisco Systems 4908G-L3 3-14, Command, Purpose, Router# dir bootflash, Router# copy tftp bootflash

Models: 2948G-L3 4908G-L3

1 16
Download 16 pages 53.16 Kb
Page 14
Image 14
3-14

Chapter 3 Configurations for the Layer 3 Switch Router

Updating the System Image

To copy both the known good system image and the new system image from a TFTP server to the file system on your Layer 3 switch router, initiate a Telnet session or console connection to the Layer 3 switch router, perform the following task in privileged EXEC mode:

 

Command

Purpose

Step 1

 

 

Router# dir bootflash:

Display the contents and available space in bootflash memory. If

 

 

there is not enough free space to copy the new system image, do

 

 

Steps 2 through 5. If there is enough space, proceed to Step 4.

Step 2

 

 

Router# copy tftp: bootflash:

Erase bootflash memory and copy a file from a TFTP server to

 

 

bootflash memory. Make sure you copy the known good system

 

 

image file.

Step 3

 

 

Router# dir bootflash:

Display the contents of bootflash memory. This step confirms that

 

 

space was available in bootflash memory and the known good

 

 

image file was copied as expected. You can then proceed to

 

 

download the latest image.

Step 4

 

 

Router# copy tftp: bootflash:

Initiate a TFTP session to copy the new system image from the

 

 

TFTP server.

Step 5

 

 

Router# dir bootflash:

Display the contents of bootflash memory again, to confirm that

 

 

the latest image file was copied as expected.

 

 

 

The following example shows how to erase a full bootflash memory file system, copy a known good image, and copy the latest image using TFTP:

Router# copy tftp bootflash:

Address or name of remote host []? 172.10.00.00

Source filename []? domino/cat2948g-in-mz.120-7.W5.14.45 Destination filename [cat2948g-in-mz.120-7.W5.14.45]? %Warning:There is a file already existing with this name Do you want to over write? [confirm] yes

Accessing tftp://172.10.00.00/domino/cat2948g-in-mz.120-7.W5.14.45...

Erase bootflash: before copying? [confirm] yes

Erasing the bootflash filesystem will remove all files! Continue? [confirm] yes Erasing device... eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee ee ...erased

Erase of bootflash: complete

Loading domino/cat2948g-in-mz.120-7.W5.14.45 from 172.10.00.00 (via FastEthernet 1):

!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

!!!!!!!!.!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.!!!!!!!!!!!!!!!!

!!!!!

[OK - 3173128/6345728 bytes] Verifying checksum... OK (0x799F)

3173128 bytes copied in 177.668 secs (17927 bytes/sec) Router# dir bootflash:

Directory of bootflash:/

1 -rw-

3173128

<no date> cat2948g-in-mz.120-7.W5.14.45

16777216 bytes total (13604024 bytes free) Router# copy tftp: bootflash:

Address or name of remote host [172.10.00.00]?

Catalyst 2948G-L3 and Catalyst 4908G-L3 Switch Router Software Feature and Configuration Guide

3-14

78-10408-03

 

 

Page 14
Image 14
Cisco Systems 4908G-L3, 2948G-L3 manual 3-14, Command, Purpose, Router# dir bootflash, Router# copy tftp bootflash