copy
2-40 Basic Configuration
Parameters
Defaults
Ifappendisnotspecified,thecurrentrunningconfigurationwillbereplacedwiththecontentsof
theconfigurationfile,whichwillrequireanautomatedresetofthechassis.
Mode
Switchcommand,read‐write.
Example
Thisexampleshowshowtoexecutethe“Jan1_2004.cfg”configurationfile:
D2(su)->configure configs/Jan1_2004.cfg
copy
UsethiscommandtouploadordownloadanimageoraCLIconfigurationfile.
Syntax
copy source destination
Parameters
Defaults
None.
Mode
Switchcommand,read‐write.
Examples
ThisexampleshowshowtodownloadanimageviaTFTP:
D2(su)->copy tftp://10.1.192.34/version01000 system:image
Thisexampleshowshowtodownloadaconfigurationfiletotheconfigsdirectory:
D2(su)->copy tftp://10.1.192.1/Jan1_2004.cfg configs/Jan1_2004.cfg
filename Specifiesthepathandfilenameoftheconfigurationfiletoexecute.
append (Optional)Appendstheconfigurationfilecontentstothecurrent
configuration.Thisisequivalenttotypingthecontentsoftheconfigfile
directlyintotheCLIandcanbeused,forexample,tomakeincremental
adjustmentstothecurrent
configuration.
source Specifieslocationandnameofthesourcefiletocopy.Optionsarealocalfile
pathintheconfigsdirectory,ortheURLofaTFTPserver.
destination Specifieslocationandnameofthedestinationwherethefilewillbecopied.
Optionsareaslotlocationandfilename,orthe
URLofaTFTPserver.