accounting-copy

Function

The accounting-copy command enables the accounting packet copy function on a BAS interface or domain and configure the RADIUS server group to which the accounting packets on the BAS interface are copied.

The undo accounting-copy command disables the accounting packet copy function on a BAS interface.

By default, the accounting packets are not copied to a RADIUS server group.

This command is supported only on the NetEngine 8000 F1A.

Format

accounting-copy radius-server radius-name

undo accounting-copy radius-server

Parameters

Parameter Description Value
radius-server radius-name

Specifies the name of a RADIUS server group.

The value is a string of 1 to 32 characters.

Views

AAA domain view, BAS interface view (FE), BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
aaa-access write

Usage Guidelines

Usage Scenario

The cooperation or hierarchy mode may be adopted for network operation, which requires accounting bills to be sent to multiple parties. Accounting bills function as original accounting information and facilitate settlement. Hence, the accounting-copy radius-server command is provided to configure sending of accounting packets of a bas interface and domain to a RADIUS server group.

Prerequisites

The RADIUS server group specified in this command must exist on the device. If the RADIUS server group does not exist, create it on the device.

Example

# Send accounting packets of domain isp1 to RADIUS server group isp2.
<HUAWEI> system-view
[~HUAWEI] radius-server group isp2
[*HUAWEI-radius-isp2] commit
[~HUAWEI-radius-isp2] quit
[~HUAWEI] aaa
[~HUAWEI-aaa] domain isp1
[*HUAWEI-aaa-domain-isp1] commit
[~HUAWEI-aaa-domain-isp1] accounting-copy radius-server isp2
# Copy the accounting packets of Layer 2 users on the BAS interface GE 0/1/9 to the RADIUS server group named huawei.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/9
[~HUAWEI-GigabitEthernet0/1/9] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/9-bas] commit
[~HUAWEI-GigabitEthernet0/1/9-bas] accounting-copy radius-server huawei
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >