HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 95

queue weighting-constant

Page 95 highlights

Usage guidelines When both the receiver and sender support ECN, the device can notify the peer end of the congestion status by identifying and setting the ECN flag. ECN avoids deteriorating congestion. Examples # In WRED table queue-table1, enable ECN for queue 1. system-view [Sysname] qos wred queue table queue-table1 [Sysname-wred-table-queue-table1] queue 1 ecn Related commands • display qos wred table • qos wred table queue weighting-constant Use queue weighting-constant to specify an exponent for average queue length calculation for a specified queue. Use undo queue weighting-constant to restore the default. Syntax queue queue-value weighting-constant exponent undo queue queue-value weighting-constant Default The exponent for average queue length calculation is 9. Views WRED table view Predefined user roles network-admin Parameters queue-value: Specifies a queue number. weighting-constant exponent: Specifies the WRED exponent for average queue length calculation, in the range of 0 to 15. Usage guidelines 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. Examples # In WRED table queue-table1, set the exponent for average queue length calculation to 12 for queue 1. system-view [Sysname] qos wred queue table queue-table1 [Sysname-wred-table-queue-table1] queue 1 weighting-constant 12 90

  • 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
  • 110
  • 111
  • 112
  • 113
  • 114

90
Usage guidelines
When both the receiver and sender support ECN, the device can notify the peer end of the congestion
status by identifying and setting the ECN flag. ECN avoids deteriorating congestion.
Examples
# In WRED table
queue-table1
, enable ECN for queue 1.
<Sysname> system-view
[Sysname] qos wred queue table queue-table1
[Sysname-wred-table-queue-table1] queue 1 ecn
Related commands
display qos wred table
qos wred table
queue weighting-constant
Use
queue weighting-constant
to specify an exponent for average queue length calculation for a
specified queue.
Use
undo queue weighting-constant
to restore the default.
Syntax
queue
queue-value
weighting-constant
exponent
undo queue
queue-value
weighting-constant
Default
The exponent for average queue length calculation is 9.
Views
WRED table view
Predefined user roles
network-admin
Parameters
queue-value
: Specifies a queue number.
weighting-constant
exponent
: Specifies the WRED exponent for average queue length calculation, in the
range of 0 to 15.
Usage guidelines
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.
Examples
# In WRED table
queue-table1
, set the exponent for average queue length calculation to 12 for queue
1.
<Sysname> system-view
[Sysname] qos wred queue table queue-table1
[Sysname-wred-table-queue-table1] queue 1 weighting-constant 12