radius-server resend

Function

The radius-server accounting-start-packet resend command configures the number of times that cached accounting-start packets are retransmitted to the RADIUS accounting server in a RADIUS server group.

The undo radius-server accounting-start-packet resend command disables accounting-start packets from being cached to a queue for retransmission.

The radius-server accounting-stop-packet resend command sets the number of times that the accounting server in a RADIUS server group retransmits accounting stop packets.

The undo radius-server accounting-stop-packet resend command cancels the retransmission of accounting stop packets.

By default, accounting-start packets are disabled from being cached to a queue for retransmission, the number of retransmission times is 0. That is, the accounting server does not retransmit accounting stop packets.

This command is supported only on the NetEngine 8000 F1A.

Format

radius-server { accounting-start-packet | accounting-stop-packet } resend [ resend-times ]

undo radius-server { accounting-start-packet | accounting-stop-packet } resend [ resend-times ]

Parameters

Parameter Description Value
accounting-start-packet

Accounting start packet.

-

accounting-stop-packet

Accounting stop packet.

-

resend-times

Specifies the number of times that the packets are retransmitted.

The value is an integer ranging from 1 to 65535. The default value is 50.

Views

RADIUS server group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
radius write

Usage Guidelines

Usage Scenario

In some cases, if the device sends accounting-start packets or accounting stop packets to a RADIUS accounting server in the Down state, the device is required to cache accounting-start packets or accounting stop packets before the RADIUS accounting server goes Up.

After the radius-server accounting-start-packet resend command or the radius-server accounting-stop-packet resend command is run, the device caches accounting-start packets or accounting stop packets to a queue if the device fails to transmit accounting-start packets or accounting stop packets to the RADIUS accounting server. the device attempts to retransmit the cached accounting-start packets or accounting stop packets to the RADIUS accounting server every 10s. When the number of retransmission failures reaches the configured number of times that accounting-start packets or accounting stop packets are retransmitted to the RADIUS accounting server, the device discards the packets.

Precautions

This command is supported only on the admin VS.

Example

# Set the number of times that cached accounting-start packets are retransmitted to a RADIUS accounting server to 60.
<HUAWEI> system-view
[~HUAWEI] radius-server group huawei
[~HUAWEI-radius-huawei] radius-server accounting-start-packet resend 60
# Set the number of times that the accounting server retransmits accounting stop packets to 60.
<HUAWEI> system-view
[~HUAWEI] radius-server group huawei
[~HUAWEI-radius-huawei] radius-server accounting-stop-packet resend 60
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >