Command Manual – AAA&RADIUS&HWTACACS
H3C S3610&S5510 Series Ethernet Switches
Chapter 1 AAA & RADIUS & HWTACACS
Configuration Commands
1-2
1.1.2 accounting default
Syntax
accounting default
{
radius-scheme
radius-scheme-name
[
local
] |
hwtacacs-scheme
hwtacacs-scheme-name
[
local
] |
local
|
none
}
undo accounting default
View
ISP domain view
Parameter
radius-scheme-name
: Name of RADIUS scheme, a string not exceeding 32 characters.
hwtacacs-scheme-name:
Name of HWTACACS scheme, a string not exceeding 32
characters.
local
: Local accounting.
none
: No accounting.
Description
Use the
accounting default
command to configure an accounting scheme for all
users.
Use the
undo accounting default
command to restore the default accounting scheme
for all users.
By default, the
local
scheme is configured.
It should be noted that:
z
The accounting scheme configured by the
accounting default
command is
applicable to all users. The priority of this configuration is lower than that of a
specific access mode.
z
Local accounting is only used to support the management of local user
connections without real statistical function. The management of local connections
takes effect for local accounting rather than local authentication and authorization.
z
In the login access mode, accounting is not supported for FTP services.
Related command:
authentication default and authorization default
.
Example
# In the default ISP domain named system, configure
local
as the default accounting
scheme for all users.
<Sysname>system-view
System View: return to User View with Ctrl+Z.
[Sysname] domain system
[Sysname-isp-system] accounting default local