H3C Technologies H3C S3100 Series Switches User Manual

Page 605

Advertising
background image

1-26

Table 1-30 Generate traffic statistics on all the packets matching specific ACL rules

Operation

Command

Description

Enter system view

system-view

Generate 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

Table 1-31 Generate traffic statistics on packets that are of a VLAN and match specific ACL rules

Operation

Command

Description

Enter system view

system-view

Generate the statistics on the packets
matching specific ACL rules

traffic-statistic vlan vlan-id
inbound acl-rule

Required

Clear the statistics on the packets matching
specific ACL rules

reset traffic-statistic vlan
vlan-id inbound acl-rule

Optional

Table 1-32 Generate traffic statistics on packets that are of a port group and match specific ACL rules

Operation

Command

Description

Enter system view

system-view

Enter port group view

port-group group-id

Generate 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

Table 1-33 Generate traffic statistics on packets passing a port and matching specific ACL rules

Operation

Command

Description

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Generate 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

The traffic accounting function configured on a VLAN is only applicable to packets tagged with 802.1Q

header.

Advertising