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

Configuration example, Network requirements, Configuration procedure

Page 54 highlights

Step 3. Enable WFQ queuing. 4. Configure a WFQ queue. 5. (Optional.) Configure the minimum guaranteed bandwidth for a WFQ queue. Command Remarks qos wfq { byte-count | weight } The default queuing algorithm on an interface is WRR queuing. qos wfq queue-id group { 1 | 2 } { byte-count | weight } schedule-value Select weight or byte-count according to the WFQ type (byte-count or packet-based) you have enabled. By default, all queues are in WFQ group 1 and have a weight of 1. qos bandwidth queue queue-id The default setting is 64 kbps for each min bandwidth-value queue. Configuration example Network requirements • Configure byte-count WFQ queuing on interface Ten-GigabitEthernet 1/1/5. • Assign queues 1, 3, 4, 5, and 6 to WFQ group 1, with their weights being 2, 5, 10, 10, and 10, respectively, and assign queues 0, 2, and 7 to WFQ group 2, with their weights being 1, 2, and 4, respectively. • Configure the minimum guaranteed bandwidth as 100 Mbps for each queue. Configuration procedure # Enter system view. system-view # Configure byte-count WFQ queuing on interface Ten-GigabitEthernet 1/1/5. [Sysname] interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] qos wfq byte-count [Sysname-Ten-GigabitEthernet1/1/5] qos wfq 1 group 1 byte-count 2 [Sysname-Ten-GigabitEthernet1/1/5] qos wfq 3 group 1 byte-count 5 [Sysname-Ten-GigabitEthernet1/1/5] qos wfq 4 group 1 byte-count 10 [Sysname-Ten-GigabitEthernet1/1/5] qos wfq 5 group 1 byte-count 10 [Sysname-Ten-GigabitEthernet1/1/5] qos wfq 6 group 1 byte-count 10 [Sysname-Ten-GigabitEthernet1/1/5] qos wfq 0 group 2 byte-count 1 [Sysname-Ten-GigabitEthernet1/1/5] qos wfq 2 group 2 byte-count 2 [Sysname-Ten-GigabitEthernet1/1/5] qos wfq 7 group 2 byte-count 4 [Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 0 min 100000 [Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 1 min 100000 [Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 2 min 100000 [Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 3 min 100000 [Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 4 min 100000 [Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 5 min 100000 [Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 6 min 100000 [Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 7 min 100000 48

  • 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

48
Step
Command
Remarks
3.
Enable WFQ queuing.
qos wfq
{
byte-count
|
weight
}
The default queuing algorithm on an
interface is WRR queuing.
4.
Configure a WFQ queue.
qos wfq
queue-id
group
{
1
|
2
} {
byte-count
|
weight
}
schedule-value
Select
weight
or
byte-count
according
to the WFQ type (byte-count or
packet-based) you have enabled.
By default, all queues are in WFQ group
1 and have a weight of 1.
5.
(Optional.) Configure the
minimum guaranteed
bandwidth for a WFQ
queue.
qos bandwidth queue
queue-id
min
bandwidth-value
The default setting is 64 kbps for each
queue.
Configuration example
Network requirements
Configure byte-count WFQ queuing on interface Ten-GigabitEthernet 1/1/5.
Assign queues 1, 3, 4, 5, and 6 to WFQ group 1, with their weights being 2, 5, 10, 10, and 10,
respectively, and assign queues 0, 2, and 7 to WFQ group 2, with their weights being 1, 2, and 4,
respectively.
Configure the minimum guaranteed bandwidth as 100 Mbps for each queue.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure byte-count WFQ queuing on interface Ten-GigabitEthernet 1/1/5.
[Sysname] interface ten-gigabitethernet 1/1/5
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq byte-count
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq 1 group 1 byte-count 2
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq 3 group 1 byte-count 5
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq 4 group 1 byte-count 10
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq 5 group 1 byte-count 10
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq 6 group 1 byte-count 10
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq 0 group 2 byte-count 1
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq 2 group 2 byte-count 2
[Sysname-Ten-GigabitEthernet1/1/5] qos wfq 7 group 2 byte-count 4
[Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 0 min 100000
[Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 1 min 100000
[Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 2 min 100000
[Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 3 min 100000
[Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 4 min 100000
[Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 5 min 100000
[Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 6 min 100000
[Sysname-Ten-GigabitEthernet1/1/5] qos bandwidth queue 7 min 100000