User guide

Quick Steps for Applying Configuration Files Working With Configuration Files
page 5-4 OmniSwitch AOS Release 8 Switch Management Guide May 2014
Quick Steps for Applying Configuration Files
Setting a File for Immediate Application
In this example, the configuration file configfile_1 exists on the switch in the /flash directory. When these
steps are followed, the file will be immediately applied to the switch.
1 Verify that there are no timer sessions pending on the switch.
-> show configuration status
File configuration: none scheduled
Error file limit: 1
2 Apply the file by executing the configuration apply command, followed by the path and file name. If
the configuration file is accepted with no errors, the CLI responds with a system prompt.
-> configuration apply /flash/configfile_1.txt
3 (Optional). When the keyword verbose is specified in the command line, all syntax contained in the
configuration file is printed to the console.
-> configuration apply /flash/configfile_1.txt verbose
4 To verify that the file was applied, enter the show configuration status command. The display is simi-
lar to the one shown here.
-> show configuration status
File configuration </flash/configfile_1.txt>: completed with 0 errors
Setting an Application Session for a Date and Time
You can set a timed session to apply a configuration file at a specific date and time in the future. The
following example applies the bncom_cfg.txt file at 9:00 a.m. on July 4 of the current year.
1 Verify that there are no current timer sessions pending on the switch.
-> show configuration status
File configuration: none scheduled
Error file limit: 1
2 Apply the file by executing the configuration apply using the at keyword with the relevant date and
time.
-> configuration apply bncom_cfg.txt at 09:00 july 4
3 To verify that the switch received this configuration apply request, enter the
show configuration status command. The display is similar to the one shown here.
-> show configuration status
File configuration <bncom_cfg.txt>: scheduled at 07/04/10 09:00
Error file limit: 1
Running configuration and saved configuration are different