switch# copy flash tftp 10.28.227.105 k0800.swi
where k0800.swi is the filename given to the flash image being copied.
Xmodem: Copying a software image from the switch to a serially connected
PC or UNIX workstation (CLI)
To use this method, the switch must be connected via the serial port to a PC or UNIX workstation.
Syntax:
copy flash xmodem {[<pc] | unix>}
Uses Xmodem to copy a designated configuration file from the switch to a PC or UNIX workstation.
Example:
To copy the primary flash image to a serially connected PC:
Procedure
1. Execute the following command:
switch# copy xmodem flash
Press 'Enter' and start XMODEM on your host...
2. After you see the above prompt, press [Enter].
3. Execute the terminal emulator commands to begin the file transfer.
Transferring switch configurations
Using the CLI commands described in the section beginning with TFTP: Copying a configuration file to a
remote host (CLI) on page 276, you can copy switch configurations to and from a switch, or copy a software
image to configure or replace an ACL in the switch configuration.
NOTE:
For greater security, you can perform all TFTP operations using SFTP, as described in the section
Using SCP and SFTP on page 265.
You can also use the include-credentials command to save passwords, secret keys, and other
security credentials in the running config file. For more information, see the section on "Saving
Security Credentials in a Config File" in the access security guide for your switch.
TFTP: Copying a configuration file to a remote host (CLI)
Syntax:
copy {<startup-config | running-config>} tftp < ip-addr > < remote-file > [pc | unix]
copy config <filename> tftp <ip-addr> <remote-file> [pc | unix]
This command can copy a designated config file in the switch to a TFTP server. For more information, see
"Multiple Configuration Files" in the basic operation guide for your switch.
Example:
276 Aruba 2530 Management and Configuration Guide for
ArubaOS-Switch 16.05