Maintenance
Overview
When the Zyxel Device is set to work in cloud managed mode, the Maintenance screens allow you to upload firmware, manage shell script files, generate a diagnostic file, view log messages, or reboot the Zyxel Device.
Firmware Package
Use the Firmware Package screen to check your current firmware information and upload firmware to the Zyxel Device. You can manually download the new firmware from the Zyxel website.
*The Web Configurator is the recommended method for uploading firmware. You only need to use the command line interface if you need to recover the firmware. See the CLI Reference Guide for how to determine if you need to recover the firmware and how to recover it.
The firmware update can take up to five minutes. Do not turn off or reset the Zyxel Device while the firmware update is in progress!
*The Zyxel Device automatically reboots after a successful upload.
Maintenance > File Manager > Firmware Package 
Label
Description
Version
Current Version
This is the firmware version.
Released Date
This is the date that the version of the firmware was created.
Upload File
File Path
Enter the location of the file you want to upload in this field or click Browse... to find it.
Browse...
Click Browse... to find the .bin file you want to upload. Remember that you must decompress compressed (.zip) files before you can upload them.
Upload
Click Upload to begin the upload process. This process may take up to two minutes.
The Zyxel Device automatically restarts causing a temporary network disconnect to devices connected to its network.After five minutes, log in again and check your new firmware version in the Dashboard screen.
Shell Script
A shell script is a list of commands to manage the Zyxel Device. Use a text editor to create the shell script files. They must use a “.zysh” filename extension. For example, test.zysh.
Use the Shell Script screen to store, name, download, and upload shell script files. You can store multiple shell script files on the Zyxel Device at the same time.
1 In the text editor, save the shell script with a .zysh filename extension. Select All Files as the file type.
2 Click Browse... to upload the .zysh file.
3 Click Upload. The uploaded shell script will be shown in the Shell Scripts field.
Each field is described in the following table.
Maintenance > File Manager > Shell Script 
Label
Description
Shell Scripts
Rename
Use this button to change the label of a shell script file on the Zyxel Device.
You cannot rename a shell script to the name of another shell script in the Zyxel Device.
Click a shell script’s row to select it and click Rename to open the Rename File screen.
Specify the new name for the shell script file. Use up to 25 characters (including a-zA-Z0-9;‘~!@#$%^&()_+[]{}’,.=-).
Click OK to save the renamed file or click Cancel to close the screen without saving a renamed file.
Remove
Click a shell script file’s row to select it and click Delete to delete the shell script file from the Zyxel Device.
A pop-up window asks you to confirm that you want to delete the shell script file. Click OK to delete the shell script file or click Cancel to close the screen without deleting the shell script file.
Download
Click a shell script file’s row to select it and click Download to save the configuration to your computer.
Copy
Use this button to save a duplicate of a shell script file on the Zyxel Device.
Click a shell script file’s row to select it and click Copy to open the Copy File screen.
Specify a name for the duplicate file. Use up to 25 characters (including a-zA-Z0-9;‘~!@#$%^&()_+[]{}’,.=-).
Click OK to save the duplicate or click Cancel to close the screen without saving a duplicate of the configuration file.
Apply
Use this button to have the Zyxel Device use a specific shell script file.
Click a shell script file’s row to select it and click Apply to have the Zyxel Device use that shell script file. You may need to wait awhile for the Zyxel Device to finish applying the commands.
#
This column displays the number for each shell script file entry.
File Name
This column displays the label that identifies a shell script file.
Size
This column displays the size (in KB) of a shell script file.
Last Modified
This column displays the date and time that the individual shell script files were last changed or saved.
Upload Shell Script
File
Enter the location of the file you want to upload in this field or click Browse... to find it.
Browse...
Click Browse... to find the .zysh file you want to upload.
Upload
Click Upload to begin the upload process. This process may take up to several minutes.
Legal and Regulatory
Use this screen to view the information on legal and regulatory. This screen may not display depending on the Zyxel Device model you are using.
Diagnostics
This screen provides an easy way for you to generate a file containing the Zyxel Device’s configuration and diagnostic information. You may need to generate this file and send it to customer support during troubleshooting. All categories of settings and shell script files stored on the Zyxel Device will be included in the diagnostic file.
Click Collect Now to have the Zyxel Device create a new diagnostic file.
The Debug Information Collector screen then displays showing whether the collection is in progress, was successful, or has failed. When the data collection is done, click Download to save the most recent diagnostic file to a computer.
Remote Capture
Use this screen to capture network traffic going through the Zyxel Device and output the captured packets to a packet analyzer (also known as network or protocol analyzer) such as Wireshark. If the Zyxel Device is connected to the Zyxel gateway or ZyWALL, you might need to configure the Zyxel gateway or ZyWALL to allow remote capture on the Zyxel Device.
The following table describes the labels in this screen.
Maintenance > Diagnostics > Remote Capture
Label
Description
Server Port
Enter the number of the server port you want the packet analyzer to connect to in order to capture traffic going through the Zyxel Device. The default port number is 2002.
Start
Click this button to allow the packet analyzer to start capturing traffic going through the Zyxel Device.
Stop
Click this button to stop the packet analyzer from capturing traffic going through the Zyxel Device.
View Log
The NCC periodically gathers log files from the devices being managed by it. Before the NCC pulls logs from the Zyxel Device or when the Zyxel Device is disconnected from the NCC, you can use this screen to view its current log messages.
*When a log reaches the maximum number of log messages, new log messages automatically overwrite existing log messages, starting with the oldest existing log message first.
Events that generate an alert (as well as a log message) display in red. Regular logs display in black. Click a column’s heading cell to sort the table entries by that column’s criteria. Click the heading cell again to reverse the sort order.
The following table describes the labels in this screen.
Maintenance > Log > View Log 
Label
Description
Show Filter / Hide Filter
Click this button to show or hide the filter settings.
If the filter settings are hidden, the Display field is available.
If the filter settings are shown, the Display, Priority, Source Address, Destination Address, Source Interface, Destination Interface, Protocol, Keyword, and Search fields are available.
Display
Select the category of log message(s) you want to view. You can also view All Logs at one time, or you can view the Debug Log.
Priority
This displays when you show the filter. Select the priority of log messages to display. The log displays the log messages with this priority or higher. Choices are: any, emerg, alert, crit, error, warn, notice, and info, from highest priority to lowest priority. This field is read-only if the Display is Debug Log.
Source Address
This displays when you show the filter. Enter the source IP address of the incoming packet that generated the log message. Do not include the port in this filter.
Destination Address
This displays when you show the filter. Enter the IP address of the destination of the incoming packet when the log message was generated. Do not include the port in this filter.
Source Interface
This displays when you show the filter. Select the source interface of the packet that generated the log message.
Destination Interface
This displays when you show the filter. Select the destination interface of the packet that generated the log message.
Protocol
This displays when you show the filter. Select a service protocol whose log messages you would like to see.
Keyword
This displays when you show the filter. Enter a keyword to look for in the Message, Source, Destination and Note fields. If a match is found in any field, the log message is displayed. You can use up to 63 alphanumeric characters and the underscore, as well as punctuation marks ()’ ,:;?! +-*/= #$% @ ; the period, double quotes, and brackets are not allowed.
Search
This displays when you show the filter. Click this button to update the log using the current filter settings.
Refresh
Click this to update the list of logs.
Clear Log
Click this button to clear the whole log, regardless of what is currently displayed on the screen.
#
This field is a sequential value, and it is not associated with a specific log message.
Time
This field displays the time the log message was recorded.
Priority
This field displays the priority of the log message. It has the same range of values as the Priority field above.
Category
This field displays the log that generated the log message. It is the same value used in the Display and (other) Category fields.
Message
This field displays the reason the log message was generated. The text “[count=x]”, where x is a number, appears at the end of the Message field if log consolidation is turned on and multiple entries were aggregated to generate into this one.
Source
This field displays the source IP address and the port number in the event that generated the log message.
Source Interface
This field displays the source interface of the packet that generated the log message.
Destination
This field displays the destination IP address and the port number of the event that generated the log message.
Destination Interface
This field displays the destination interface of the packet that generated the log message.
Protocol
This field displays the service protocol in the event that generated the log message.
Note
This field displays any additional information about the log message.
This screen allows users to restart the Zyxel Device.
If you made changes in the CLI, you have to use the write command to save the configuration. They do not change when you reboot the Zyxel Device.
Reboot is different to reset; reset returns the Zyxel Device to its default configuration.
You can reboot your Zyxel Device when the Internet connection is slow or intermittent.
Each field is described in the following table.
Maintenance > Reboot > Reboot
Label
Description
Reboot
Click Reboot then click Yes to restart the Zyxel Device immediately.
After the Zyxel Device reboots, wait a few minutes until the login screen appears. If the login screen does not appear, type the IP address of the Zyxel Device in your Web browser.
You can also use the CLI command reboot to restart the Zyxel Device.