radius-server packet statistics algorithm

Function

The radius-server packet statistics algorithm command configures a mode for collecting statistics about RADIUS authentication request and response packets.

The undo radius-server packet statistics algorithm command restores the default mode for collecting statistics about RADIUS authentication request and response packets.

By default, the radiusAccClientRequests object of the MIB collects statistics about authentication request packets, and the radiusAccClientResponses object of the MIB collects statistics about authentication success packets. In the display radius-server packet ip-address ip-address authentication command output, the Access Requests field indicates the number of authentication request packets, and the Access Accepts field indicates the number of authentication success packets.

Format

radius-server packet statistics algorithm { version1 | version2 }

undo radius-server packet statistics algorithm [ version1 | version2 ]

Parameters

Parameter Description Value
version1

Collects statistics about RADIUS authentication request and response packets in the version1 collection mode.

-

version2

Collects statistics about RADIUS authentication request and response packets in the version2 collection mode.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
radius write

Usage Guidelines

Usage Scenario

When a RADIUS server is connected to a non-Huawei device that functions as an NMS, run the radius-server packet statistics algorithm command to configure a mode for collecting statistics about RADIUS authentication request and response packets.

Configuration Impact

If version1 is specified in the radius-server packet statistics algorithm command, the radiusAccClientRequests object of the MIB collects statistics about authentication request packets and retransmitted authentication request packets, and the radiusAccClientResponses object of the MIB collects all authentication response packets, including authentication success, failure, and challenge packets and incorrect response packets. In the display radius-server packet ip-address authentication command output, the Access Requests field indicates the number of authentication request packets, and the Access Accepts field indicates the number of authentication success packets.

If version2 is specified in the radius-server packet statistics algorithm command, the radiusAccClientRequests object of the MIB collects statistics about authentication request packets and retransmitted authentication request packets, and the radiusAccClientResponses object of the MIB collects all authentication response packets, including authentication success, failure, and challenge packets and incorrect response packets. In the display radius-server packet ip-address authentication command output, the Access Requests field indicates the sum number of authentication request packets and retransmitted authentication request packets, and the Access Accepts field indicates the sum number of all authentication response packets, including authentication success, failure, and challenge packets and incorrect response packets.

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

Example

# Collect statistics about RADIUS authentication request and response packets in the version1 mode.
<HUAWEI> system-view
[~HUAWEI] radius-server packet statistics algorithm version1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >