11: Using the Command Line Interface 
_______________________________________________________________________________________________________ 
_____________________________________________________________________________________________________ 
© Virtual Access 2017 
GW1000 Series User Manual 
Issue: 1.9    Page 76 of 350 
-n         name unnamed sections on export (default) 
-N         don't name unnamed sections 
-p <path>  add a search path for config change files 
-P <path>  add a search path for config change files and use as default 
-q         quiet mode (don't print error messages) 
-s         force strict mode (stop on parser errors, default) 
 
-S         disable strict mode 
-X         do not use extended syntax on 'show' 
 
The table below describes commands for the UCI command line and some further 
examples of how to use this utility. 
Writes changes of the given configuration file, 
or if none is given, all configuration files, to 
the filesystem. All "uci set", "uci add", "uci 
rename" and "uci delete" commands are 
staged into a temporary location and written to 
flash at once with "uci commit". This is not 
needed after editing configuration files with a 
text editor, but for scripts, GUIs and other 
programs working directly with UCI files. 
Exports the configuration in a UCI syntax and 
does validation. 
Imports configuration files in UCI syntax. 
Lists staged changes to the given configuration 
file or if none given, all configuration files. 
Adds an anonymous section of type section-
type to the given configuration. 
<config>.<section>.<option>=<string> 
Adds the given string to an existing list option. 
[<config>[.<section>[.<option>]]] 
Shows the given option, section or 
configuration in compressed notation. 
<config>.<section>[.<option>] 
Gets the value of the given option or the type 
of the given section. 
<config>.<section>[.<option>]=<value> 
Sets the value of the given option, or add a 
new section with the type set to the given 
value. 
<config>[.<section[.<option>]] 
Deletes the given section or option. 
<config>.<section>[.<option>]=<name> 
Renames the given option or section to the 
given name. 
<config>[.<section>[.<option>]] 
Deletes staged changes to the given option, 
section or configuration file. 
Table 18: Common commands, target and their descriptions 
Note: all operations do not act directly on the configuration files. A commit command is 
required after you have finished your configuration.  
root@VA_router:~# uci commit