accounting dual-stack

Function

The accounting dual-stack command configures the accounting mode for IPv4/IPv6 dual-stack users.

By default, accounting is performed separately for IPv4 users and IPv6 users.

This command is supported only on the NetEngine 8000 F1A.

Format

accounting dual-stack { separate | identical }

Parameters

Parameter Description Value
separate

Indicates that traffic of IPv4 and IPv6 users is sent to the server separately and then accounted separately.

-

identical

Indicates that traffic of IPv4 and IPv6 users is sent to the server together and then accounted together.

-

Views

AAA domain view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

Usage Scenario

When separate is configured, traffic of IPv4 and IPv6 users is sent separately. The separate parameter applies to the scenarios where the tariffs of IPv4 and IPv6 traffic are different. When identical is configured, traffic of IPv4 and IPv6 users is sent together for unified processing.

Precautions

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

Example

# Configure separate accounting for IPv4 users and IPv6 users in a domain named huawei.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain huawei
[*HUAWEI-aaa-domain-huawei] commit
[~HUAWEI-aaa-domain-huawei] accounting dual-stack separate
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >