Introduction CFC Media (SD Card)
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
1-94
1.7.4.2 Transferring Files between a TFTP Server and an SD Card
The PUT FILE and GET FILE commands can be used to transfer (and rename) files between a TFTP server and
an SD card. The commands fails if there is insufficient space on the CFC flash file system or SD card for the
new file.
The following procedure shows the commands used to copy a file from a TFTP server to an SD card as well as
from an SD card to a TFTP server.
Verify that file was copied to flash and renamed
6
show file
-------------------------------------------------------------------------------
File.................................. Size KiB
-------------------------------------- ---------------------------------------
AllMsg-2.log.......................... 2
AllMsg.log............................ 3
D10-14_14.0.0.ALPHA.20091012.cfg...... 6
D10-14_14.0.0.ALPHA.20091021.cfg...... 6
D10-14_14.0.0.ALPHA.20091026.cfg...... 6
D10-14_14.0.0.ALPHA.20091102.cfg...... 6
D10-14_14.0.0.ALPHA.20091109.cfg...... 75
D10-14_14.0.0.ALPHA.20091118.cfg...... 68
D10-14_14.0.0.GAMMA.20091117.cfg...... 65
(output Omitted)
D104_14.2.0.GAMMA.20100609.cfg........ 58
D104_14.2.0.GAMMA.20100611.cfg........ 58
D104_14.2.0.GAMMA.20100615.cfg........ 59
D104_14.2.0.GAMMA.20100617.cfg........ 59
D104_14.2.0.GAMMA.20100622.cfg........ 61
D104_14.2.0.GAMMA.20100629.cfg........ 60
D104_14.2.0.GAMMA.20100629_john.cfg... 60
D104_14.2.0.GAMMA.20100629a.db........ 276
D104_14.2.0.GAMMA.20100709.cfg........ 61
D104_14.2.0.GAMMA.20100709b.cfg....... 61
D104_14.2.0.GAMMA.20100716.cfg........ 61
D104_today.cfg................... 59 <<Right here!!!!!
EcoMode.cfg........................... 5
EcoTest2.cfg.......................... 63
HvlanEpsrTc_Jan25.cfg................. 63
(output Omitted)
TABLE 1-14 Procedure - Transferring File between TFTP Server and SD Card
Step Command Description/Notes
Copy a file from SD card to a TFTP server
1
put file sd5:D104_14.1.0.cfg tftp server
10.52.65.42
Transfers file “D104_14.1.0.cfg“ from SD card
(SD5) to the TFTP server.
Copy a file from SD card to a TFTP server and change the filename
TABLE 1-13 Procedure - Transferring File between Flash and SD Card
Step Command Description/Notes