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

Configuration example, Network requirements, Configuration procedure, Configuring WFQ queuing

Page 53 highlights

Step 1. Enter system view. 2. Enter interface view. 3. (Optional.) Enable WRR queuing. 4. Configure group-based WRR queuing. Command Remarks system-view N/A interface interface-type interface-number N/A qos wrr { byte-count | weight } The default queuing algorithm on an interface is byte-count WRR queuing. qos wrr queue-id group { 1 | 2 } { byte-count | weight } schedule-value Select an approach according to the WRR queuing type. By default, all queues are in 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 Enable packet-based WRR on port Ten-GigabitEthernet 1/1/5, assign queues 0 through 3 to WRR group 1, with their weights being 1, 2, 4, 6, respectively, and assign queues 4 through 7 to WRR group 2, with their weights being 1, 2, 4, 6, respectively. Configuration procedure # Enter system view. system-view # Configure WRR queuing on Ten-GigabitEthernet 1/1/5. [Sysname] interface Ten-GigabitEthernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr weight [Sysname-Ten-GigabitEthernet1/1/5] qos wrr 0 group 1 weight 1 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr 1 group 1 weight 2 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr 2 group 1 weight 4 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr 3 group 1 weight 6 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr 4 group 2 weight 1 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr 5 group 2 weight 2 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr 6 group 2 weight 4 [Sysname-Ten-GigabitEthernet1/1/5] qos wrr 7 group 2 weight 6 Configuring WFQ queuing Configuration procedure To configure WFQ queuing: Step 1. Enter system view. 2. Enter interface view. Command system-view interface interface-type interface-number Remarks N/A N/A 47

  • 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

47
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
(Optional.) Enable
WRR queuing.
qos wrr
{
byte-count
|
weight
}
The default queuing algorithm on an
interface is byte-count WRR queuing.
4.
Configure group-based
WRR queuing.
qos wrr
queue-id
group
{
1
|
2
}
{
byte-count
|
weight
}
schedule-value
Select an approach according to the WRR
queuing type.
By default, all queues are in 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
Enable packet-based WRR on port Ten-GigabitEthernet 1/1/5, assign queues 0 through 3 to WRR
group 1, with their weights being 1, 2, 4, 6, respectively, and assign queues 4 through 7 to
WRR group
2, with their weights being 1, 2, 4, 6, respectively.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure WRR queuing on Ten-GigabitEthernet 1/1/5.
[Sysname] interface Ten-GigabitEthernet 1/1/5
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr weight
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr 0 group 1 weight 1
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr 1 group 1 weight 2
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr 2 group 1 weight 4
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr 3 group 1 weight 6
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr 4 group 2 weight 1
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr 5 group 2 weight 2
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr 6 group 2 weight 4
[Sysname-Ten-GigabitEthernet1/1/5] qos wrr 7 group 2 weight 6
Configuring WFQ queuing
Configuration procedure
To configure WFQ queuing:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A