Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

cpu (resource-manager)

Syntax

Hierarchy Level

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.