4
Syntax
accounting dvpn
{
local
|
none
|
radius-scheme
radius-scheme-name
[
local
] }
undo accounting dvpn
Default
The default accounting method for the ISP domain is used for DVPN users.
Views
ISP domain view
Default command 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, a case-insensitive
string of 1 to 32 characters.
Usage guidelines
The specified RADIUS scheme must have been configured.
Examples
# Configure ISP domain
test
to use local accounting for DVPN users.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting dvpn local
# Configure ISP domain
test
to use RADIUS accounting scheme
rd
for DVPN users and use local
accounting as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting dvpn radius-scheme rd local
Related commands
•
local-user
•
accounting
default
•
radius
scheme
accounting lan-access
Use
accounting lan-access
to configure the accounting method for LAN users.
Use
undo accounting lan-access
to restore the default.
Syntax
accounting
lan-access
{
local
|
none
|
radius-scheme
radius-scheme-name
[
local
|
none
] }
undo accounting lan-access
Default
The default accounting method for the ISP domain is used for LAN users.