8
primary default 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
# Configure ISP domain test to use local accounting for portal users.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting portal local
# Configure ISP domain test to use RADIUS scheme rd for portal user accounting and use local
accounting as the backup.
<Sysname> system-view
[Sysname] domain test
[Sysname-isp-test] accounting portal radius-scheme rd local
Related commands
• accounting default
• local-user
• radius scheme
accounting ppp
Use accounting ppp to configure the accounting method for PPP users.
Use undo accounting ppp to restore the default.
Syntax
In non-FIPS mode:
accounting ppp { 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 ppp
In FIPS mode:
accounting ppp { hwtacacs-scheme hwtacacs-scheme-name [ radius-scheme radius-scheme-name ]
[ local ] | local | radius-scheme radius-scheme-name [ hwtacacs-scheme hwtacacs-scheme-name ]
[ local ] }
undo accounting ppp
Default
The default accounting method for the ISP domain is used for PPP users.
Views
ISP domain view
Predefined user roles
network-admin