3Com Switch 7750 Configuration Guide Guide

632 CHAPTER 58: QOS CONFIGURATION
Configuration Example GigabitEthernet1/0/1 is accessed to the network segment 10.1.1.1/24.
Perform the RED queue scheduling algorithm for all the inbound traffic from
10.1.1.1/24
Set the parameters as follows: the packets are dropped at random when the
queue length exceeds 64 kbytes, all packets are dropped when the queue
length exceeds 128 kbytes, and the drop probability is 20%.
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
[SW7750] interface Ethernet 1/0/1
[SW7750-Ethernet1/0/1] qos
[SW7750-qoss-Ethernet1/0/1] traffic-red outbound ip-group 2000 64 128 20
Configuring Traffic
Statistics
Refer to “Traffic-based Traffic Statistics” for the introduction to traffic statistics.
Configuration
Prerequisites
ACL rules used for traffic identifying are defined. Refer to the ACL module in
the book for defining ACL rules
The ports that needs this configuration are specified
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 496, and
non-type-A I/O Modules’ way of combination is described in Table 497.
Tabl e 503 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