Command Manual (For Soliton) – AAA
H3C S3100 Series Ethernet Switches
Chapter 1 AAA Configuration Commands
1-32
Description
Use the
accounting
optional
command to open the accounting-optional switch.
Use the
undo
accounting optional
command to close the accounting-optional switch
so that the system performs accounting for users unconditionally.
By default, the system performs accounting for users unconditionally.
Note that:
z
If the system does not find any available accounting server or fails to communicate
with any accounting server when it performs accounting for an online user, it will
not disconnect the user as long as the
accounting optional
command has been
executed. This command is commonly used in the cases where only
authentication is needed and accounting is not needed.
z
This configuration takes effect only on the ISP domains using this RADIUS
scheme.
z
If you configure the
accounting optional
command in ISP domain view, it is
effective to all users in the domain; if you configure it in RADIUS scheme view, it is
effective to users the RADIUS scheme is used for.
Examples
# Open the accounting-optional switch in RADIUS scheme radius1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] radius scheme radius1
New Radius scheme
[Sysname-radius-radius1] accounting optional
1.2.2 accounting-on enable
Syntax
accounting-on enable
[
send
times
|
interval interval
]
undo accounting-on
{
enable
|
send
|
interval
}
View
RADIUS scheme view
Parameters
times
: Maximum number of attempts to send an Accounting-On message, ranging from
1 to 256 and defaulting to 15. If the maximum number has been reached but the switch
still receives no response from the CAMS, the switch stops sending Accounting-On
messages.