No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
accounting-mode

accounting-mode

Function

The accounting-mode command configures an accounting mode in an accounting scheme.

The undo accounting-mode command restores the default accounting mode in an accounting scheme.

By default, the accounting mode is none.

Format

accounting-mode { hwtacacs | none | radius }

undo accounting-mode

Parameters

Parameter

Description

Value

hwtacacs

Indicates that accounting is performed by an HWTACACS server.

-

none

Indicates non-accounting.

-

radius

Indicates that accounting is performed by a RADIUS server.

-

Views

Accounting scheme view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Enterprises or carriers need to generate revenue by charging users who are accessing the Internet.

When a user goes online, accounting starts after the user is authenticated and authorized. When the user goes offline, accounting stops. The client sends the account packet containing the user's online duration to the accounting server.

To charge users, set the accounting mode to RADIUS or HWTACACS. Generally, the accounting mode is consistent with the authentication mode. If you do not need to charge users, set the accounting mode to none.

Precautions

The device does not support local accounting. When the authentication scheme configured using the authentication-mode (authentication scheme view) command defines local authentication, you need to run the accounting-mode none command to configure non-accounting or run the accounting start-fail command to configure a policy for accounting-start failures.

Follow-up Procedure

Apply the accounting scheme to a domain to enable the device to charge the users in the domain using the domain (AAA view) command.

Example

# Set the accounting mode to RADIUS in the accounting scheme scheme1.

<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] accounting-scheme scheme1
[Huawei-aaa-accounting-scheme1] accounting-mode radius
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 206765

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next