Reference Guide

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