H3C S7500 Series Ethernet Switches Operation Manual

Operation Manual – Traffic Accounting
H3C S7500 Series Ethernet Switches Chapter 1
Traffic Accounting Configuration
1-3
Note:
This document describes the configuration of traffic accounting. The configuration of
802.1x and CAMS server is not covered here.
1.2.2 Configuring Traffic Accounting
The following table describes the configuration tasks for traffic accounting.
Table 1-1 Configure the traffic accounting function
To do... Use the command... Remarks
Enter system view
system-view
Configure the traffic
accounting slot
traffic-accounting
accounting-slot
slot-num
Required
z The specified traffic
accounting slot must be the
slot where the traffic
accounting card resides.
z You will enter traffic
accounting view directly after
the configuration succeeds.
z 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
card.
Table 1-2 Configure traffic group
Configuration Use the command... Remarks
Enter system view
system-view
Configure a traffic group
traffic-accounting
traffic-group
group-name
Required
Enter traffic group view
automatically after
successful configuration.
Configure a network
address for the traffic
group
network ip-address
{ mask | mask-len }
Required
Use this command in
traffic group view.