46
2.
Determine the access type or service type to be configured. With AAA, configure an accounting
method for each access type and service type, limiting the accounting protocols that can be used
for access.
3.
Determine whether to configure an accounting method for all access types or service types.
To configure AAA accounting methods for an ISP domain:
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Enter ISP domain view.
domain
isp-name
—
3.
Enable the accounting
optional feature.
accounting optional
Optional.
Disabled by default.
With the accounting optional
feature, a router allows users
to use network resources when
no accounting server is
available or when
communication with all
accounting servers fails.
4.
Specify the default accounting
method for all types of users.
accounting default
{
hwtacacs-scheme
hwtacacs-scheme-name
[
local
] |
local
|
none
|
radius-scheme
radius-
scheme-name
[
local
] }
Optional.
local
by default.
5.
Specify the command
accounting method.
accounting command hwtacacs-
scheme
hwtacacs-scheme-name
Optional.
The default accounting method
is used by default.
6.
Specify the accounting
method for DVPN users.
accounting dvpn
{
local
|
none
|
radius-scheme
radius-scheme-name
[
local
] }
Optional.
The default accounting method
is used by default.
7.
Specify the accounting
method for LAN users.
accounting lan-access
{
local
|
none
|
radius-scheme
radius-scheme-name
[
local
|
none
] }
Optional.
The default accounting method
is used by default.
This command is supported
only on routers with SAP
modules.
8.
Specify the accounting
method for login users.
accounting login
{
hwtacacs-scheme
hwtacacs-scheme-name
[
local
] |
local
|
none
|
radius-scheme
radius-
scheme-name
[
local
] }
Optional.
The default accounting method
is used by default.
9.
Specify the accounting
method for portal users.
accounting portal
{
local
|
none
|
radius-scheme
radius-scheme-name
[
local
] }
Optional.
The default accounting method
is used by default.
10.
Specify the accounting
method for PPP users.
accounting ppp
{
hwtacacs-scheme
hwtacacs-scheme-name
[
local
] |
local
|
none
|
radius-scheme
radius-
scheme-name
[
local
] }
Optional.
The default accounting method
is used by default.
11.
Specify the accounting
method for SSL VPN users.
accounting ssl-vpn radius-scheme
radius-scheme-name
Optional.
The default accounting method
is used by default.