accounting-scheme(Value-added service policy view)

Function

The accounting-scheme command configures the accounting scheme for the current service policy. The scheme must be a configured accounting scheme.

The undo accounting-scheme command restores the default accounting scheme of the service policy.

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 scheme-name

undo accounting-scheme

Parameters

Parameter Description Value
scheme-name

Specifies the name of the accounting scheme adopted by the service policy.

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

Value-added service policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vas write

Usage Guidelines

Usage Scenario

The accounting-scheme command is used to configure accounting schemes for value-added services.

Prerequisites

The value-added service policy template 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 value-added service policy template, the service is charged according to the accounting mode in the accounting scheme template.

Example

# Set the accounting scheme adopted by the current service policy to huawei.
<HUAWEI> system-view
[~HUAWEI] value-added-service policy policy1 bod
[~HUAWEI-vas-policy-policy1] accounting-scheme huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >