Diagnostics
The Diagnostics screens provide an easy way for you to generate a file containing the Zyxel Device’s configuration and diagnostic information. You may need to send this file to customer support for troubleshooting.
The Diagnostics Screen
When you click Collect Now, a series of commands are run to display information about the Zyxel Device.
This screen also lists the files of diagnostic information the Zyxel Device has collected and stored on the Zyxel Device or in a connected USB storage device. You may need to send these files to customer support for troubleshooting.
The following table describes the labels in this screen.
Maintenance > Diagnostics > Diagnostics 
Label
Description
Diagnostics Collect Status
Status
This field displays the following states the Zyxel Device is in when collecting diagnostic data.
Standby: The Zyxel Device is ready to generate a diagnostic file or has just finished generating a diagnostic file.
Busy on device: The Zyxel Device is generating a diagnostic file containing its own configuration and diagnostic information.
Collect Now
Click this to have the Zyxel Device run the uploaded script and create a new diagnostic file. Please wait until the collection finishes.
General Setting
 
Filename
This is the name of the most recently created diagnostic file.
Modified Time
This is the date and time that the last diagnostic file was created. The format is yyyy-mm-dd hh:mm:ss.
Size
This is the size of the most recently created diagnostic file.
Copy the diagnostic file to USB storage
Select this to have the Zyxel Device create an extra copy of the diagnostic file to a connected USB storage device.
Diagnostic files
This lists the files of generated diagnostic information stored on the Zyxel Device.
Diagnostic files in USB storage
This lists the files of generated diagnostic information stored in a connected USB storage device.
Remove
Select files and click Remove to delete them from the Zyxel Device or the USB storage device.
Download
Click a file to select it and click Download to save it to your computer.
#
This column displays the number for each file entry. The total number of files that you can save depends on the file sizes and the available storage space.
File Name
This column displays the label that identifies the file.
Size
This column displays the size (in bytes) of a file.
Modified Time
This column displays the date and time that the individual files were saved.
The Packet Capture Screen
This screen lists the files of packet captures stored on the Zyxel Device or a connected USB storage device. You can download the files to your computer where you can study them using a packet analyzer (also known as a network or protocol analyzer) such as Wireshark.
The following table describes the labels in this screen.
Maintenance > Diagnostics > Packet Capture
Label
Description
Edit
Click this to configure packet capture settings.
Interface
This field displays the interface for which to capture packets.
Protocol
This field displays the protocol of traffic for which to capture packets.
Host
this field displays the host IP address object for which to capture packets.
Host Port
This field displays the port number of traffic to capture.
File/Split Size (MB)
This field displays the maximum size limit in megabytes for individual packet capture files.
Storage
This field displays where the packet capture entry is saved.
Capture
Click this button to have the Zyxel Device capture packets according to the settings configured in this screen.
You can configure the Zyxel Device while a packet capture is in progress although you cannot modify the packet capture settings.
The Zyxel Device’s throughput or performance may be affected while a packet capture is in progress.
After the Zyxel Device finishes the capture it saves a separate capture file for each selected interface. The total number of packet capture files that you can save depends on the file sizes and the available flash storage space. Once the flash storage space is full, adding more packet captures will fail.
Remove
Select files and click Remove to delete them from the Zyxel Device or the connected USB storage device.
Download
Click a file to select it and click Download to save it to your computer.
File Name
This column displays the label that identifies the file. The file name format is interface name-file suffix.cap.
Size
This column displays the size (in bytes) of a configuration file.
Modified Time
This column displays the date and time that the individual files were saved.
The Packet Capture Edit Screen
Use this screen to capture network traffic going through the Zyxel Device’s interfaces. Studying these packet captures may help you identify network problems.
*New capture files overwrite existing files of the same name. Change the File Suffix field’s setting to avoid this.
The following table describes the labels in this screen.
Maintenance > Diagnostics > Packet Capture > Edit 
Label
Description
Interfaces
Select interfaces for which to capture packets and click the right arrow button to move them to the right.
IP Version
Select the version of IP for which to capture packets. Select any to capture packets for all IP versions.
Protocol Type
Select the protocol of traffic for which to capture packets. Select any to capture packets for all types of traffic.
Host IP
Select a host IP address object for which to capture packets. Select any to capture packets for all hosts. Select User Defined to be able to enter an IP address.
Host Port
This field is configurable when you set the IP Type to any, tcp, or udp. Specify the port number of traffic to capture.
Captured Packet Files
When saving packet captures only to the Zyxel Device’s on board storage, specify a maximum limit in megabytes for the total combined size of all the capture files on the Zyxel Device.
When saving packet captures to a connected USB storage device, specify a maximum limit in megabytes for each capture file.
*If you have existing capture files and have not selected the Continuously capture and overwrite old ones option, you may need to set this size larger or delete existing capture files.
The valid range depends on the available on board/USB storage size. The Zyxel Device stops the capture and generates the capture file when either the file reaches this size or the time period specified in the Duration field expires.
Split threshold
Specify a maximum size limit in megabytes for individual packet capture files. After a packet capture file reaches this size, the Zyxel Device starts another packet capture file.
Duration
Set a time limit in seconds for the capture. The Zyxel Device stops the capture and generates the capture file when either this period of time has passed or the file reaches the size specified in the File Size field. 0 means there is no time limit.
File Suffix
Specify text to add to the end of the file name (before the dot and filename extension) to help you identify the packet capture files. Modifying the file suffix also avoids making new capture files that overwrite existing files of the same name.
The file name format is “interface name-file suffix.cap”, for example “vlan2-packet-capture.cap”.
Number Of Bytes To Capture (Per Packet)
Specify the maximum number of bytes to capture per packet. The Zyxel Device automatically truncates packets that exceed this size. As a result, when you view the packet capture files in a packet analyzer, the actual size of the packets may be larger than the size of captured packets.
Save data to onboard storage only
Select this to have the Zyxel Device only store packet capture entries on the Zyxel Device. The available storage size is displayed as well.
*The Zyxel Device reserves some on board storage space as a buffer.
Save data to USB storage
Select this to have the Zyxel Device store packet capture entries only on a USB storage device connected to the Zyxel Device if the Zyxel Device allows this. The USB file format should be FAT32.
Status:
Unused - the connected USB storage device was manually unmounted by using the Remove Now button or for some reason the Zyxel Device cannot mount it.
none - no USB storage device is connected.
service deactivated - USB storage feature is disabled (in System > USB Storage), so the Zyxel Device cannot use a connected USB device to store system logs and other diagnostic information.
available - you can have the Zyxel Device use the USB storage device. The available storage capacity also displays.
*The Zyxel Device reserves some USB storage space as a buffer.
Save data to ftp server
Select this to have the Zyxel Device store packet capture entries on the defined FTP site. The available storage size is displayed as well.
Server Address
Type the IP address of the FTP server.
Server Port
Type the port this server uses for FTP traffic. The default FTP port is 21.
Name
Type the login username to access the FTP server.
Password
Type the associated login password to access the FTP server.
The CPU / Memory Status Screen
Use this screen to view the CPU and memory performance of various applications on the Zyxel Device.
The following table describes the labels in this screen.
Maintenance > Diagnostics > CPU / Memory Status
Label
Description
Refresh
Click this to update the information in this screen.
CPU Status
This table displays the applications that use the most Zyxel Device CPU processing.
CPU Usage
CPU usage shows how much processing power the Zyxel Device is using. This field displays the current percentage usage of a CPU (where n is the number of the CPU) as a percentage of total processing power. CPU usage may appear temporarily high when creating graphic-intensive statistics and reports. You may ignore it, and observe the long-term usage.
#
This field is a sequential value, and it is not associated with any entry.
CPU
This field displays the current CPU utilization percentage for each application used on the Zyxel Device.
Application
This field displays the name of the application consuming the related processing power on the Zyxel Device.
Memory
This field displays the current DRAM memory utilization percentage for each application used on the Zyxel Device.
Time
This field displays each application’s running time in hours - minutes - seconds.
Memory Status
This table displays the applications that use the most Zyxel Device DRAM memory.
Memory Usage
Memory usage shows how much DRAM memory the Zyxel Device is using. This field displays the current percentage of memory utilization.
#
This field is a sequential value, and it is not associated with any entry.
Memory
This field displays the current DRAM memory utilization percentage for each application used on the Zyxel Device.
Application
This field displays the name of the application consuming the related memory on the Zyxel Device.
CPU
This field displays the current CPU utilization percentage for each application used on the Zyxel Device.
Time
This field displays each application’s running time.
The System Log Screen
This screen lists the files of diagnostic information the Zyxel Device has collected and stored on a connected USB storage device. You may need to send these files to customer support for troubleshooting.
The following table describes the labels in this screen.
Maintenance > Diagnostics > System Log
Label
Description
Diagnostic Files
Remove
Select files and click Remove to delete them from the Zyxel Device. A pop-up window asks you to confirm that you want to delete.
Download
Select a file and click Download to save it to your computer.
File Name
This column displays the label that identifies the file.
The apply-config-error.log file logs the configuration file the Zyxel Device is applying.
The boot-config-error.log file logs errors that occur during the Zyxel Device's booting process.
The ipsecvpn.log file logs events related to IPsec VPN connections.
If the Zyxel Device is disconnected from the NCC, the nebula-connection-test.log file will log the Zyxel Device's Internet connection status and the NCC connection status.
Size
This column displays the size (in bytes) of a file.
Modified Time
This column displays the date and time that the individual files were saved.
System Log Archives in USB Storage
Remove
Select files and click Remove to delete them from the USB storage device. A pop-up window asks you to confirm that you want to delete.
Download
Select a file and click Download to save it to your computer.
File Name
This column displays the label that identifies the file.
Size
This column displays the size (in bytes) of a file.
Modified Time
This column displays the date and time that the individual files were saved.
The Network Tool Screen
Use this screen to perform various network tests.
The following table describes the labels in this screen.
Maintenance > Diagnostics > Network Tool 
Label
Description
Network Tool
Select a network tool from the list.
Select NSLOOKUP IPv4 to perform name server lookup for querying the Domain Name System (DNS) to get the domain name or IP address mapping.
Select PING IPv4 to ping the IP address that you entered.
Select TRACEROUTE IPv4 to run the traceroute function. This determines the path a packet takes to the specified computer.
Select IPSec Trace Log to run the strongSwan debug log function.
Select Nebula Status to test the connection from the Zyxel Device to the Nebula Control Center (NCC).
This screen displays if the test passes.
This screen displays if the test fails.
Domain Name or IP Address
Type the IP address that you want to use to for the NSLOOKUP, PING and TRACEROUTE network tools.
Debug Level
This field displays when you choose the IPSec Trace Log network tool. Select a log level from 0 to 4, then click Start. Wait, or click Stop to see the log result. The higher the log level, the more detailed the log.
The debug log levels are as follows:
0: Very basic auditing logs, such as SA up / down)
1: Generic control flow with errors (default)
2: Contains more detailed control flow logs
3: Includes RAW data dumps in hex
4: Includes sensitive material such as keys.
Test
This field displays when you choose the Nebula Status network tool. Click Test, then wait for the result. Click Reset to remove the results and test again.
Advanced Settings
 
Query Server
This field appears when you choose NSLOOKUP IP v4. Enter the IP address of a server to which the Zyxel Device sends queries for NSLOOKUP.
Interface
This field appears when you choose PING IPv4 or TRACEROUTE IPv4. Select an interface from which to ping the specified IP address when running PING IPv4 or route to the specified IP address when running TRACEROUTE IPv4.
Extension Option
Enter the extended option if you want to use an extended ping or traceroute command. For example, enter “-c count” (where count is the number of ping requests) to set how many times the Zyxel Device pings the destination IP address. Enter “-w waittime” (where waittime is a time period in seconds) to set how long the Zyxel Device waits for a response to a probe before running another traceroute.
Test
Click this button to start the test.
Reset
Click this button to return the screen to its last-saved settings.