![HP 5120 SI Series Command Reference Manual Download Page 15](http://html.mh-extra.com/html/hp/5120-si-series/5120-si-series_command-reference-manual_162935015.webp)
4
accounting lan-access
Syntax
accounting
lan-access
{
local
|
none
|
radius-scheme
radius-scheme-name
[
local
|
none
] }
undo accounting lan-access
View
ISP domain view
Default level
2: System level
Parameters
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.
Description
Use the
accounting lan-access
command to configure the accounting method for LAN users.
Use the
undo accounting lan-access
command to restore the default.
By default, the default accounting method for the ISP domain is used for LAN users.
The specified RADIUS scheme must have been configured.
Related commands:
local-user
,
accounting default
, and
radius scheme
.
Examples
# Configure ISP domain
test
to use local accounting for LAN users.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting lan-access local
# Configure ISP domain
test
to use RADIUS accounting scheme
rd
for LAN users and use local
accounting as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting lan-access radius-scheme rd local
accounting login
Syntax
accounting login
{
hwtacacs-scheme
hwtacacs-scheme-name
[
local
] |
local
|
none
|
radius-scheme
radius-scheme-name
[
local
] }
undo accounting login
View
ISP domain view