Reference 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
Back up or restore conguration
The running conguration contains the current system conguration which you can copy to and from a server for backup and restore
purposes. You can also copy the running conguration locally to and from the home: and cong: directories on the switch.
The startup conguration le is maintained in the cong system folder and is called system.xml. When you make changes to conguration
les, use the reload command to reboot OS10 with the updated conguration.
Copy the running conguration to the startup conguration
OS10# copy running-configuration startup-configuration
View /cong directory
OS10# dir config
Directory contents for folder: config
Getting Started
35