QID:
scheduling-group
-----------------------------------
0 :
wrr , group2
1 :
wrr , group2
2 :
wrr , group2
3 :
wrr , group1
4 :
wrr , group1
5 :
wrr , group1
6 :
sp
7 :
sp
Configuring Traffic Accounting
Refer to
Flow-Based Traffic Accounting
Configuration prerequisites
The ACL rules for traffic classification have been defined. Refer to the ACL module of this manual for
information about defining ACL rules.
Configuration procedures
You can collect/clear traffic statistics about incoming ACL matching packets globally, in a VLAN, in a
port group, or on a port.
1)
Configuring traffic accounting globally
Follow these steps to collect/clear statistics about the incoming ACL matching packets globally:
To do...
Enter system view
Collect statistics of the packets
matching a specific ACL rule
Clear statistics of the packets
matching a specific ACL rule
2)
Configuring traffic accounting for a VLAN
Follow these steps to collect/clear statistics about the incoming ACL matching packets in a VLAN:
To do...
Enter system view
Collect statistics about incoming
ACL matching packets
Clear statistics about the packets
matching a specific ACL rule
3)
Configuring traffic accounting for a port group
Follow these steps to collect/clear statistics about incoming ACL matching packets in a port group:
weight
20
20
40
20
20
30
0
0
for information about traffic accounting.
Use the command...
system-view
traffic-statistic inbound acl-rule
reset traffic-statistic inbound
acl-rule
Use the command...
system-view
traffic-statistic vlan vlan-id
inbound acl-rule
reset traffic-statistic vlan vlan-id
inbound acl-rule
1-22
Remarks
—
Required
Optional
Remarks
—
Required
Optional