Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

disk-partition

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
disk-partition partition-name (/config |/var) {
    level state (full | high) {
        free-space threshold-value (mb | percent);
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit chassis]

Description

Configure the disk usage monitoring level. When the specified disk usage monitoring level is reached, a system alarm is activated.

To view the partition size and the current unused space, use the show system storage partitions command.

To clear disk space, use the request system storage cleanup command.

The remaining statements are explained separately.

Note:

The disk-partition configuration option is not available for EX9200, QFX10008, QFX10016, PTX and MX series devices.

Options

partition-name

Select the partition to be monitored for disk usage.

  • /config—Monitor the /config partition for disk usage.
  • /var— Monitor the /var partition for disk usage.

Required Privilege Level

system—To view this statement in the configuration.

system-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 12.3.

footer-navigation