Network Router User Manual
10-32
Cisco ONS 15530 Configuration Guide and Command Reference
78-14227-01, Cisco IOS Release 12.1(10)EV2
Chapter 10 Managing Your Cisco ONS 15530 System
Updating Functional Images
Example
The following example shows how to download a functional image from an FTP server:
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 ftp://myuser:mypass@theserver/tftpboot/fi-ons15530-escon.A.2-36.exo
disk0:fi-ons15530-escon.A.2-36.exo
Accessing ftp://theserver/tftpboot/ONS15530_RM.srec...Translating "theserver"...domain
server (192.168.2.132) [OK]
Loading ONS15530_RM.srec from 192.168.2.132 (via Ethernet3/0):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[OK - 623492/17912748 bytes]
623492 bytes copied
Step 4
Switch(config)# end
Switch#
(Optional) Exits configuration mode. This step is
required only if you override the default remote
username (see Step 2 and Step 3).
Step 5
Switch# show {bootflash: | disk0:} Verifies that space is available in Flash memory. If
space is available, continue to Step 8.
Step 6
Switch# delete {bootflash: | disk0:}filename (Optional) Deletes a file from Flash memory.
Step 7
Switch# squeeze bootflash: (Optional) Recovers the space in onboard Flash
memory.
Step 8
Switch# copy
ftp:[[[//[username[:password]@]location]/
directory]/filename] {bootflash: |
disk0:}[filename]
Copies the image from the FTP 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