Description

This article answers the Query on whether the "storage cleanup" command impacts the network.

Symptoms

{master:0}
root@hostname> request system storage cleanup
Please check the list of files to be deleted using the dry-run option. i.e.
request system storage cleanup dry-run
Do you want to proceed ? [yes,no] (no) yes

fpcx:
--------------------------------------------------------------------------

List of files to delete:
<>

Solution

  • This command will free storage space on the router/switch by rotating log files and proposing a list of files for deletion. On a QFabric system, you can delete debug files located on individual devices or on the entire QFabric system.

  • If logging is configured and being used, the dry-run option rotates the log files. In that case, the output displays the message “Currently rotating log files, please wait.” If no logging is currently under way, the output displays only a list of files to delete.

  • In addition, it is recommended to first execute the command with "dry-run" knob that will list files proposed for deletion (without deleting them). You can review the files if the listed files are not needed & then proceed further.

Note: Required privilege Level is maintenance as per below document to run > request system storage cleanup commands.

request system storage cleanup (Junos OS) | Junos OS | Juniper Networks

Modification History

2024-09-27 : Article Created

Related Information