3Com Switch 7750 Configuration Guide
Configuring Traffic Statistics 677
Configuration Procedure
of Traffic Statistics
acl-rule: Applied ACL rules which can be the combination of various ACL rules.
Type-A I/O Modules’ way of combination is described in Table 540, and
non-type-A I/O Modules’ way of combination is described in Table 541.
Clearing Traffic Statistics
Information
acl-rule: Applied ACL rules which can be the combination of various ACL rules.
Type-A I/O Modules’ way of combination is described in Table 540, and
non-type-A I/O Modules’ way of combination is described in Table 541.
Configuration Example
■ Ethernet 2/0/1 of the switch is accessed into the 10.1.1.1/24 network segment
■ Perform traffic statistics on packets from the 10.1.1.1/24 network segment
Configuration procedure:
<SW7750> system-view
[SW7750] acl number 2000
[SW7750-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255
[SW7750-acl-basic-2000] quit
Table 547 Configure traffic statistics
Operation Command Description
Enter system view system-view -
Enter Ethernet port view interface interface-type
interface-number
-
Enter QoS view qos -
Use the ACL rules in traffic
identifying and perform traffic
statistics on the packets
matching with the ACL rules.
traffic-statistic { inbound |
outbound } acl-rule
[ system-index
system-index ]
Required
Type A I/O Modules support
this command.
traffic-statistic inbound
acl-rule [ system-index
system-index ]
Required
Non-type-A support this
command
Display the traffic statistics. display qos-interface
[ interface-type
interface-number ]
Optional
You can execute the display
command in any view
Display all the QoS settings of
the port
display qos-interface
[ interface-type
interface-number ] all
Table 548 Clear traffic statistics information
Operation Command Description
Enter system view system-view -
Enter Ethernet port view interface interface-type
interface-number
-
Enter QoS view qos -
Clear the statistics of the
traffic matching with the
specified ACL rules
reset
traffic-statistic { inbound |
outbound } acl-rule
Required
Type-A I/O Modules support
this command.
reset traffic-statistic
inbound acl-rule
Required
Non-type-A I/O Modules
support this command.