H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Traffic Accounting
H3C S7500 Series Ethernet Switches Chapter 1
Traffic Accounting Configuration Commands
1-2
1.1.2 accounting-mode traffic
Syntax
accounting-mode traffic
View
ISP domain view
Parameters
None
Description
Use the accounting-mode traffic command to set the accounting mode to traffic
accounting.
Use the undo accounting-mode traffic command to restore the default accounting
mode.
By default, the system adopts the time-based accounting mode.
Examples
# Set the accounting mode to traffic accounting.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] domain cams
[H3C-isp-cams] accounting-mode traffic
# Restore the default accounting mode.
[H3C-isp-cams] undo accounting-mode traffic
1.1.3 debugging traffic-accounting event
Syntax
debugging traffic-accounting event
View
User view
Parameters
None
Description
Use the debugging traffic-accounting event command to turn on debugging for
traffic accounting.