Users Guide
Prevent conguration changes
You can prevent conguration 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 conguration changes on other sessions. When you enter the lock
command on a CLI session, users cannot make conguration changes across any other active CLI sessions. When you close the CLI session
on which you entered the lock command, conguration changes are automatically allowed on all other sessions.
Lock conguration changes
OS10# lock
Unlock conguration changes
OS10# unlock
Change to transaction-based conguration
To change to transaction-based conguration mode for a session, enter the start transaction command
1 Change to transaction-based conguration in EXEC mode.
start transaction
2 Enable, for example, an interface from INTERFACE mode.
interface ethernet 1/1/1/
no shutdown
3 Save the conguration.
do commit
NOTE
: After you enter the do commit command, the current session switches back to the default behavior of committing
all conguration changes automatically.
Save conguration 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 conguration
The running conguration contains the current OS10 system conguration and consists of a series of OS10 commands. Copy the running
conguration to a remote server or local directory as a backup or for viewing and editing. The running conguration is copied as a text le,
which you can view and edit with a text editor. To copy the running conguration to the startup conguration le, enter the copy
running-configuration startup-configuration command.
Copy running conguration 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 conguration
38
Getting Started