radius-server accounting cache-warning-threshold

Function

The radius-server accounting cache-warning-threshold command enables the accounting packet cache alarm function and configures an alarm threshold and a clear alarm threshold. If the accounting packet cache usage reaches the configured alarm threshold, an alarm is reported.

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

By default, the accounting packet cache alarm function is disabled.

This command is supported only on the NetEngine 8000 F1A.

Format

radius-server accounting cache-warning-threshold upper-limit upper-limit lower-limit lower-limit

undo radius-server accounting cache-warning-threshold upper-limit upper-limit lower-limit lower-limit

Parameters

Parameter Description Value
upper-limit upper-limit

Specifies an alarm threshold.

The value is an integer ranging from 1 to 100, in percentage.

lower-limit lower-limit

Specifies a clear alarm threshold.

The value is an integer ranging from 0 to 99, in percentage.

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. If the ratio of the number of cached packets to the maximum number of packets that can be cached reaches the configured alarm threshold, an alarm is reported.

Configuration Impact

If the ratio of the number of cached packets to the value specified using the radius-server accounting cache command is greater than or equal to the value specified by upper-limit after the radius-server accounting cache-warning-threshold command is run, an alarm is reported. If the ratio of the number of cached packets to the value specified using the radius-server accounting cache command is less than or equal to the value specified by lower-limit, a clear alarm is reported. If lower-limit is set to 0, a clear alarm is reported only when the number of packets in the cache queue is 0.

Precautions

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

Example

# Enable the accounting packet cache alarm function, and set an alarm threshold and a clear alarm threshold to 75% and 70%, respectively.
<HUAWEI> system-view
[~HUAWEI] radius-server accounting cache-warning-threshold upper-limit 75 lower-limit 70
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >