Users Guide

Prevent conguration changes
You can prevent conguration changes on sessions other than the current CLI session using the lock command. Use the lock and
unlock commands in EXEC mode to respectively prevent and allow conguration changes on other sessions. When you enter the lock
command on a CLI session, users cannot make conguration changes across any other active CLI sessions. When you close the CLI session
on which you entered the lock command, conguration changes are automatically allowed on all other sessions.
Lock conguration changes
OS10# lock
Unlock conguration changes
OS10# unlock
Change to transaction-based conguration
To change to transaction-based conguration mode for a session, enter the start transaction command
1 Change to transaction-based conguration in EXEC mode.
start transaction
2 Enable, for example, an interface from INTERFACE mode.
interface ethernet 1/1/1/
no shutdown
3 Save the conguration.
do commit
NOTE
: After you enter the do commit command, the current session switches back to the default behavior of committing
all conguration changes automatically.
Save conguration changes manually
OS10# start transaction
OS10# configure terminal
OS10(config)#
OS10(config)# interface ethernet 1/1/1
OS10(config-if-eth1/1/1)# no shutdown
OS10(config-if-eth1/1/1)# do commit
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,
which you can view and edit with a text editor. To copy the running conguration to the startup conguration le, enter the copy
running-configuration startup-configuration command.
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
38
Getting Started