A

File Transfers

Contents

Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A-3

Downloading Switch Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-3 General Software Download Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-4 Using TFTP To Download Software from a Server . . . . . . . . . . . . . . A-4 Menu: TFTP Download from a Server to Primary Flash . . . . . . . A-5 CLI: TFTP Download from a Server to Flash . . . . . . . . . . . . . . . . A-7 Enabling TFTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-9 Using Auto-TFTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .A-10 Using Secure Copy and SFTP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-11 How It Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-12 The SCP/SFTP Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-12 Disable TFTP and Auto-TFTP for Enhanced Security . . . . . . . A-13 Command Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-14 Authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-15 SCP/SFTP Operating Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-15 Troubleshooting SSH, SFTP, and SCP Operations . . . . . . . . . . A-17

Using Xmodem to Download Switch Software From a PC or UNIX

Workstation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-19

Menu: Xmodem Download to Primary Flash . . . . . . . . . . . . . . . A-19CLI: Xmodem Download from a PC or UNIX Workstation to

Primary or Secondary Flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-20

Using USB to Transfer Files to and from the Switch . . . . . . . . . . . . A-21Using USB to Download Switch Software . . . . . . . . . . . . . . . . . A-22

Switch-to-Switch Download . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A-23

Menu: Switch-to-Switch Download to Primary Flash . . . . . . . . A-24

CLI: Switch-To-Switch Downloads . . . . . . . . . . . . . . . . . . . . . . . A-25

Using PCM+ to Update Switch Software . . . . . . . . . . . . . . . . . . . . . . A-26

Copying Software Images . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

A-27

A-1