Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

request vmhost cleanup

Syntax

Description

Clean up temporary files, crash generated files, and log files located in the /var/tmp, /var/crash, and /var/log directories respectively on the host OS.

Options

none—Clean up temporary files, crash generated files, and log files located in the /var/tmp, /var/crash, and /var/log directories on the host OS running on the Routing Engine on the local Virtual Chassis member.

invoke-on

(Optional) Clean up temporary files, crash generated files, and log files on all the Routing Engines or the other Routing Engine.

Clean up files in /var/tmp, /var/crash, and /var/log on the host OS running on a router that has dual Routing Engines. You can use the all-routing-engine option to clean up the files in these directories on the host OS running on all the Routing Engines or the other-routing-engine option to clean up the files in these directories on the host OS running on the other Routing Engine. If you issue the command from the primary Routing Engine, the backup Routing Engine is referred to as the other Routing Engine.

re0 | re1

(Optional) On devices that support dual or redundant Routing Engines, clean up files in /var/tmp, /var/crash, and /var/log on the host OS running on the Routing Engine in slot 0 (re0) or the Routing Engine in slot 1 (re1).

Note:

The QFX10002-60C and PTX10002-60C devices do not have primary and backup routing engines.

routing-engine

(Optional) Specify the Routing Engine for which the files in /var/tmp, /var/crash, and /var/log on the host OS are to be cleaned up. The following options are available:

  • backup—Backup Routing Engine.

  • both—Primary and backup Routing Engines.

  • local—Routing Engine on the local Virtual Chassis member.

  • master—Primary Routing Engine.

  • other—If you issue the command from the primary Routing Engine, the backup Routing Engine is referred to as the other Routing Engine.

Required Privilege Level

maintenance

Output Fields

When you enter this command, you are provided feedback on the status of your request.

Release Information

Command introduced in Junos OS Release 15.1F3.

Note:

PTX3000 router supports the Routing and Control Board, RCBPTX.