10-31
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter10 Managing Your Cisco ONS 155 30 System
Updating Functional Images
Example
The following example shows how to download a functional image from a TFTP server and update the
functional image on the active CPU switch module:
Switch# show disk0:
-#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name
1 .. image 1BD2EA73 2A7B24 26 2652836 Feb 11 2002 18:07:41 ons15530-i-mz
2 .. config 36DC62E3 2AAC54 14 12461 Feb 11 2002 18:10:34 running-config
17912748 bytes available (2665556 bytes used)
Switch# copy tftp: disk0:
Address or name of remote host []? 10.0.0.1
Source filename []? fi-ons15530-escon.A.2-36.exo
Destination filename [fi-ons15530-escon.A.2-36.exo]? y
Loading tftpboot/ fi-ons15530-escon.A.2-36.exo from 10.0.0.1 (via Ethernet3/0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 5779602/17912748 bytes]
5779602 bytes copied
Copying a Module Functional Image from an FTP Server to Flash Memory
To download a module functional image from an FTP server, perform the following steps
:
Step3 Switch# squeeze bootflash: (Optional) Recovers the space in onboard Flash
memory.
Step4 Switch# copy tftp:[[[//location]/directory]/filename]
{bootflash: | disk0:}[filename]Copies the image from the TFTP server to the
Flash memory device.
Reply to any CLI prompts for additional
information or confirmation. The prompting
depends on how much information you provide
in the copy command.
Note Wait until after the download finishes
before attempting any commands on the
switch. Confirm that the image
download is done in binary mode and
check file sizes before and after
download.
Command Purpose
Command Purpose
Step1 Switch# configure terminal
Switch(config)#
(Optional) Enters configuration mode from the
terminal. This step is required only if you override
the default remote username (see Step 2 and
Step 3). Otherwise, continue to Step 5.
Step2 Switch(config)# ip ftp username username (Optional) Changes the default remote username.
Step3 Switch(config)# ip ftp password password (Optional) Changes the default password.