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

cpu (resource-manager)

date_range 09-Dec-23

Syntax

content_copy zoom_out_map
cpu {
    disable-management;
    match {
        threshold threshold;
    }
    then {
        alarm;
        drop-cps;
        drop-flows;
        log;
        max-session-setup-rate max-session-setup-rate;
    }
}

Hierarchy Level

content_copy zoom_out_map
[edit security resource-manager]

Description

Configure resource manager cpu options to control cpu load. Resource manager takes protective action when the traffic load reaches the threshold.

Options

  • disable-management-Disables the cpu management. By default, cpu management is on.

  • match threshold-Configure the threshold limit to let resource-manager take actions. The range is 1 to 100 percent.

  • drop-cps-This is default action when the CPU usage crosses the default or configured threshold. This configuration drops the packets which do not have an existing associated session.

  • max-session-setup-rate-This throttles new session creation to the specified rate when the cpu threshold is exceeded.

  • drop-flows-When you mark a session as a drop-flow, it bypasses the first path for each new packet, which matches the original drop session for next 4 seconds only. This configuration drops the packets that match the drop-flows.

  • log-This configuration logs messages when the resource threshold is exceeded and falls back under the threshold.

  • alarm-This configuration sends an SNMP Trap when the CPU load exceeds the threshold.

Required Privilege Level

security—To view this in the configuration.

security-control—To add this to the configuration.

Release Information

Statement introduced in Junos OS Release 20.4R1.

footer-navigation