To copy a file from one device in a stack to another device in the same stack, use the flash-X: notation, where X is the device number.
To view all devicees in a stack, use the show switch command in privileged EXEC mode, as in the following example of a 9-member device stack:
Device# show switch
Switch/Stack Mac Address : 0006.f6b9.b580 - Local Mac Address Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
------------------------------------------------------------
*1 Active 0006.f6b9.b580 15 P3B Ready
2 Standby 0006.f6ba.0c80 14 P3B Ready
3 Member 0006.f6ba.3300 7 P3B Ready
4 Member 0006.f6b9.df80 6 P3B Ready
5 Member 0006.f6ba.3880 13 P1A Ready
6 Member 1ce6.c7b6.ef00 4 PP Ready
7 Member 2037.06ce.2580 3 P2A Ready
8 Member 2037.0653.7e00 2 P5A Ready
9 Member 2037.0653.9280 1 P5B Ready
To view all file systems available to copy on a specific device, use the copy command as in the following example of a 5-member stack:
Device# copy flash: ?
crashinfo-1: Copy to crashinfo-1: file system
crashinfo-2: Copy to crashinfo-2: file system
crashinfo-3: Copy to crashinfo-3: file system
crashinfo-4: Copy to crashinfo-4: file system
crashinfo-5: Copy to crashinfo-5: file system
crashinfo: Copy to crashinfo: file system
flash-1: Copy to flash-1: file system
flash-2: Copy to flash-2: file system
flash-3: Copy to flash-3: file system
flash-4: Copy to flash-4: file system
flash-5: Copy to flash-5: file system
flash: Copy to flash: file system
ftp: Copy to ftp: file system
http: Copy to http: file system
https: Copy to https: file system
null: Copy to null: file system
nvram: Copy to nvram: file system
rcp: Copy to rcp: file system
revrcsf: Copy to revrcsf: file system
running-config Update (merge with) current system configuration
scp: Copy to scp: file system
startup-config Copy to startup configuration
stby-crashinfo: Copy to stby-crashinfo: file system
stby-flash: Copy to stby-flash: file system
stby-nvram: Copy to stby-nvram: file system
stby-rcsf: Copy to stby-rcsf: file system
stby-usbflash0: Copy to stby-usbflash0: file system
syslog: Copy to syslog: file system
system: Copy to system: file system
tftp: Copy to tftp: file system
tmpsys: Copy to tmpsys: file system
usbflash0-1: Copy to usbflash0-1: file system
usbflash0-2: Copy to usbflash0-2: file system
usbflash0-3: Copy to usbflash0-3: file system
usbflash0-4: Copy to usbflash0-4: file system
usbflash0-5: Copy to usbflash0-5: file system
usbflash0: Copy to usbflash0: file system
Device#
This example shows how to copy a config file stored in the flash partition of device 2 to the flash partition of device 4. It assumes that device 2 and device 4 are in the same stack.
Device# copy flash-2:config.txt flash-4:config.txt