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.
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.
<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
<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