value-added-service accounting-merge

Function

The value-added-service accounting-merge command enables accounting packet merging for value-added services.

The undo value-added-service accounting-merge command disables accounting packet merging for value-added services.

By default, accounting packet merging is disabled for value-added services.

This command is supported only on the NetEngine 8000 F1A.

Format

value-added-service accounting-merge edsg { stop | interim interval interval [ hash ] }

value-added-service accounting-merge edsg { stop | interim interval interval [ hash ] } report-dropped-flowqueue { inbound | outbound | both }

value-added-service accounting-merge daa { start | stop | interim interval interval [ hash ] }

undo value-added-service accounting-merge edsg [ stop | interim [ interval ] [ hash ] ] [ report-dropped-flowqueue [ inbound | outbound | both ] ]

undo value-added-service accounting-merge

undo value-added-service accounting-merge daa [ start | stop | interim [ interval interval ] [ hash ] ]

Parameters

Parameter Description Value
stop

Indicates an accounting stop packet.

-

interim

Indicates a real-time accounting packet.

-

interval interval

Specifies an interval at which real-time accounting packets are merged.

The value is an integer ranging from 30 to 65535, in minutes.

hash

Enables the hash function for post-merging real-time accounting packets for value-added services.

-

edsg

Indicates an EDSG service.

-

report-dropped-flowqueue

Enable the function of reporting dropped SQ traffic.

-

inbound

Specifies inbound direction.

-

outbound

Specifies outbound direction.

-

both

Specifies inbound and outbound direction.

-

daa

Indicates DAA services.

-

start

Indicates accounting start packets.

-

Views

AAA domain view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
aaa-access debug

Usage Guidelines

Usage Scenario

When a large number of users go online and each user applies for many value-added services, a large number of accounting packets are generated. The processing capability of a RADIUS accounting server is limited. To prevent the number of accounting packets from exceeding the processing capability of a RADIUS accounting server, the number of accounting packets sent by a device to a RADIUS accounting server must be reduced. You can run the value-added-service accounting-merge command to enable accounting packet merging for value-added services to relieve the pressure on the RADIUS accounting server. You can specify the report-dropped-flowqueue keyword in the command to enable the function of reporting dropped SQ traffic, preventing incorrect EDSG accounting.

When enabling real-time accounting packet merging for value-added services, specify the hash parameter to implement the hash function for post-merging real-time accounting packets, further relieving the pressure on the RADIUS accounting server.

Configuration Impact

After real-time accounting packet merging is enabled for value-added services, the real-time accounting interval in a value-added service policy's accounting scheme does not take effect. The value specified by <interval> in the value-added-service accounting-merge command is used as the real-time accounting interval. If both <interval> and hash are specified, the time for sending a real-time accounting packet for the first time is random and the random time ranges from <interval> to 2 x <interval>.

Precautions

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

When dual-device backup is deployed for EDSG services, the configurations for accounting packet merging must be the same on the master and backup devices to ensure that the merging behaviors remain unchanged after a master/backup device switchover.

Example

# Configure accounting packet merging for EDSG services, and enable the function of reporting dropped upstream SQ traffic.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain isp1
[*HUAWEI-aaa-domain-isp1] commit
[~HUAWEI-aaa-domain-isp1] value-added-service accounting-merge edsg stop report-dropped-flowqueue inbound
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >