3Com Switch 7750 Configuration Guide

Displaying Traffic Accounting 549
n
The interface module that connects external networks (Internet) should be
configured as traffic collection modules.
Currently, only single rate is supported, and multi-rate is not supported.
Displaying Traffic
Accounting
After the above configuration, you can execute the display command in any view
to display the operation status of traffic accounting and verify your configuration.
Configure the traffic
accounting slot
traffic-accounting
accounting-slot slot-num
Required
The traffic accounting slot
you specified must be the
slot where the traffic
accounting module
resides.
You will enter the traffic
accounting view directly
after the configuration
succeeds.
By default, no traffic
accounting slot is
specified.
Specify a traffic collection
card
Traffic-slot slot-num Required
Enable the traffic accounting
function
accounting enable Required
By default, this function is
disabled on the traffic
accounting module.
Table 430 Configure traffic group
Configuration Command Description
Enter system view system-view -
Create a traffic group and
enter traffic group view
traffic-accounting
traffic-group group-name
Required
Configure a network address
for the traffic group
network ip-address { mask |
mask-len }
Required
Table 431 Configure a traffic group for a domain
Configuration Command Description
Enter system view system-view -
Enter ISP domain view domain domain-name -
Set the accounting mode to
traffic accounting
accounting-mode traffic Required
By default, the system
performs accounting based
on time.
Configure the domain to use
a specified traffic group
traffic-group group-name
rate idnum
Required
Table 429 Configure the traffic accounting function
Operation Command Description