File Transfers

Downloading Switch Software

 

authorized_keys

 

\---oper_keys

 

 

authorized_keys

\---core

(this directory is not available on the 8212zl)

mm1.cor

management module or management function

im_a.cor

interface module (chassis switches only)

im_b.cor

interface module (chassis switches only)

im_1.cor

interface module (chassis switches only)

port_1-24.cor

core-dump for ports 1-24 (stackable switches only)

port_25-48.cor

core-dump for ports 25-48 (stackable switches only)

When using SFTP to copy a software image onto the switch, the command return takes only a few seconds. However, this does not mean that the transfer is complete, because the switch requires additional time (typi­ cally more than one minute) to write the image to flash in the background. To verify the file transfer has been completed, you can use the show flash command or look for a confirmation message in the log as in the following example:

I 01/09/09 16:17:07 00150 update: Primary Image updated.

Once you have configured your switch to enable secure file transfers with SCP and SFTP, files can be copied to or from the switch in a secure (encrypted) environment and TFTP is no longer necessary.

 

Troubleshooting SSH, SFTP, and SCP Operations

 

You can verify secure file transfer operations by checking the switch’s event

 

log, or by viewing the error messages sent by the switch that most SCP and

 

SFTP clients will print out on their console.

 

 

N o t e

Messages that are sent by the switch to the client depend on the client software

 

in use to display them on the user console.

 

Broken SSH Connection. If an ssh connection is broken at the wrong

 

 

moment (for instance, the link goes away or spanning tree brings down the

 

link), a fatal exception would occur on the switch. If this happens, the switch

 

will gracefully exit the session and produce an event log message indicating

 

the cause of failure. The following three examples show the error messages

 

that may appear in the log depending on the type of session that is running

 

(SSH, SCP, or SFTP).
A-18