radius-server accounting cache memory-threshold

Function

The radius-server accounting cache memory-threshold command configures a memory usage threshold for the main control board.

The undo radius-server accounting cache memory-threshold command restores the default configuration.

By default,the memory usage threshold is 75% for the main control board.

This command is supported only on the NetEngine 8000 F1A.

Format

radius-server accounting cache memory-threshold memory-threshold-value

undo radius-server accounting cache memory-threshold [ memory-threshold-value ]

Parameters

Parameter Description Value
memory-threshold-value

Specifies a memory usage threshold for the main control board.

The value is an integer ranging from 50 to 85, in percentage. The default value is 75.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-radius write

Usage Guidelines

Usage Scenario

In RADIUS accounting scenarios, if accounting packet caching is enabled and the link between the RADIUS server and device fails or is busy, the device caches accounting packets that fail to be sent. Caching accounting packets consumes the main control board's memory. To prevent impact on device performance, run the radius-server accounting cache memory-threshold command to configure a memory usage threshold for the main control board.

Configuration Impact

If the memory usage of the main control board reaches the configured threshold but the number of cached packets does not reach the value specified using the radius-server accounting cache command after the radius-server accounting cache memory-threshold command is run, the router releases the earliest user's all packets from the cache queue and caches newly generated accounting packets.

Precautions

In VS mode, this command is supported only by the admin VS.

When the memory usage of the main control board is high, caching packets causes the main control board to restart due to memory exhaustion. Therefore, you must properly configure a memory usage threshold.

Example

# Set a memory usage threshold to 80% for the main control board.
<HUAWEI> system-view
[~HUAWEI] radius-server accounting cache memory-threshold 80
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >