session-memory (resource-manager)
Syntax
session-memory { match { threshold threshold; } then { alarm; drop-flows; log; session-aggressive-ageout { early-ageout early-ageout; } } }
Hierarchy Level
[edit security resource-manager]
Description
Configure resource manager session-memory options to control the behavior of the device based on the sessions that the device is handling.
Options
threshold
-Configure the threshold limit to letthreshold
resource-manager
take actions. The range is 1 to 100 percent.session-aggressive-ageout early-ageout seconds
-When you enable aggressive ageout, sessions with timeout less than the early value, become invalid. Range is 1 through 65,535 seconds.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 thedrop-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 session usage 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.