5
Default level
2: System level
Parameters
hwtacacs-scheme
hwtacacs-scheme-name
: Specifies an HWTACACS scheme by its name, which is a
string of 1 to 32 characters.
local
: Performs local accounting. It is not used for charging purposes, but for collecting statistics on and
limiting the number of local user connections.
none
: Does not perform any accounting.
radius-scheme
radius-scheme-name
: Specifies a RADIUS scheme by its name, which is a string of 1 to 32
characters.
Description
Use the
accounting login
command to configure the accounting method for login users.
Use the
undo accounting login
command to restore the default.
By default, the default accounting method for the ISP domain is used for login users.
The specified RADIUS or HWTACACS scheme must have been configured.
Accounting is not supported for login users that use FTP.
Related commands:
local-user
,
accounting default
,
hwtacacs scheme
, and
radius scheme
.
Examples
# Configure ISP domain
test
to use local accounting for login users.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting login local
# Configure ISP domain
test
to use RADIUS accounting scheme
rd
for login users and use local
accounting as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting login radius-scheme rd local
accounting optional
Syntax
accounting optional
undo accounting optional
View
ISP domain view
Default level
2: System level
Parameters
None