HP MSR2000/3000/4000 Router Series Security Command Reference
5
accounting lan-access { local | radius-scheme radius-scheme-name [ local ] }
undo accounting lan-access
Default
The default accounting method for the ISP domain is used for LAN users.
Views
ISP domain view
Predefined user roles
network-admin
Parameters
local: Performs local accounting.
none: Does not perform accounting.
radius-scheme radius-scheme-name: Specifies a RADIUS scheme by its name, a case-insensitive string of
1 to 32 characters.
Usage guidelines
You can specify multiple accounting methods, one primary and multiple backup methods. When the
primary method is invalid, the device attempts to use the backup methods in sequence. For example, the
accounting lan-access radius-scheme radius-scheme-name local none command specifies a primary
RADIUS accounting method and two backup accounting methods, local accounting and no accounting.
With this command, the device performs RADIUS accounting by default, performs local accounting
when the RADIUS server is invalid, and does not perform accounting when both of the previous methods
are invalid.
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
Related commands
• accounting default
• local-user
• radius scheme
accounting login
Use accounting login to specify the accounting method for login users.
Use undo accounting login to restore the default.