Cisco Systems 4908G-L3, 2948G-L3 Steps 2 through 5. If there is enough space, proceed to Step

Page 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

 

 

Image 14
Contents Configurations for the Layer 3 Switch Router Starting Up the Layer 3 Switch RouterModem Support Using the Console and the Management PortsModem Support for Recovering a System Image Configuring the Management Port PasswordsRouter# copy running-config Router# configure terminalPassword password Startup-configViewing the Contents of Bootflash Memory Configuring the HostnameUsing the Bootflash Memory Simm Router# delete cat2948g-in-mz.old Deleting Files from Bootflash MemoryBacking Up a System Image to a Tftp Server Router# copy bootflash tftp Router# dir bootflashRouter# copy bootflash tftp Router# copy tftp bootflash Erasing Files from a Full Bootflash Memory SimmRouter# copy tftp bootflash Router# dir bootflash Source filename ? domino/cat2948g-in-mz.120-7.W5.14.46Recovering a System Image Using Xmodem and Ymodem Example of Xmodem Transfer Using the ROM Monitor Mode Xmodem -c -y -sXmodem -y -s57600 N yesUpdating the System Image Steps 2 through 5. If there is enough space, proceed to Step Router# copy systemrunning-config Reloading the Layer 3 Switch RouterRouterconfig# config-register Nvramstartup-configRouter show version Rommon 1 dir bootflashRommon 2 boot bootflash filename