Specifications
copy
35
mc {
<File name> | <Directory name>} ramdisk {<File name> | <Directory name>}
Copies a file or directory on the memory card to the RAMDISK.
ramdisk <File name> startup-config
Copies a file on the RAMDISK to the startup configuration file.
A directory on the RAMDISK cannot be specified.
ramdisk {<File name> | <Directory name>} mc {<File name> | <Directory name>}
Copies a file or directory on the RAMDISK to the memory card.
ramdisk {<File name> | <Directory name>} ramdisk {<File name> | <Directory name>}
Copies a file or directory on the RAMDISK to the RAMDISK.
auto-log mc {<File name> | <Directory name>}
Copies the auto-log information to the memory card.
auto-log ramdisk {<File name> | <Directory name>}
Copies the auto-log information to the RAMDISK
Example
Copy the running configuration to the startup configuration file. (If the copy
destination is the startup configuration file, a confirmation message is displayed.)
# copy running-config startup-config
Do you wish to copy from running-config to startup-config? (y/n): y
Copy a file on the RAMDISK to the startup configuration file. (If the copy destination
is the startup configuration file, a confirmation message is displayed.)
# copy ramdisk config1.txt startup-config
Do you wish to copy from RAMDISK to startup-config? (y/n): y
Display items
None
Impact on communication
If a file on the RAMDISK is copied to the startup configuration file, you must restart the
device to apply the file to the running configuration. Restart the device by executing the
reload operation command, or by turning it off and then on again.
Response messages
Table 4-2 List of response messages for the copy command
Message Description
Can't execute. The command could not be executed. Re-execute the command.
The possible causes are as follows:
- The file name is incorrect.
- The file was not found.
- The memory card might be damaged.
- The file system might be damaged.