Reference Guide

copy
Copies the current running conguration to the startup conguration and transfers les between an OS10 switch and a remote device.
Syntax
copy [running-configuration startup-configuration | config://filepath |
coredump://filepath | ftp://filepath | home://filepath | scp://filepath |
sftp://filepath | supportbundle://filepath | tftp://filepath | usb://filepath]
Parameters
running-configuration startup-configuration — (Optional) Copy the current running
conguration le to the startup conguration le.
config://filepath — (Optional) Copy from conguration directory.
coredump://filepath — (Optional) Copy from the coredump directory.
ftp://userid:passwd@hostip/filepath — (Optional) Copy from a remote FTP server.
home://username/filepath — (Optional) Copy from the home directory.
scp://userid:passwd@hostip/filepath — (Optional) Copy from a remote SCP server.
sftp://userid:passwd@hostip/filepath — (Optional) Copy from a remote SFTP server.
supportbundle://filepath — (Optional) Copy from the support-bundle directory.
tftp://hostip/filepath — (Optional) Copy from a remote TFTP server.
usb:filepath — (Optional) Copy from an USB le system.
Default Not congured
Command Mode EXEC
Usage Information Use this command to save running conguration to the startup conguration, transfer coredump les to a remote
location, back up the startup conguration, retrieve a previously backed-up conguration, replace the startup
conguration le, or transfer support bundles.
Example
OS10# dir coredump
Directory contents for folder: coredump
Date (modified) Size (bytes) Name
--------------------- ------------ ------------------------------------------
2017-02-15T19:05:41Z 12402278 core.netconfd-pro.
2017-02-15_19-05-09.gz
OS10# copy coredump://core.netconfd-pro.2017-02-15_19-05-09.gz scp://
os10user:os10passwd@10.11.222.1:/home/os10/core.netconfd-pro.2017-02
-15_19-05-09.gz
Example (copy
startup
conguration)
OS10# dir config
Directory contents for folder: config
Date (modified) Size (bytes) Name
--------------------- ------------ ------------------------------------------
2017-02-15T20:38:12Z 54525
startup.xml
OS10# copy config://startup.xml scp://os10user:os10passwd@10.11.222.1:/home/
os10/backup.xml
Example (retrieve
backed-up
conguration)
OS10# copy scp://os10user:os10passwd@10.11.222.1:/home/os10/backup.xml home://
config.xml
OS10(conf-if-eth1/1/5)# dir home
Directory contents for folder: home
44 Getting Started