2-17
[Sysname-radius-radius1] retry 5
retry realtime-accounting
Syntax
retry realtime-accounting
retry-times
undo retry realtime-accounting
View
RADIUS scheme view
Default Level
2: System level
Parameters
retry-times
: Maximum number of accounting request transmission attempts. It ranges from 1 to 255
and defaults to 5.
Description
Use the
retry realtime-accounting
command to set the maximum number of accounting request
transmission attempts.
Use the
undo retry realtime-accounting
command to restore the default.
Note that:
z
A RADIUS server usually checks whether a user is online by a timeout timer. If it receives from the
NAS no real-time accounting packet for a user in the timeout period, it considers that there may be
line or device failure and stops accounting for the user. This may happen when some unexpected
failure occurs. In this case, the NAS is required to disconnect the user in accordance. This is done
by the maximum number of accounting request transmission attempts. Once the limit is reached
but the NAS still receives no response, the NAS disconnects the user.
z
Suppose that the RADIUS server response timeout period is 3 seconds (set with the
timer
response-timeout
command), the timeout retransmission attempts is 3 (set with the
retry
command), and the real-time accounting interval is 12 minutes (set with the
timer
realtime-accounting
command), and the maximum number of accounting request transmission
attempts is 5 (set with the
retry realtime-accounting
command). In such a case, the device
generates an accounting request every 12 minutes, and retransmits the request when receiving
no response within 3 seconds. The accounting is deemed unsuccessful if no response is received
within 3 requests. Then the device sends a request every 12 minutes, and if for 5 times it still
receives no response, the device will cut the user connection.
Related commands:
radius scheme
,
timer realtime-accounting
.
Examples
# Set the maximum number of accounting request transmission attempts to 10 for RADIUS scheme
radius1
.
<Sysname> system-view
[Sysname] radius scheme radius1
[Sysname-radius-radius1] retry realtime-accounting 10
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...