Reference v4.1.0 Instruction Manual
160 Network OS Command Reference
53-1003115-01
copy
2
usb://path A file on an attached USB device.
Defaults None
Command Modes Privileged EXEC mode
Description Use this command to copy a file to another location. You can use this command to back up and
restore configuration files with various protocols.
Usage Guidelines This command is supported only on the local switch.
IPv4 and IPv6 addresses are supported.
Examples To save the running configuration to a file:
switch# copy running-config flash://myconfig
To overwrite the startup configuration with a locally saved configuration file:
switch# copy flash://myconfig startup-config
This operation will modify your startup configuration. Do you want to continue?
[Y/N]: Y
To overwrite the startup configuration with a remotely archived configuration file:
switch# copy scp://user:password@10.10.10.10//myconfig startup-config
To overwrite the startup configuration with a configuration file saved on an attached USB device:
switch# copy usb://myconfig startup-config
See Also copy default-config startup-config, copy running-config startup-config, delete, dir, rename,
show file, show running-config, show startup-config