HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Configuration Guide - Page 60

Displaying and maintaining WRED

Page 60 highlights

• Upper threshold and lower threshold-When the average queue size is smaller than the lower threshold, no packet is dropped. When the average queue size is between the lower threshold and the upper threshold, the packets are dropped based on the user-configured drop probability. When the average queue size exceeds the upper threshold, subsequent packets are dropped. • Drop priority-A parameter used for packet drop. The value 0 corresponds to green packets, the value 1 corresponds to yellow packets, and the value 2 corresponds to red packets. Red packets are preferentially dropped. • Exponent used for average queue size calculation-The bigger the exponent is, the less sensitive the average queue size is to real-time queue size changes. The average queue size is calculated using the formula: average queue size = previous average queue size × (1-2-n) + current queue size × 2-n, where n can be configured with the qos wred weighting-constant command. • Numerator for drop probability calculation in percentage-The larger the value is, the greater the drop probability is. To configure and apply a WRED table: Step 1. Enter system view. 2. Create a WRED table and enter its view. 3. (Optional.) Set the WRED exponent for average queue size calculation. Command system-view qos wred queue table table-name queue queue-value weighting-constant exponent Remarks N/A N/A The default setting is 9. 4. (Optional.) Configure the other WRED parameters. queue queue-value [ drop-level drop-level ] low-limit low-limit high-limit high-limit [ discard-probability discard-prob ] By default, low-limit is 100, high-limit is 1000, and discard-prob is 10. 5. (Optional.) Enable ECN for a queue. queue queue-value ecn By default, ECN is not enabled on any queue. 6. Enter interface view. interface interface-type interface-number N/A 7. Apply the WRED table to the interface. qos wred apply [ table-name ] By default, no WRED table is applied to an interface, and the tail drop is used on an interface. A WRED table can be applied to multiple interfaces. For a WRED table already applied to an interface, you can modify the values of the WRED table, but you cannot remove the WRED table. Displaying and maintaining WRED Execute display commands in any view. Task Command Display WRED configuration information on the display qos wred interface [ interface-type interface or all interfaces. interface-number ] 54

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109

54
Upper threshold and lower threshold
—When the average queue size is smaller than the lower
threshold, no packet is dropped. When the average queue size is between the lower threshold and
the upper threshold, the packets are dropped based on the user-configured drop probability. When
the average queue size exceeds the upper threshold, subsequent packets are dropped.
Drop priority
—A parameter used for packet drop. The value 0 corresponds to green packets, the
value 1 corresponds to yellow packets, and the value 2 corresponds to red packets. Red packets
are preferentially dropped.
Exponent used for average queue size calculation
—The bigger the exponent is, the less sensitive
the average queue size is to real-time queue size changes. The average queue size is calculated
using the formula: average queue size = previous average queue size × (1-2
-n
) + current queue size
× 2
-n
, where n can be configured with the
qos wred weighting-constant
command.
Numerator for drop probability calculation in percentage
—The larger the value is, the greater the
drop probability is.
To configure and apply a WRED table:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a WRED table
and enter its view.
qos wred queue table
table-name
N/A
3.
(Optional.) Set the
WRED exponent for
average queue size
calculation.
queue
queue-value
weighting-constant
exponent
The default setting is 9.
4.
(Optional.) Configure
the other WRED
parameters.
queue
queue-value
[
drop-level
drop-level
]
low-limit
low-limit
high-limit
high-limit
[
discard-probability
discard-prob
]
By default,
low-limit
is 100,
high-limit
is 1000, and
discard-prob
is 10.
5.
(Optional.) Enable ECN
for a queue.
queue
queue-value
ecn
By default, ECN is not enabled
on any queue.
6.
Enter interface view.
interface
interface-type interface-number
N/A
7.
Apply the WRED table
to the interface.
qos wred apply
[
table-name
]
By default, no WRED table is
applied to an interface, and the
tail drop is used on an interface.
A WRED table can be applied to
multiple interfaces. For a WRED
table already applied to an
interface, you can modify the
values of the WRED table, but
you cannot remove the WRED
table.
Displaying and maintaining WRED
Execute
display
commands in any view.
Task
Command
Display WRED configuration information on the
interface or all interfaces.
display qos wred interface
[
interface-type
interface-number
]