The memory-usage reliability command sets thresholds for memory usage reliability.
The undo memory-usage reliability command restores the default thresholds for memory usage reliability.
By default, the threshold value of notice is 70, the threshold value of overload is 80, the threshold value of exception is 90, the threshold value of notice recover is 65, the threshold value of overload recover is 75, the threshold value of exception recover is 85.
memory-usage reliability notice-threshold notice-threshold-value overload-threshold overload-threshold-value exception-threshold exception-threshold-value [ slot slotId ]
undo memory-usage reliability [ notice-threshold notice-threshold-value overload-threshold overload-threshold-value exception-threshold exception-threshold-value ] [ slot slotId ]
Parameter | Description | Value |
---|---|---|
overload-threshold overload-threshold-value |
Memory reliability overload threshold. |
The value is an integer that ranges from 10 to 95. |
exception-threshold exception-threshold-value |
Memory reliability exception threshold. |
The value is an integer that ranges from 75 to 100. |
slot slotId |
slot id. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
notice-threshold notice-threshold-value |
Memory reliability notice threshold. |
The value is an integer that ranges from 5 to 90. |
Usage Scenario
When the memory usage of a board changes, the system notifies all components of the information about the components of the boards (top 10 at most) whose memory usage is greater than 5%. When the memory usage threshold is higher than the exception threshold, the system checks whether the memory usage of the standby board is lower than the switchover threshold and whether the startup time is longer than one day. If yes, reset the board. If not, check whether the process with the highest memory usage is a BGP process. If yes, reset the process. If not, the system notifies all components of the information about the components of the boards (top 10 at most) whose memory usage is greater than 5%.
Prerequisites
Memory usage reliability has been enabled using the memory-usage reliability switch on command.
<HUAWEI> system-view [~HUAWEI] memory-usage reliability switch on [~HUAWEI] memory-usage reliability notice-threshold 75 overload-threshold 88 exception-threshold 96 slot 1