accounting-scheme(Prepaid profile view)

Function

The accounting-scheme command configures the accounting scheme for the current pre-paid profile. The scheme must be a configured accounting scheme.

The undo accounting-scheme command restores the default accounting scheme of the pre-paid profile.

By default, the accounting scheme adopted by the service policy is default1.

This command is supported only on the NetEngine 8000 F1A.

Format

accounting-scheme string-value

undo accounting-scheme [ string-value ]

Parameters

Parameter Description Value
string-value

Specifies the name of the accounting scheme adopted by the pre-paid profile.

The value is a string of 1 to 32 characters and case insensitive. The scheme name must comply with the naming regulation of Windows. It should not contain slash (\), anti-slash (/), colon (:), asterisk (*), question mask (?), quotation mask ("),(|), and angle brackets (< >).

Views

Prepaid profile view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vas write

Usage Guidelines

Usage Scenario

The prepaid function allows such an accounting mode that the RADIUS server to deliver session-time or traffic quotas to users beforehand. When the users or services use up their quotas, they will begin to apply for quotas until the server replies that the quotas are used up.

Prerequisites

The pre-paid profile and the accounting scheme template have been configured before you use the accounting-scheme command.

Configuration Impact

If the accounting scheme template is imported to the pre-paid profile template. The service is charged according to the accounting mode in the accounting scheme template.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Set the accounting scheme adopted by the pre-paid profile template test to RADIUS.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] accounting-scheme radius
[*HUAWEI-aaa-accounting-radius] commit
[~HUAWEI-aaa-accounting-radius] quit
[~HUAWEI-aaa] quit
[~HUAWEI] prepaid-profile test
[~HUAWEI-prepaid-profile-test] accounting-scheme radius
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >