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

qos wrr { byte-count | weight }, Examples, Related commands, Syntax, Default, Views

Page 83 highlights

Examples # Enable weight-based WRR queuing on Ten-GigabitEthernet 1/1/5. system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr weight # Enable byte-count WRR queuing on Ten-GigabitEthernet 1/1/5. system-view [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr byte-count Related commands display qos wrr interface qos wrr { byte-count | weight } Use qos wrr { byte-count | weight } to configure the WRR queuing parameters for a queue on an interface. Use undo qos wrr to restore the default WRR queuing parameters of a queue on an interface. Syntax qos wrr queue-id group { 1 | 2 } { byte-count | weight } schedule-value undo qos wrr queue-id Default An interface uses the byte-count WRR queuing algorithm, and queues 0 through 7 are in WRR group 1, with their weights of 1, 2, 3, 4, 5, 9, 13, and 15, respectively. Views Ethernet interface view Predefined user roles network-admin Parameters queue-id: Specifies a queue by its ID in the range of 0 to 7. group 1: Specifies WRR group 1 or 2. byte-count: Allocates bandwidth to queues in terms of bytes. weight: Allocates bandwidth to queues in terms of packets. schedule-value: Specifies a scheduling weight for the specified queue in WRR queuing, in the range of 1 to 15, Usage guidelines You must use the qos wrr command to enable WRR queuing before you can configure WRR queuing parameters for a queue on an interface. The queue-id argument can be either a number or a keyword. Table 32 shows the number-keyword map. 78

  • 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

78
Examples
# Enable weight-based WRR queuing on Ten-GigabitEthernet 1/1/5.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/1/5
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr weight
# Enable byte-count WRR queuing on Ten-GigabitEthernet 1/1/5.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/1/5
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr byte-count
Related commands
display qos wrr interface
qos wrr { byte-count | weight }
Use
qos wrr
{
byte-count
|
weight
} to configure the WRR queuing parameters for a queue on an
interface.
Use
undo qos wrr
to restore the default WRR queuing parameters of a queue on an interface.
Syntax
qos wrr
queue-id
group
{
1
|
2
} {
byte-count
|
weight
}
schedule-value
undo qos wrr
queue-id
Default
An interface uses the byte-count WRR queuing algorithm, and queues 0 through 7 are in WRR group 1,
with their weights of 1, 2, 3, 4, 5, 9, 13, and 15, respectively.
Views
Ethernet interface view
Predefined user roles
network-admin
Parameters
queue-id
: Specifies a queue by its ID in the range of 0 to 7.
group
1
: Specifies WRR group 1 or 2.
byte-count
: Allocates bandwidth to queues in terms of bytes.
weight
: Allocates bandwidth to queues in terms of packets.
schedule-value
: Specifies a scheduling weight for the specified queue in WRR queuing, in the range of
1 to 15,
Usage guidelines
You must use the
qos wrr
command to enable WRR queuing before you can configure WRR queuing
parameters for a queue on an interface.
The
queue-id
argument can be either a number or a keyword.
Table 32
shows the number-keyword map.