The set memory-usage threshold command sets the threshold of the memory usage .
The undo set memory-usage threshold command restores the default threshold of the memory usage on the main control board.
set memory-usage threshold threshold-value [ slot slot-id ]
undo set memory-usage threshold [ threshold-value ] [ slot slot-id ]
| Parameter | Description | Value |
|---|---|---|
| threshold threshold-value | Specifies the memory usage threshold. | The value is an integer ranging from 75 to 100. |
| slot slot-id | Specifies the slot ID of a board. | - |
By default, the memory usage threshold is 90%.
Usage Scenario
To ensure that the device has sufficient memory or that an alarm is generated in case of memory insufficiency, you can run the set memory-usage threshold command to set the memory usage threshold.
Implementation Procedure
During device operating, you can run the display memory-usage threshold command to check the memory usage threshold.
Impact
When the memory usage of the device reaches the configured threshold, an alarm is automatically sent to notify users of memory insufficiency.
when the memory usage of the device or plugboard reaches the configured threshold, alarm ENTEXT_1.3.6.1.4.1.2011.5.25.31.2.0.5 hwEntityExtMemUsageThresholdNotification is generated.