
Operation Manual – Traffic Accounting
H3C S7500 Series Ethernet Switches Chapter 1 Traffic Accounting Configuration
1-4
Table 1-3 Configure a traffic group for a domain
Configuration Use the command... Remarks
Enter system view system-view —
Enter ISP domain view domain domain-name —
Set the accounting mode to
traffic accounting accounting-mode traffic Required
Configure the domain to
use a specified traffic group traffic-group group-name rate
idnum Required
Note:
zThe interface card that connects an external network (the Internet) should be
configured as a traffic collection card.
zCurrently, only single rate is supported, and multi-rate is not supported.
1.3 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.
Table 1-4 Display traffic accounting
To do... Use the command... Remarks
Display traffic group
information display traffic-accounting
traffic-group [group-name ]
Display traffic accounting
configuration display traffic-accounting
accounting-slot [ slot-num ]
Display traffic statistics of
one or all online users display traffic-accounting
statistics [ip-address ]
You can execute
the display
command in any
view.
1.4 Traffic Accounting Configuration Example
I. Network requirements
zA user running a 802.1x authentication client accesses the Internet through a
switch. The user can access external networks after passing the authentication.
The accounting mode is traffic accounting. When the user accesses the networks
11.127.1.0/24 and 12.127.1.0/24, the accounting server CAMS charges the user
for the user's online traffic. When the user accesses other network segments,
however, the user is not charged.