Users Guide

Table Of Contents
Copy running configuration to local directory or remote server
OS10# copy running-configuration {config://filepath | home://filepath |
ftp://userid:passwd@hostip/filepath | scp://userid:passwd@hostip/filepath |
sftp://userid:passwd@hostip/filepath | tftp://hostip/filepath}
OS10# copy running-configuration scp://root:calvin@10.11.63.120/tmp/qaz.txt
Copy file to running configuration
To apply a set of commands to the current running configuration and execute them immediately, copy a text file from a remote
server or local directory. The copied commands do not replace the existing commands. If the copy command fails, any
commands that were successfully copied before the failure occurred are maintained.
OS10# copy {config://filepath | home://filepath |
ftp://userid:passwd@hostip/filepath | scp://userid:passwd@hostip/filepath |
sftp://userid:passwd@hostip/filepath | tftp://hostip/filepath | http://userid@hostip/
filepath}
running-configuration
OS10# copy scp://root:calvin@10.11.63.120/tmp/qaz.txt running-configuration
Copy running configuration to startup configuration
To display the configured settings in the current OS10 session, use the show running-configuration. To save new
configuration settings across system reboots, copy the running configuration to the startup configuration file.
OS10# copy running-configuration startup-configuration
Restore startup configuration
The startup configuration file, startup.xml, is stored in the config system folder. To create a backup version, copy the
startup configuration to a remote server or the local config: or home: directories.
To restore a backup configuration, copy a local or remote file to the startup configuration and reload the switch. After
downloading a backup configuration, enter the reload command, otherwise the configuration does not take effect until you
reboot.
NOTE:
A non-default switch-port profile is not automatically restored. If the downloaded startup configuration you want to
restore contains a non-default switch-port profile, you must manually configure and save the profile on the switch, and then
reload the switch for the profile settings to take effect. If the backup startup file contains the default switch-port profile,
you can simply copy the startup configuration file from the server and reload the switch.
Copy file to startup configuration
OS10# copy {config://filepath | home://filepath |
ftp://userid:passwd@hostip/filepath | scp://userid:passwd@hostip/filepath |
sftp://userid:passwd@hostip/filepath | tftp://hostip/filepath} config://startup.xml
Back up startup file
OS10# copy config://startup.xml config://backup-9-28.xml
Restore startup file from backup
OS10# copy config://backup-9-28.xml config://startup.xml
OS10# reload
System configuration has been modified. Save? [yes/no]:no
Back up startup file to server
OS10# copy config://startup.xml scp://userid:password@hostip/backup-9-28.xml
62
CLI Basics