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.

Managing Automatic Remote Configuration Download<br />

Download Component Files<br />

Script File<br />

The script file is downloaded and stored with the same name in the /flash/working directory. The script<br />

file contains the commands to be implemented on the switch after running the configuration file.<br />

If a configuration file is not available, the script file can be used to configure the switch dynamically<br />

without a vcboot.cfg file.<br />

Script File Example<br />

vlan 100 enable name "VLAN 100"<br />

vlan 100 members port 1/1/1 untagged<br />

write memory<br />

Script File Usage <strong>Guide</strong>lines<br />

• After the script file is downloaded the switch does not automatically reboot.<br />

• If a write memory command is used in the script file, then it overwrites the vcboot.cfg file. Hence, the<br />

script file must not contain the write memory command if it is downloaded along with the<br />

configuration file.<br />

• If any script file command fails, it is logged in to a file *.err (* is the script file name) in the /flash<br />

directory and the remaining commands are implemented.<br />

• If the script file name mentioned in the instruction file is incorrect, then an error is logged in the switch<br />

log or swlog.log file.<br />

Omni<strong>Switch</strong> <strong>AOS</strong> Release 8 <strong>Switch</strong> <strong>Management</strong> <strong>Guide</strong> May 2014 page 12-15

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

Saved successfully!

Ooh no, something went wrong!