3com 5500-ei pwr Reference Guide
1-34
View
Ethernet port view
Parameters
inbound: Enables traffic accounting for the inbound packets.
acl-rule: ACL rules to be applied for traffic classification. This argument can be the
combination of multiple ACLs. For more information about this argument, refer to
and
. Note that the ACL rules referenced must be those defined with the permit
keyword.
Description
Use the traffic-statistic command to enable traffic accounting for packets matching
specific ACL rules.
Use the undo traffic-statistic command to disable traffic accounting.
Related commands: display qos-interface traffic-statistic, reset traffic-statistic.
Examples
# Enable traffic accounting on Ethernet 1/0/1 for the inbound packets sourced from the IP
network segment 1.1.1.0/24.
<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] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] traffic-statistic inbound ip-group 2000
# Display traffic statistics of Ethernet 1/0/1.
[Sysname-Ethernet1/0/1] display qos-interface Ethernet 1/0/1 traffic-statistic
Ethernet1/0/1: traffic-statistic
Inbound:
Matches: Acl 2000 rule 0 running
20787 packets inprofile
11464 packets outprofile
wred
Syntax
wred queue-index qstart probability
undo wred queue-index
View
Ethernet port view