29.04.2019 Views

OS6860(E)_AOS_8.1.1.R01_Switch_Management_Guide

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Quick Steps for Applying Configuration Files<br />

Working With Configuration Files<br />

Quick Steps for Applying Configuration Files<br />

Setting a File for Immediate Application<br />

In this example, the configuration file configfile_1 exists on the switch in the /flash directory. When these<br />

steps are followed, the file will be immediately applied to the switch.<br />

1 Verify that there are no timer sessions pending on the switch.<br />

-> show configuration status<br />

File configuration: none scheduled<br />

Error file limit: 1<br />

2 Apply the file by executing the configuration apply command, followed by the path and file name. If<br />

the configuration file is accepted with no errors, the CLI responds with a system prompt.<br />

-> configuration apply /flash/configfile_1.txt<br />

3 (Optional). When the keyword verbose is specified in the command line, all syntax contained in the<br />

configuration file is printed to the console.<br />

-> configuration apply /flash/configfile_1.txt verbose<br />

4 To verify that the file was applied, enter the show configuration status command. The display is similar<br />

to the one shown here.<br />

-> show configuration status<br />

File configuration : completed with 0 errors<br />

Setting an Application Session for a Date and Time<br />

You can set a timed session to apply a configuration file at a specific date and time in the future. The<br />

following example applies the bncom_cfg.txt file at 9:00 a.m. on July 4 of the current year.<br />

1 Verify that there are no current timer sessions pending on the switch.<br />

-> show configuration status<br />

File configuration: none scheduled<br />

Error file limit: 1<br />

2 Apply the file by executing the configuration apply using the at keyword with the relevant date and<br />

time.<br />

-> configuration apply bncom_cfg.txt at 09:00 july 4<br />

3 To verify that the switch received this configuration apply request, enter the<br />

show configuration status command. The display is similar to the one shown here.<br />

-> show configuration status<br />

File configuration : scheduled at 07/04/10 09:00<br />

Error file limit: 1<br />

Running configuration and saved configuration are different<br />

page 5-4 Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!