H3C Technologies H3C S5120 Series Switches User Manual

Page 420

Advertising
background image

1-14

AAA supports the following accounting methods:

z

No accounting: The system does not perform accounting for the users.

z

Local accounting: Local accounting is implemented on the access device. It is for collecting

statistics on the number of users and controlling the number of local user connections; it does not

provide statistics for user charge.

z

Remote accounting: The access device cooperates with a RADIUS server for accounting of users.

You can configure local accounting as the backup method to be used when the remote server is not

available.

By default, an ISP domain uses the local accounting method.

Before configuring accounting methods, complete these three tasks:

1) For RADIUS accounting, configure the RADIUS scheme to be referenced first. The local and none

authentication methods do not require any scheme.

2) Determine the access mode or service type to be configured. With AAA, you can configure an

accounting method specifically for each access mode and service type, limiting the accounting

protocols that can be used for access.

3) Determine whether to configure an accounting method for all access modes or service types.

Follow these steps to configure AAA accounting methods for an ISP domain:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter ISP domain view

domain isp-name

Enable the accounting optional
feature

accounting optional

Optional

Disabled by default

Specify the default accounting
method for all types of users

accounting default { local |
none | radius-scheme
radius-scheme-name [ local ] }

Optional

local by default

Specify the accounting method
for LAN users

accounting lan-access { local
|

none | radius-scheme

radius-scheme-name [ local ] }

Optional

The default accounting method
is used by default.

Specify the accounting method
for login users

accounting login { local |
none | radius-scheme
radius-scheme-name [ local ] }

Optional

The default accounting method
is used by default.

Advertising