6
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.
Accounting is not supported for login users who use FTP.
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
Related commands
•
local-user
•
accounting
default
•
hwtacacs
scheme
•
radius
scheme
accounting optional
Use
accounting
optional
to enable the accounting optional feature.
Use
undo
accounting optional
to disable the feature.
Syntax
accounting optional
undo accounting optional
Default
The feature is disabled.
Views
ISP domain view
Default command level
2: System level
Usage guidelines
After you configure the
accounting optional
command for a domain, a user who would otherwise be
disconnected can continue to use the network resources when no accounting server is available or
when communication with the current accounting server fails. However, the device no longer sends