Zyxel NWA5123-AC [102/144] Command line ftp configuration file upload example

Zyxel NWA5123-AC [102/144] Command line ftp configuration file upload example
Chapter 18 File Manager
NWA/WAC Series CLI Reference Guide
102
4 Use “put” to transfer files from the computer to the NWA/WAC.
1
For example:
In the conf directory, use "put config.conf today.conf” to upload the configuration file (config.conf)
to the NWA/WAC and rename it “today.conf.
"put 1.00(XL.0).bin” transfers the firmware (1.00(XL.0).bin) to the NWA/WAC.
The firmware update can take up to five minutes. Do not turn off or reset
the NWA/WAC while the firmware update is in progress! If you lose
power during the firmware upload, you may need to refer to Section 18.8
on page 104 to recover the firmware.
18.6.2 Command Line FTP Configuration File Upload Example
The following example transfers a configuration file named tomorrow.conf from the computer and
saves it on the NWA/WAC as next.conf.
Note: Uploading a custom signature file named "custom.rules”, overwrites all custom
signatures on the NWA/WAC.
Figure 11 FTP Configuration File Upload Example
18.6.3 Command Line FTP File Download
1 Connect to the NWA/WAC.
2 Enter “bin” to set the transfer mode to binary.
3 Use “cd” to change to the directory that contains the files you want to download.
4 Use “dir” or “ls” if you need to display a list of the files in the directory.
5 Use "get” to download files. For example:
“get vlan_setup.zysh vlan.zysh” transfers the vlan_setup.zysh configuration file on the NWA/WAC
to your computer and renames it “vlan.zysh.
1. When you upload a custom signature, the NWA/WAC appends it to the existing custom signatures stored in the "custom.rules” file.
C:\>ftp 192.168.1.2
Connected to 192.168.1.2.
220 FTP Server [192.168.1.2]
User (192.168.1.2:(none)): admin
331 Password required for admin.
Password:
230 User admin logged in.
ftp> cd conf
250 CWD command successful
ftp> bin
200 Type set to I
ftp> put tomorrow.conf next.conf
200 PORT command successful
150 Opening BINARY mode data connection for next.conf
226-Post action ok!!
226 Transfer complete.
ftp: 20231 bytes sent in 0.00Seconds 20231000.00Kbytes/sec.

Содержание

Похожие устройства

Скачать