47
Configuring accounting methods for an ISP domain
Configuration prerequisites
Before configuring accounting methods, complete the following tasks:
1. Determine the access type or service type to be configured. With AAA, you can configure an
accounting method for each access type and service type.
2. Determine whether to configure the default accounting method for all access types or service
types. The default accounting method applies to all access users. However, the method has a
lower priority than the accounting method that is specified for an access type or service type.
Configuration guidelines
When configuring accounting methods, follow these guidelines:
• FTP, SFTP, and SCP users do not support accounting.
• Local accounting does not provide statistics for charging. It only counts and controls the number
of concurrent users who use the same local user account. The threshold is configured by using
the access-limit command.
Configuration procedure
To configure accounting methods for an ISP domain:
1. Enter system view.
system-view
N/A
2. Enter ISP domain view.
domain
isp-name
N/A
3. Specify the default
accounting method
types of users.
accounting default
{
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
]
[
] }
By default, the accounting
method is
local
.
The
none
keyword is not
supported in FIPS mode.
4. Specify the command
accounting method.
hwtacacs-scheme
hwtacacs-scheme-name
By
accounting method is used
for command accounting.
5.
method for LAN users.
accounting lan-access
{
local
[
none
] |
none
|
radius-scheme
radius-scheme-name [
local
] [
none
] }
By
accounting method is used
for LAN users.
The
none
keyword is not
supported in FIPS mode.
6.
method for login users.
accounting login
{
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
]
[
] }
accounting method is used
for login users.
The
none
keyword is not
supported in FIPS mode.
7.
method for portal users.
accounting portal
{
local
[
none
] |
none
|
radius-scheme
radius-scheme-name
[
local
] [
none
] }
By default, the default
accounting method is used
for portal users.
The
none
keyword is not
supported in FIPS mode.