Enabling the burst function – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 372

Advertising
background image

37-28

To do…

Use the command…

Remarks

Collect the statistics on the packets
matching specific ACL rules

traffic-statistic

inbound acl-rule

Required

Clear the statistics on the packets
matching specific ACL rules

reset traffic-statistic

inbound acl-rule

Optional

As the priority of traffic classification rules is higher than that of the default rules used for processing
protocol packets, collecting traffic statistics on all the packets or packets of a VLAN may affect device
management that is implemented through Telnet and so on

Configuration example

z

GigabitEthernet 1/0/1 is connected to the 10.1.1.0/24 network segment.

z

Collect statistics on the packets sourced from the 10.1.1.0/24 network segment.

z

Clear the statistics.

1) Method

I

<device> system-view

[device] acl number 2000

[device-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255

[device-acl-basic-2000] quit

[device] interface GigabitEthernet1/0/1

[device-GigabitEthernet1/0/1] traffic-statistic inbound ip-group 2000

[device-GigabitEthernet1/0/1] reset traffic-statistic inbound ip-group 2000

2) Method

II

<device> system-view

[device] acl number 2000

[device-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255

[device-acl-basic-2000] quit

[device] traffic-statistic vlan 2 inbound ip-group 2000

[device] reset traffic-statistic vlan 2 inbound ip-group 2000

Enabling the Burst Function

Refer to

Burst

for information about the burst function.

Configuration prerequisites

The burst function is required.

Configuration procedure

Follow these steps to enable the burst function:

To do…

Use the command…

Remarks

Enter system view

system-view

Enable the burst function

burst-mode enable

Required
By default, the burst function is disabled.

Advertising