How to collect "diaginfo" by CLI

Options
Zyxel_Kevin
Zyxel_Kevin Posts: 801  Zyxel Employee
First Anniversary 10 Comments Friend Collector First Answer
edited November 2023 in Maintenance

Enter the configuration mode by typing configure terminal on your router.
To start collecting diagnostic information:

Router#config terminal

Router(config)# diaginfo collect ac

Wait for the process to complete as the system collects information. And use below command show the progress

Router(config)# show diaginfo collect ac status


After the collection is complete, use the command show diag-info to display the details of the diagnostic file created. This command will show the filename, file size, and the creation date of the diagnostic file.
For example, after executing these commands, the output might look like this:
Filename: diaginfo-20070423.tar.bz2
File size: 1259 KB
Date: 2014-04-23 09:55:09

Tagged: