HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Configuration - Page 54

Configuration example, Network requirements, Configuration procedure

Page 54 highlights

Step 6. Configure the minimum guaranteed bandwidth for a queue. Command qos bandwidth queue queue-id min bandwidth-value Remarks Optional. 64 kbps for each queue by default. NOTE: To guarantee successful WFQ configuration, make sure that the scheduling weight type (byte-count or packet-based) is the same as the WFQ queuing type (byte-count or packet-based) when you configure the scheduling weight for a WFQ queue. Configuration example Network requirements • Configure SP+WFQ queuing on GigabitEthernet 1/0/1, and use packet-based WFQ scheduling weights. • Configure queue 0, queue 1, queue 2, and queue 3 on GigabitEthernet 1/0/1 to be in SP queue scheduling group. • Configure queue 4, queue 5, queue 6, and queue 7 on GigabitEthernet 1/0/1 to use WFQ queuing, with the weight 2, 4, 6, and 8 and the minimum guaranteed bandwidth 128 kbps. Configuration procedure # Enter system view. system-view # Enable the SP+WFQ queue scheduling algorithm on GigabitEthernet1/0/1. [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos wfq weight [Sysname-GigabitEthernet1/0/1] qos wfq 0 group sp [Sysname-GigabitEthernet1/0/1] qos wfq 1 group sp [Sysname-GigabitEthernet1/0/1] qos wfq 2 group sp [Sysname-GigabitEthernet1/0/1] qos wfq 3 group sp [Sysname-GigabitEthernet1/0/1] qos wfq 4 group 1 weight 2 [Sysname-GigabitEthernet1/0/1] qos bandwidth queue 4 min 128 [Sysname-GigabitEthernet1/0/1] qos wfq 5 group 1 weight 4 [Sysname-GigabitEthernet1/0/1] qos bandwidth queue 5 min 128 [Sysname-GigabitEthernet1/0/1] qos wfq 6 group 1 weight 6 [Sysname-GigabitEthernet1/0/1] qos bandwidth queue 6 min 128 [Sysname-GigabitEthernet1/0/1] qos wfq 7 group 1 weight 8 [Sysname-GigabitEthernet1/0/1] qos bandwidth queue 7 min 128 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

48
Step
Command
Remarks
6.
Configure the minimum
guaranteed bandwidth for a
queue.
qos bandwidth queue
queue-id
min
bandwidth-value
Optional.
64 kbps for each queue by default.
NOTE:
To guarantee successful WFQ configuration, make sure that the scheduling weight type (byte-count or
packet-based) is the same as the WFQ queuing type (byte-count or packet-based) when you configure the
scheduling weight for a WFQ queue.
Configuration example
Network requirements
Configure SP+WFQ queuing on GigabitEthernet 1/0/1, and use packet-based WFQ scheduling
weights.
Configure queue 0, queue 1, queue 2, and queue 3 on GigabitEthernet 1/0/1 to be in SP queue
scheduling group.
Configure queue 4, queue 5, queue 6, and queue 7 on GigabitEthernet 1/0/1 to use WFQ
queuing, with the weight 2, 4, 6, and 8 and the minimum guaranteed bandwidth 128 kbps.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enable the SP+WFQ queue scheduling algorithm on GigabitEthernet1/0/1.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wfq weight
[Sysname-GigabitEthernet1/0/1] qos wfq 0 group sp
[Sysname-GigabitEthernet1/0/1] qos wfq 1 group sp
[Sysname-GigabitEthernet1/0/1] qos wfq 2 group sp
[Sysname-GigabitEthernet1/0/1] qos wfq 3 group sp
[Sysname-GigabitEthernet1/0/1] qos wfq 4 group 1 weight 2
[Sysname-GigabitEthernet1/0/1] qos bandwidth queue 4 min 128
[Sysname-GigabitEthernet1/0/1] qos wfq 5 group 1 weight 4
[Sysname-GigabitEthernet1/0/1] qos bandwidth queue 5 min 128
[Sysname-GigabitEthernet1/0/1] qos wfq 6 group 1 weight 6
[Sysname-GigabitEthernet1/0/1] qos bandwidth queue 6 min 128
[Sysname-GigabitEthernet1/0/1] qos wfq 7 group 1 weight 8
[Sysname-GigabitEthernet1/0/1] qos bandwidth queue 7 min 128