In a configuration file or shell script, use “#” or “!” as the first character of a command line to have the NWA/WAC treat the line as a comment. Runs the commands in the configuration file.Ĭomments in Configuration Files or Shell Scripts.Configuration Files and Shell Scripts in the NWA/WAC While configuration files and shell scripts have the same syntax, the NWA/WAC applies configuration files differently than it runs shell scripts. #configure default radio profile, change 2GHz channel to 11 & Tx output power # to 50% Username admin password 4321 user-type admin Configuration File / Shell Script: Example These files have the same syntax, which is also identical to the way you run CLI commands manually. When you run a shell script, the NWA/WAC only applies the commands that it contains. When you apply a configuration file, the NWA/WAC uses the factory default settings for any features that the configuration file does not include. You can store multiple configuration files and shell script files on the NWA/WAC.You can edit configuration files or shell scripts in a text editor and upload them to the NWA/WAC. You can apply a configuration file or run a shell script without the NWA/WAC restarting. Shell scripts are files of commands that you can store on the NWA/WAC and run when you need them. Configuration files define the NWA/WAC’s settings.
0 Comments
Leave a Reply. |