To do...
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:
To do...
Enter system view
Enter port group view
Collect statistics about ACL
matching packets
Clear statistics about ACL
matching packets
4) Configuring traffic accounting for a port
Follow these steps to collect/clear statistics about incoming ACL matching packets on a
port:
To do...
Enter system view
Enter Ethernet port view
Collect statistics about
incoming ACL matching
packets
Use the command...
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
Use the command...
system-view
port-group group-id
traffic-statistic inbound
acl-rule
reset traffic-statistic
inbound acl-rule
Use the command...
system-view
interface interface-type
interface-number
traffic-statistic inbound acl-rule
1-38
Remarks
Optional
Remarks
—
Required
Optional
Remarks
—
—
Required
By default, traffic
accounting is disabled.
Optional
Remarks
—
—
Required