The session create-rate sudden-change alarm-threshold command sets an alarm threshold for the sudden change rate of the session creation rate.
The undo session create-rate sudden-change alarm-threshold command restores the default value.
session create-rate sudden-change alarm-threshold threshold-value [ baseline baseline-value ]
undo session create-rate sudden-change alarm-threshold
| Parameter | Description | Value |
|---|---|---|
threshold-value |
Specifies an alarm threshold for the sudden change rate of the session creation rate. |
The value is an integer ranging from 1 to 100, in percentages. The default value is 50. |
baseline-value |
Specifies the start alarm threshold for the sudden change rate of the session creation rate. |
The value is an integer ranging from 100 to 1,000,000, in percentages. The default value is 50,000. NOTE:
If the session creation rates in the current period and the previous period are both smaller than the start alarm threshold, the device does not send an alarm even if the change rate of the session creation rate reaches the alarm threshold. |
For the sudden change alarm threshold and start alarm threshold, you are advised to use the default values. Overly small values may cause the device to output excessive alarms, and overly large values may prevent alarms from being output.
The device detects the change rate of the session creation rate every 10 seconds.
Change rate = (Average session creation rate in the current 10 seconds - Average session creation rate in the previous 10 seconds)/Average session creation rate in the previous 10 seconds.
When the alarm function for the sudden change of the session creation rate is enabled, the device generates the FWD_1.3.6.1.4.1.2011.6.122.15.3.4.14 hwSecStatSessCreateRateSuddenChangeTrapOverThreshold alarm if the session creation rate in the current or previous period exceeds the start alarm threshold and the change rate of the session creation rate reaches the sudden change alarm threshold. The session create-rate sudden-change alarm enable command can be used to enable the alarm function for the sudden change of the session creation rate.
For example, if the threshold of the alarm for the sudden change of the session creation rate is set to 30%, the start alarm threshold is set to 30000, the current session creation rate is 40000, and the session creation rate 10 seconds ago is 20000 (that is, 50% increased), then the change rate (50%) exceeds the sudden change alarm threshold (30%) and the current session creation rate is greater than the start alarm threshold. In this case, an alarm is sent.
For example, if the threshold of the alarm for the sudden change of the session creation rate is set to 30%, the start alarm threshold is set to 30000, the current session creation rate is 10000, and the session creation rate 10 seconds ago is 25000 (that is, 60% decreased), then the change rate (60%) exceeds the sudden change alarm threshold (30%), and the session creation rates in the current and previous periods are both smaller than the start alarm threshold. In this case, an alarm is not sent.