Chapter 18 File Manager
NWA/WAC Series CLI Reference Guide
101
18.5 File Manager Command Example
This example saves a back up of the current configuration before applying a shell script file.
18.6 FTP File Transfer
You can use FTP to transfer files to and from the NWA/WAC for advanced maintenance and support.
18.6.1 Command Line FTP File Upload
1 Connect to the NWA/WAC.
2 Enter “bin” to set the transfer mode to binary.
3 You can upload the firmware after you log in through FTP. To upload other files, use “cd” to change
to the corresponding directory.
delete {/cert | /conf | /idp | /packet_trace | /
script | /tmp}/file_name
Removes a file. Specify the directory and file name of the file
that you want to delete.
dir {/cert | /conf | /idp | /packet_trace | /
script | /tmp}
Displays the list of files saved in the specified directory.
rename {/cert | /conf | /idp | /packet_trace | /
script | /tmp}/old-file_name {/cert | /conf | /
idp | /packet_trace | /script | /tmp}/new-
file_name
Changes the name of a file.
Specify the directory and file name of the file that you want to
rename. Then specify the directory again followed by the new
file name.
rename /script/old-file_name /script/new-
file_name
Changes the name of a shell script.
run /script/file_name.zysh Has the NWA/WAC execute a specific shell script file. You must
still use the
write command to save your configuration
changes to the flash (“non-volatile” or “long term”) memory.
show running-config Displays the settings of the configuration file that the system is
using.
setenv-startup stop-on-error off Has the NWA/WAC ignore any errors in the startup-config.conf
file and apply all of the valid commands.
show setenv-startup Displays whether or not the NWA/WAC is set to ignore any
errors in the startup-config.conf file and apply all of the valid
commands.
write Saves your configuration changes to the flash (“non-volatile”
or “long term”) memory. The NWA/WAC immediately uses
configuration changes made via commands, but if you do not
use the
write command, the changes will be lost when the
NWA/WAC restarts.
Table 63 File Manager Commands Summary (continued)
COMMAND DESCRIPTION
Router(config)# copy running-config /conf/backup.conf
Router(config)# run /script/mac_acl_setup.zysh