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

Configuration procedure, Configuring WFQ queuing

Page 51 highlights

Configuration procedure # Enter system view. system-view # Configure WRR queuing on port GigabitEthernet 1/0/1. [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos wrr weight [Sysname-GigabitEthernet1/0/1] qos wrr 0 group 1 weight 1 [Sysname-GigabitEthernet1/0/1] qos wrr 1 group 1 weight 2 [Sysname-GigabitEthernet1/0/1] qos wrr 2 group 1 weight 4 [Sysname-GigabitEthernet1/0/1] qos wrr 3 group 1 weight 6 [Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 8 [Sysname-GigabitEthernet1/0/1] qos wrr 5 group 1 weight 10 [Sysname-GigabitEthernet1/0/1] qos wrr 6 group 1 weight 12 [Sysname-GigabitEthernet1/0/1] qos wrr 7 group 1 weight 14 Configuring WFQ queuing Configuration procedure To configure WFQ queuing: Step 1. Enter system view. 2. Enter interface view. 3. Enable byte-count or packet-based WFQ queuing. 4. Configure the scheduling weight for a queue. 5. Configure the minimum guaranteed bandwidth for a WFQ queue. 6. Display WFQ queuing configuration. Command system-view interface interface-type interface-number qos wfq [ byte-count | weight ] • For a byte-count WFQ queue: qos wfq queue-id group group-id byte-count schedule-value • For a packet-based WFQ queue: qos wfq queue-id group group-id weight schedule-value qos bandwidth queue queue-id min bandwidth-value display qos wfq interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] Remarks N/A N/A The default queuing algorithm on an interface is SP queuing. Select a command according to the WFQ type (byte-count or packet-based) you have enabled. If you have enabled WFQ on the port, byte-count WRR applies by default, and the default scheduling weight is 1 for each queue. Optional. 64 kbps by default for each queue. Optional. Available in any view 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. 45

  • 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

45
Configuration procedure
# Enter system view.
<Sysname> system-view
# Configure WRR queuing on port GigabitEthernet 1/0/1.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr weight
[Sysname-GigabitEthernet1/0/1] qos wrr 0 group 1 weight 1
[Sysname-GigabitEthernet1/0/1] qos wrr 1 group 1 weight 2
[Sysname-GigabitEthernet1/0/1] qos wrr 2 group 1 weight 4
[Sysname-GigabitEthernet1/0/1] qos wrr 3 group 1 weight 6
[Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 8
[Sysname-GigabitEthernet1/0/1] qos wrr 5 group 1 weight 10
[Sysname-GigabitEthernet1/0/1] qos wrr 6 group 1 weight 12
[Sysname-GigabitEthernet1/0/1] qos wrr 7 group 1 weight 14
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
3.
Enable byte-count or
packet-based WFQ
queuing.
qos wfq
[
byte-count
|
weight
]
The default queuing algorithm on
an interface is SP queuing.
4.
Configure the
scheduling weight for a
queue.
For a byte-count WFQ queue:
qos wfq
queue-id
group
group-id
byte-count
schedule-value
For a packet-based WFQ queue:
qos wfq
queue-id
group
group-id
weight
schedule-value
Select a command according to
the WFQ type (byte-count or
packet-based) you have enabled.
If you have enabled WFQ on the
port, byte-count WRR applies by
default, and the default scheduling
weight is 1 for each queue.
5.
Configure the minimum
guaranteed bandwidth
for a WFQ queue.
qos bandwidth queue
queue-id
min
bandwidth-value
Optional.
64 kbps by default for each queue.
6.
Display WFQ queuing
configuration.
display qos wfq interface
[
interface-type
interface-number
] [
|
{
begin
|
exclude
|
include
}
regular-expression
]
Optional.
Available in any view
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.