The copy function allows you to make a copy of an existing file before you alter or edit the file. By making a copy, you can easily go back to the original file if needed.
XML-formatted configuration files have a .cfg file extension. The switch runs only .cfg files. ASCII-formatted configuration files have an .xsf file extension. See Uploading ASCII-Formatted Configuration Files for more information. Policy files have a .pol file extension.
When you copy a configuration or policy file from the system, make sure you specify the appropriate file extension. For example, if you want to copy a policy file, specify the filename and .pol.
cp test.cfg test1.cfg Copy config test.cfg to config test1.cfg on switch? (y/n)
Note
If you make a copy of a file, such as a core dump file, you can easily compare new information with the old file if needed.