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

buffer total-shared, Usage guidelines, Examples, Syntax, Default

Page 103 highlights

cell: Specifies cell resources. queue-id: Specifies a queue by its number in the range of 0 to 7. ratio ratio: Specifies the maximum shared-area space ratio, in percentage. Usage guidelines By default, all queues have the same maximum ratio of the shared area. You can set the shared-area ratio for a queue. The other queues use the default setting. The final shared-area ratio for each queue is determined by the chip based on the buffer queue shared command configuration and the number of packets to be sent. For the maximum shared-area ratio for a queue, the percentage values 0 to 100 are divided into 10 ranges. Table 37 shows the effective values that correspond to the values of ratio-value. Table 37 Mapping between values of ratio-value and effective values Value of ratio-value 0 to 1 2 to 3 4 to 7 8 to 16 17 to 29 30 to 42 43 to 60 61 to 76 77 to 86 89 to 100 Effective value 1 3 6 11 20 33 50 67 80 89 Examples # Configure queue 0 to use up to 5% shared-area space of cell resources in the egress buffer of IRF member device 2. system-view [Sysname] buffer egress slot 2 cell queue 0 shared ratio 5 buffer total-shared Use buffer total-shared to set the shared area ratio. Use undo buffer total-shared to restore the default setting. Syntax buffer egress [ slot slot-number ] cell total-shared ratio ratio-value undo buffer egress [ slot slot-number ] cell total-shared Default The shared area ratio is 100% of the buffer. 98

  • 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

98
cell
: Specifies cell resources.
queue-id
: Specifies a queue by its number in the range of 0 to 7.
ratio
ratio
: Specifies the maximum shared-area space ratio, in percentage.
Usage guidelines
By default, all queues have the same maximum ratio of the shared area. You can set the shared-area ratio
for a queue. The other queues use the default setting. The final shared-area ratio for each queue is
determined by the chip based on the
buffer queue shared
command configuration and the number of
packets to be sent.
For the maximum shared-area ratio for a queue, the percentage values 0 to 100 are divided into 10
ranges.
Table 37
shows the effective values that correspond to the values of
ratio-value
.
Table 37
Mapping between values of
ratio-value
and effective values
Value of
ratio-value
Effective value
0 to 1
1
2 to 3
3
4 to 7
6
8 to 16
11
17 to 29
20
30 to 42
33
43 to 60
50
61 to 76
67
77 to 86
80
89 to 100
89
Examples
# Configure queue 0 to use up to 5% shared-area space of cell resources in the egress buffer of IRF
member device 2.
<Sysname> system-view
[Sysname] buffer egress slot 2 cell queue 0 shared ratio 5
buffer total-shared
Use
buffer total-shared
to set the shared area ratio.
Use
undo buffer total-shared
to restore the default setting.
Syntax
buffer egress
[
slot
slot-number
]
cell total-shared ratio
ratio-value
undo buffer egress
[
slot
slot-number
]
cell total-shared
Default
The shared area ratio is 100% of the buffer.