3
undo accounting advpn
Default
The default accounting method of the ISP domain is used for ADVPN 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 one primary accounting method and multiple backup accounting methods.
When the primary method is invalid, the device attempts to use the backup methods in sequence.
For example, the
accounting advpn radius-scheme
radius-scheme-name
local
none
command
specifies a primary RADIUS accounting method and two backup methods (local accounting and no
accounting). The device performs RADIUS accounting by default and performs local accounting
when the RADIUS server is invalid. The device does not perform accounting when both of the
previous methods are invalid.
Examples
# In ISP domain
test
, perform local accounting for ADVPN users.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting advpn local
# In ISP domain
test
, perform RADIUS accounting for ADVPN users based on scheme
rd
and use
local accounting as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting advpn radius-scheme rd local
Related commands
accounting default
local-user
radius scheme
accounting command
Use
accounting command
to specify the command line accounting method.
Use
undo accounting command
to restore the default.
Syntax
accounting command hwtacacs-scheme
hwtacacs-scheme-name
undo accounting command