3com 3.01.01 User Manual

Page of 356
Configuration Examples
235
Ethernet7/1/1 Port scheduling:
 QID:   scheduling-group     weight
-----------------------------------
  0 :   wrr , group1           20
  1 :   wrr , group1           20
  2 :   wrr , group1           30
  3 :   wrr , group2           20
  4 :   wrr , group2           20
  5 :   wrr , group2           40
  6 :   sp                      0
  7 :   sp                      0
WRED Parameters 
Configuration Example
Set WRED parameters and drop algorithm for packets at the port GE7/1/1: 
Configure parameters for WRED 0; outbound queue ID is 7; green-min-threshold 
is 150;  green-max-threshold is 500; green-max-prob is 5; yellow-min-threshold is 
100;  yellow-max-threshold is 150; yellow-max-prob is 10; red-min-threshold is 50; 
red-max-threshold is 100; red-max-prob is 15; exponent is 10; the port is in WRED 
drop mode; import the parameters of WRED 0. 
Figure 14   Networking for QoS configuration
Configure parameters for WRED 0.
[SW8800]wred 0
[SW8800-wred-0]queue 7 150 500 5 100 150 10 50 100 15 10
Set drop algorithm and thresholds.
Define the port GE7/1/1 in WRED drop mode, set the parameters of WRED 0. 
[SW8800-GigabitEthernet7/1/1]drop-mode wred 0
Traffic Statistics 
Configuration Example
Suppose the IP address of PC1 is 1.0.0.1 and that of PC2 is 2.0.0.1. The switch is 
uplinked through the port GE7/1/8. Count the packets sent from the switch to 
PC1 during the time range from 8:00 to 18:00 every day.
GE7/1/8
GE7/1/1
GE7/1/2
VLAN2,
1.0.0.1/8
VLAN3,
2.0.0.1/8
PC1
PC2
GE7/1/8
GE7/1/1
GE7/1/2
VLAN2,
1.0.0.1/8
VLAN3,
2.0.0.1/8
PC1
PC2