Configuration File - ZyXEL Communications NWA3560-N User Manual

Nwa3000-n series wireless n business wlan 3000 series access point
Hide thumbs Also See for NWA3560-N:
Table of Contents

Advertisement

Chapter 17 File Manager
While configurat ion files and shell script s have t he sam e synt ax, t he device applies configurat ion
files different ly t han it runs shell script s. This is explained below.
Table 87 Configurat ion Files and Shell Script s in t he device
Configurat ion Files ( .conf )
Reset s t o default configurat ion.
Goes int o CLI Con figu r a t ion m ode.
Runs t he com m ands in t he configurat ion file.
You have t o run t he aforem ent ioned exam ple as a shell script because t he first com m and is run in
Pr ivile ge m ode. I f you rem ove t he first com m and, you have t o run t he exam ple as a configurat ion
file because t he rest of t he com m ands are execut ed in Con figu r a t ion m ode.
Comments in Configuration Files or Shell Scripts
I n a configurat ion file or shell script , use " # " or " !" as t he first charact er of a com m and line t o have
t he device t reat t he line as a com m ent .
Your configurat ion files or shell script s can use " exit " or a com m and line consist ing of a single " !" t o
have t he device exit sub com m and m ode.
Not e: " exit " or " ! '" m ust follow sub com m ands if it is t o m ake t he device exit sub
com m and m ode.
I n t he following exam ple lines 1 and 2 are com m ent s. Line 5 exit s sub com m and m ode.
! this is from Joe
# on 2010/12/05
wlan-ssid-profile default
ssid Joe-AP
qos wmm
security default
!
Errors in Configuration Files or Shell Scripts
When you apply a configurat ion file or run a shell script , t he device processes t he file line- by- line.
The device checks t he first line and applies t he line if no errors are det ect ed. Then it cont inues wit h
t he next line. I f t he device finds an error, it st ops applying t he configurat ion file or shell script and
generat es a log.
You can change t he way a configurat ion file or shell script is applied. I nclude setenv stop-on-
error off in t he configurat ion file or shell script . The device ignores any errors in t he configurat ion
file or shell script and applies all of t he valid com m ands. The device st ill generat es a log for any
errors.

17.2 Configuration File

Click M a int e na n ce > File M a n a ge r > Configu r a t ion File t o open t his screen. Use t he
Configur a t ion File screen t o st ore, run, and nam e configurat ion files. You can also download
220
Shell Script s ( .zysh)
Goes int o CLI Pr ivile ge m ode.
Runs t he com m ands in t he shell script .
NWA3000-N Series User's Guide

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nwa3160-n

Table of Contents