Table 1-30 Generate traffic statistics on all the packets matching specific ACL rules
Operation
Enter system view
Generate the statistics on the packets
matching specific ACL rules
Clear the statistics on the packets matching
specific ACL rules
Table 1-31 Generate traffic statistics on packets that are of a VLAN and match specific ACL rules
Operation
Enter system view
Generate the statistics on the packets
matching specific ACL rules
Clear the statistics on the packets matching
specific ACL rules
Table 1-32 Generate traffic statistics on packets that are of a port group and match specific ACL rules
Operation
Enter system view
Enter port group view
Generate the statistics on the packets
matching specific ACL rules
Clear the statistics on the packets matching
specific ACL rules
Table 1-33 Generate traffic statistics on packets passing a port and matching specific ACL rules
Operation
Enter system view
Enter Ethernet port view
Generate the statistics on the packets
matching specific ACL rules
Clear the statistics on the packets matching
specific ACL rules
The traffic accounting function configured on a VLAN is only applicable to packets tagged with 802.1Q
header.
Command
system-view
traffic-statistic inbound
acl-rule
reset traffic-statistic
inbound acl-rule
Command
system-view
traffic-statistic vlan vlan-id
inbound acl-rule
reset traffic-statistic vlan
vlan-id inbound acl-rule
Command
system-view
port-group group-id
traffic-statistic inbound
acl-rule
reset traffic-statistic
inbound acl-rule
Command
system-view
interface interface-type
interface-number
traffic-statistic inbound
acl-rule
reset traffic-statistic
inbound acl-rule
1-26
Description
—
Required
Optional
Description
—
Required
Optional
Description
—
—
Required
Optional
Description
—
—
Required
Optional