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

Configuring SP+WRR queuing, Configuration procedure, Configuration example, Network requirements

Page 55 highlights

Configuring SP+WRR queuing Configuration procedure To configure SP+WRR queuing: Step Command 1. Enter system view. system-view 2. Enter interface view. interface interface-type interface-number 3. Enable WRR queuing on the qos wrr { byte-count | port. weight } 4. Assign a queue to the SP queue scheduling group. qos wrr queue-id group sp 5. Assign a queue to a WRR group, and configure the scheduling weight for the queue. qos wrr queue-id group { 1 | 2 } { weight | byte-count } schedule-value Remarks N/A N/A By default, all ports use WRR queuing. By default, all the queues of a WRR-enabled port are in WRR group 1. Select weight or byte-count according to the WRR type (byte-count or packet-based) you have enabled. By default, all queues are in WRR group 1, and the weights of queues 0 through 7 are 1, 2, 3, 4, 5, 9, 13, and 15, respectively. Configuration example Network requirements • Configure SP+WRR queuing on Ten-GigabitEthernet 1/1/5, and use byte-count WRR. • Assign queues 0, 1, 2, and 3 on Ten-GigabitEthernet 1/1/5 to the SP group. • Assign queues 4 and 5 on Ten-GigabitEthernet 1/1/5 to WRR group 1, with the weights being 1 and 2, respectively, and assign queues 6 and 7 to WRR group 2, with the weights being 1 and 3, respectively. Configuration procedure # Enter system view. system-view # Configure SP+WRR queuing on Ten-GigabitEthernet 1/1/5. [Sysname] interface Ten-GigabitEthernet 1/1/5 [Sysname-Ten-GigabitEthernet 1/1/5] qos wrr byte-count [Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 0 group sp [Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 1 group sp [Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 2 group sp [Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 3 group sp [Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 4 group 1 byte-count 1 [Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 5 group 1 byte-count 2 [Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 6 group 2 byte-count 1 [Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 7 group 2 byte-count 3 49

  • 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

49
Configuring SP+WRR queuing
Configuration procedure
To configure SP+WRR queuing:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Enable WRR queuing on the
port.
qos wrr
{
byte-count
|
weight
}
By default, all ports use WRR queuing.
4.
Assign a queue to the SP
queue scheduling group.
qos wrr
queue-id
group
sp
By default, all the queues of a WRR-enabled
port are in WRR group 1.
5.
Assign a queue to a WRR
group, and configure the
scheduling weight for the
queue.
qos wrr
queue-id
group
{
1
|
2
} {
weight
|
byte-count
}
schedule-value
Select
weight
or
byte-count
according to the
WRR type (byte-count or packet-based) you
have enabled.
By default, all queues are in WRR group 1,
and the weights of queues 0 through 7 are 1,
2, 3, 4, 5, 9, 13, and 15, respectively.
Configuration example
Network requirements
Configure SP+WRR queuing on Ten-GigabitEthernet 1/1/5, and use byte-count WRR.
Assign queues 0, 1, 2, and 3 on Ten-GigabitEthernet 1/1/5 to the SP group.
Assign queues 4 and 5 on Ten-GigabitEthernet 1/1/5 to WRR group 1, with the weights being 1
and 2, respectively, and assign queues 6 and 7 to WRR group 2, with the weights being 1 and 3,
respectively.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure SP+WRR queuing on Ten-GigabitEthernet 1/1/5.
[Sysname] interface Ten-GigabitEthernet 1/1/5
[Sysname-Ten-GigabitEthernet 1/1/5] qos wrr byte-count
[Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 0 group sp
[Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 1 group sp
[Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 2 group sp
[Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 3 group sp
[Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 4 group 1 byte-count 1
[Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 5 group 1 byte-count 2
[Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 6 group 2 byte-count 1
[Sysname-Ten-GigabitEthernet 1/1/5] qos wrr 7 group 2 byte-count 3