3com 8807 사용자 가이드
QoS Configuration Example
207
Configuration procedure
# Re-specify the mapping between 802.1p priority and local precedence.
[SW8800] qos cos-local-precedence-map 7 6 5 4 3 2 1 0
# Use WRR algorithm for the queues 0 to 5. Set the queues 0, 1 and 2 into WRR
queue 1, with weight respectively as 20, 20 and 30; set the queues 3, 4 and 5 into
WRR queue 2, with weight respectively as 20, 20 and 40. Use SP algorithm for the
queues 6 and 7.
queue 1, with weight respectively as 20, 20 and 30; set the queues 3, 4 and 5 into
WRR queue 2, with weight respectively as 20, 20 and 40. Use SP algorithm for the
queues 6 and 7.
[3Com-GigabitEthernet7/1/1] queue-scheduler wrr group1 0 20 1 20 2 30 group2
3 20 4 20 5 40
[SW8800] display qos-interface GigabitEthernet7/1/1 queue-scheduler
GigabitEthernet7/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
Network requirements
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.
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.
Network diagram
Figure 52 Network diagram for WRED parameters configuration
Configuration procedure
1 Configure WRED parameters
# Configure parameters for WRED 0.
[SW8800] wred 0
[3Com-wred-0] queue 7 150 500 5 100 150 10 50 100 15 10
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