The accounting dual-stack separate command enables the function of collecting statistics on IPv4 and IPv6 traffic separately.
The undo accounting dual-stack separate command disables the function of collecting statistics on IPv4 and IPv6 traffic separately.
By default, statistics on IPv4 and IPv6 traffic are collected together.
Only the S5720-EI, S6720-EI, S6720S-EI, S5720-HI, S5730-HI, S6720-HI, S5731-H, S5731S-H, S5731-S, S5731S-S, S5732-H,?S6730-H, S6730-S,? S6730S-H and S6730S-S support this command.
Usage Scenario
To collect statistics on IPv4 and IPv6 traffic separately or perform accounting for IPv4 and IPv6 users respectively, you need to run the statistic enable command to enable the traffic statistics collection function, and then run the accounting dual-stack separate command to enable the function of collecting statistics on IPv4 and IPv6 traffic respectively.
Precautions
You are advised to configure this function before users go online. If this function is configured after users go online, the statistics on IPv4 and IPv6 traffic are inaccurate. In this case, you are advised to re-collect traffic statistics after users go offline.
# Enable the function of collecting statistics on IPv4 and IPv6 traffic separately.
<HUAWEI> system-view [HUAWEI] aaa [HUAWEI-aaa] domain huawei [HUAWEI-aaa-domain-huawei] accounting dual-stack separate Warning: This operation may cause online users' traffic statistics inaccurate, Re-online is recommended after this operation, continue?[Y/N]y