To do...
Clear statistics about
incoming ACL matching
packets
User-defined traffic classification rules configured for traffic accounting in the global scope
or for a VLAN take precedence over the default rules used for processing protocol packets.
The device will collect traffic statistics preferentially, which may affect device management
implemented through Telnet and so on.
Configuration examples
# Collect and then clear the statistics about the incoming packets sourced from network
segment 10.1.1.0/24 (assume that GigabitEthernet 1/0/1 is connected to network segment
10.1.1.0/24 and carries VLAN 2).
1) Method I: configure traffic accounting for port GigabitEthernet 1/0/1
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface GigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1] traffic-statistic inbound ip-group 2000
[Sysname-GigabitEthernet1/0/1] reset traffic-statistic inbound ip-group 2000
2) Method II: configure traffic accounting for VLAN 2
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] traffic-statistic vlan 2 inbound ip-group 2000
[Sysname] reset traffic-statistic vlan 2 inbound ip-group 2000
Enabling the Burst Function
Refer to
Burst
Configuration prerequisites
The burst function is required.
Configuration procedure
Follow these steps to enable the burst function:
reset traffic-statistic inbound
acl-rule
for information about the burst function.
Use the command...
1-39
Remarks
Optional