Specifications

20-6 File Management Commands
Usage
Thefilenameandfile:filenameURLsareequivalent.YoucanuseeitherURLtorefertoafileina
RoamAboutswitch’snonvolatilememory.Thetftp://ipaddr/filenameURLreferstoafileonaTFT P
server.IfDNSisconfiguredontheRoamAboutswitch,youcanspecifyaTFTPservers
hostname
asanalternativetospecifyingtheIPaddress.
Thetmp:filenameURLspecifiesafileintemporarystorage.Youcancopyafileoutoftemporary
storagebutyoucannotcopyafileintotemporarystorage.Temporarystorageisreservedforuse
byMSS.
Ifyouarecopyingasystem
imagefileintononvolatilestorage,thefilenamemustbeprecededby
thebootpartitionname,whichcanbeboot0orboot1.Enterthefilenameasboot0:/filenameor
boot1:/filename.Youmustspecifythebootpartitionthatwasnotusedtoloadthecurrentlyrunning
image.
The maximum supported file size for TFTP is 32 MB.
Examples
ThefollowingcommandcopiesafilecalledfloorrbtfromnonvolatilestoragetoaTFTPserver:
RBT-8100# copy floorrbt tftp://10.1.1.1/floorrbt
success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]
ThefollowingcommandcopiesafilecalledclosetrbtfromaTFTPservertononvolatilestorage:
RBT-8100# copy tftp://10.1.1.1/closetrbt closetrbt
success: received 637 bytes in 0.253 seconds [ 2517 bytes/sec]
ThefollowingcommandcopiessystemimageRBT020101.020fromaTFTPservertobootpartition
1innonvolatilestorage:
RBT-8100# copy tftp://10.1.1.107/RBT020101.020 boot1:RBT020101.020
................................................................................
............................success: received 9163214 bytes in 105.939 seconds [
86495 bytes/sec]
Thefollowingcommandsrenametestconfigtonewconfigbycopyingitfromonenametotheother
inthesamelocation,thendeletingtest config :
RBT-8100# copy test-config new-config
RBT-8100# delete test-config
success: file deleted.
Thefo llowingcommandcopiesfilecorpalogin.htmlfromaTFTPserverintosubdirectorycorpaina
RoamAboutswitch’snonvolatilestorage:
RBT-8100# copy tftp://10.1.1.1/corpa-login.html corpa/corpa-login.html
success: received 637 bytes in 0.253 seconds [ 2517 bytes/sec]
Related Commands
deleteonpage 207
dironpage 20 8