1914
C
127: AAA C
HAPTER
Parameter
Description
Related command:
Example
C
ONFIGURATION
OMMANDS
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.
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.
Use the
accounting default
for all types of users.
Use the
undo accounting default
By default, the accounting scheme is local.
Note that:
The RADIUS or HWTACACS scheme specified for the current ISP domain must
■
have been configured.
The accounting scheme specified with the accounting default command is
■
for all types of users and has a priority lower than that for a specific access
mode.
Local accounting is only for managing the local user connection number; it
■
does not provide the statistics function. The local user connection number
management is only for local accounting; it does not affect local authentication
and authorization.
With the access mode of login, accounting is not supported for FTP services.
■
authentication default, authorization default, hwtacacs scheme, radius
scheme.
# Configure the default ISP domain system to use the local accounting scheme
for all types of users.
<Sysname> system-view
[Sysname] domain system
[Sysname-isp-system] auccounting default local
# Configure the default ISP domain system to use RADIUS accounting scheme rd
for all types of users and to use the local accounting scheme as the backup
scheme.
<Sysname> system-view
[Sysname] domain system
[Sysname-isp-system] accounting default radius-scheme rd local
# Configure the default ISP domain system to use the default accounting scheme
for all types of users.
command to specify the default accounting scheme
command to restore the default.