< Home

set flash threshold

Function

The set flash threshold command sets the alarm threshold for flash memory usage.

The undo set flash threshold command restores the default alarm threshold for flash memory usage.

By default, the alarm threshold for flash memory usage is 80.

Format

set flash threshold value

undo set flash threshold value

Parameters

Parameter Description Value

value

Sets the alarm threshold for flash memory usage.

The value is an integer that ranges from 1 to 99.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To ensure that the switch has sufficient flash memory, run the set flash threshold command to set the alarm threshold for flash memory usage. When flash memory of the switch is insufficient, the system prompts that flash memory is insufficient so that you can determine the flash memory usage.

Example

# Set the alarm threshold for flash memory usage on an MPU to 50%.

<HUAWEI> system-view
[HUAWEI] set flash threshold 50
Info: Now the flash usage threshold is 50%. 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >