Users Guide

Table Of Contents
Candidate conguration
When you use OS10 conguration commands in Transaction-based conguration mode, changes do not take eect immediately and are
stored in the candidate conguration. The conguration changes become active only after you commit the changes using the commit
command. Changes in the candidate conguration are validated and apply to the running conguration.
The candidate conguration allows you to avoid introducing errors during an OS10 conguration session. You can make changes and then
check them before committing them to the active, running conguration on the network device.
To check dierences between the running conguration and the candidate conguration, use the show diff candidate-
configuration running-configuration
command.
For example, before entering Transaction mode, you can check that no new conguration commands are entered. If the show command
does not return output, the candidate-configuration and running-configuration les are the same. Then start Transaction
mode, congure new settings, and view the dierences between the candidate and running congurations. Decide if you want to commit
the changes to the running conguration. To delete uncommitted changes, use the discard command.
View dierences between candidate and running congurations
OS10# show diff candidate-configuration running-configuration
OS10#
OS10# start transaction
OS10# configure terminal
OS10(config)# interface vlan 100
OS10(conf-if-vl-100)# exit
OS10(config)# interface ethernet 1/1/15
OS10(conf-if-eth1/1/15)# switchport mode trunk
OS10(conf-if-eth1/1/15)# switchport trunk allowed vlan 100
OS10(conf-if-eth1/1/15)# end
OS10# show diff candidate-configuration running-configuration
!
interface ethernet1/1/15
switchport mode trunk
switchport trunk allowed vlan 100
!
interface vlan100
no shutdown
OS10#
Commit conguration changes in candidate conguration in Transaction mode
1 Change to Transaction-based conguration mode from EXEC mode.
start transaction
2 Enter conguration commands. For example, enable an interface from INTERFACE mode.
interface ethernet 1/1/1
no shutdown
3 Save the conguration changes to the running conguration.
do commit
After you enter the commit command, the current OS10 session switches back to the default behavior of committing all
conguration changes automatically.
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
Compressed conguration views
56
CLI Basics