3
accounting default
Use
accounting default
to configure the default accounting method for an ISP domain.
Use
undo accounting default
to restore the default.
Syntax
accounting default
{
hwtacacs-scheme
hwtacacs-scheme-name
[
local
] |
local
|
none
|
radius-scheme
radius-scheme-name
[
local
] }
undo accounting default
Default
The default accounting method of an ISP domain is
local
.
Views
ISP domain view
Default command level
2: System level
Parameters
hwtacacs-scheme
hwtacacs-scheme-name
: Specifies an HWTACACS scheme by its name, a
case-insensitive string of 1 to 32 characters.
local
: Performs local accounting.
none
: Does not perform any accounting.
radius-scheme
radius-scheme-name
: Specifies a RADIUS scheme by its name, a case-insensitive
string of 1 to 32 characters.
Usage guidelines
The specified RADIUS or HWTACACS scheme must have been configured.
The default accounting method is used for all users who support the specified accounting method
and have no specific accounting method configured.
Local accounting is only used for monitoring and controlling the number of local user connections. It
does not provide the statistics function that the accounting feature generally provides.
Examples
# Configure the default accounting method for ISP domain
test
to use RADIUS accounting scheme
rd
and use local accounting as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting default radius-scheme rd local
Related commands
•
local-user
•
hwtacacs
scheme
•
radius
scheme
accounting dvpn
Use
accounting dvpn
to configure the accounting method for DVPN users.
Use
undo accounting dvpn
to restore the default.