H3C S3100 Series Command Manual page 664

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

undo traffic-statistic vlan vlan-id inbound acl-rule
View
System view
Parameter
vlan-id: VLAN ID, in the range 1 to 4094.
inbound: Generates statistics on inbound packets.
acl-rule: ACL rules to be applied. This argument can be the combination of multiple ACLs. For more
information about this argument, refer to
must be those defined with the permit keyword specified.
Description
Use the traffic-statistic vlan command to generate statistics on packets that match specific ACL rules
and are of a specific VLAN.
Use the undo traffic-statistic vlan command to cancel the configuration.
Note that, for the same ACL rule, the traffic accounting function and the meter statistic keyword of the
traffic-limit command are mutually exclusive in a VLAN.
Only H3C S3100-EI series switches support this command.
The traffic accounting function configured on a VLAN is only applicable to packets tagged with 802.1Q
header.
Related command: display qos-vlan, reset traffic-statistic vlan.
Example
# Generate statistics on packets that match ACL 2000 and are of VLAN 1 (assuming that the current
device is an S3100-EI series switch).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] traffic-statistic vlan 1 inbound ip-group 2000
Table 1-9
and
Table
1-10. Note that the ACL rules referenced
1-44

Advertisement

Table of Contents
loading

Table of Contents