Users Guide

Table Of Contents
policy-map type application policy-iscsi
!
class-map type application class-iscsi
Prevent conguration changes
You can prevent conguration changes made on the switch in sessions other than the current CLI session using the lock command. To
prevent and allow conguration changes in other sessions, use the lock and unlock commands in EXEC mode.
When you enter the lock command, users in other active CLI sessions cannot make conguration changes. When you close the CLI
session in which you entered the lock command, conguration changes are automatically allowed in all other sessions.
OS10# lock
OS10# unlock
Copy running conguration
The running conguration contains the current OS10 system conguration and consists of a series of OS10 commands. Copy the running
conguration to a remote server or local directory as a backup or for viewing and editing. The running conguration is copied as a text le
that you can view and edit with a text editor.
Copy running conguration 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 le to running conguration
To apply a set of commands to the current running conguration and execute them immediately, copy a text le 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 conguration to startup conguration
To display the congured settings in the current OS10 session, use the show running-configuration. To save new conguration
settings across system reboots, copy the running conguration to the startup conguration le.
OS10# copy running-configuration startup-configuration
Restore startup conguration
The startup conguration le, startup.xml, is stored in the config system folder. To create a backup version, copy the startup
conguration to a remote server or the local
config: or home: directories.
To restore a backup conguration, copy a local or remote le to the startup conguration and reload the switch. After downloading a
backup conguration, enter the reload command, otherwise the conguration does not take eect until you reboot.
58
CLI Basics