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-scheme (AAA domain view)

accounting-scheme (AAA domain view)

Function

The accounting-scheme command applies an accounting scheme to a domain.

The undo accounting-scheme command restores the default accounting scheme of a domain.

By default, the accounting scheme named default is applied to a domain. In this default accounting scheme, non-accounting is used and the real-time accounting function is disabled.

Format

accounting-scheme accounting-scheme-name

undo accounting-scheme

Parameters

Parameter

Description

Value

accounting-scheme-name

Specifies the name of an accounting scheme.

The accounting scheme must already exist.

Views

AAA domain view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

To charge users in a domain, create an accounting scheme and perform configurations in the accounting scheme, for example, set the accounting mode and policy for accounting-start failures. Run the accounting-scheme command in the AAA domain view to apply the accounting scheme to the domain.

Prerequisites

An accounting scheme has been created and configured using the accounting-scheme (AAA view) command. For example, the accounting mode and policy for accounting-start failures have been configured.

Example

# Apply the accounting scheme account1 to the domain isp1.

<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] accounting-scheme account1
[Huawei-aaa-accounting-account1] quit
[Huawei-aaa] domain isp1
[Huawei-aaa-domain-isp1] accounting-scheme account1

# Restore the default accounting scheme of the domain isp2.

<Huawei> system-view
[Huawei] aaa
[Huawei-aaa] domain isp2
[Huawei-aaa-domain-isp2] undo accounting-scheme
Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 210231

Downloads: 122

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