3
Syntax
accounting command hwtacacs-scheme
hwtacacs-scheme-name
undo accounting command
Default
The default accounting methods of the ISP domain are used for command line accounting.
Views
ISP domain view
Predefined user roles
network-admin
mdc-admin
Parameters
hwtacacs-scheme
hwtacacs-scheme-name
: Specifies an HWTACACS scheme by its name, a
case-insensitive string of 1 to 32 characters.
Usage guidelines
The command line accounting feature works with the accounting server to record valid commands
that have been successfully executed on the device.
•
When the command line authorization feature is disabled, the accounting server records all
valid commands that have been successfully executed.
•
When the command line authorization feature is enabled, the accounting server records only
authorized commands that have been successfully executed.
Command line accounting can use only a remote HWTACACS server.
Examples
# In ISP domain
test
, perform command line accounting based on HWTACACS scheme
hwtac
.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting command hwtacacs-scheme hwtac
Related commands
accounting default
command accounting
(
Fundamentals Command Reference
)
hwtacacs scheme
accounting default
Use
accounting default
to specify default accounting methods for an ISP domain.
Use
undo accounting default
to restore the default.
Syntax
In non-FIPS mode:
accounting default
{
hwtacacs-scheme
hwtacacs-scheme-name
[
radius-scheme
radius-scheme-name
] [
local
] [
none
]
|
local
[
none
] |
none
|
radius-scheme
radius-scheme-name
[
hwtacacs-scheme
hwtacacs-scheme-name
]
[
local
] [
none
] }
undo accounting default
In FIPS mode: