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

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

Page 53 highlights

Configuration example Network requirements • Configure SP+WRR queue scheduling algorithm on GigabitEthernet 1/0/1, and use packet-based WRR. • 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 WRR queuing, with the weight 2, 4, 6, and 8, respectively. Configuration procedure # Enter system view. system-view # Enable the SP+WRR queue scheduling algorithm on GigabitEthernet1/0/1. [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos wrr weight [Sysname-GigabitEthernet1/0/1] qos wrr 0 group sp [Sysname-GigabitEthernet1/0/1] qos wrr 1 group sp [Sysname-GigabitEthernet1/0/1] qos wrr 2 group sp [Sysname-GigabitEthernet1/0/1] qos wrr 3 group sp [Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 2 [Sysname-GigabitEthernet1/0/1] qos wrr 5 group 1 weight 4 [Sysname-GigabitEthernet1/0/1] qos wrr 6 group 1 weight 6 [Sysname-GigabitEthernet1/0/1] qos wrr 7 group 1 weight 8 Configuring SP+WFQ queuing Configuration procedure To configure SP + WFQ queuing: Step 1. Enter system view. 2. Enter interface view. 3. Enable byte-count or packet-based WFQ queuing. 4. Configure SP queue scheduling. 5. Configure the scheduling weight for a queue. Command system-view interface interface-type interface-number Remarks N/A N/A qos wfq [ byte-count | weight ] By default, SP queuing is enabled. qos wfq queue-id group sp qos wfq queue-id group group-id { weight | byte-count } schedule-value By default, all the queues of a WFQ-enabled port use are in the WFQ group. By default, the scheduling weight is 1 for each queue of a WFQ-enabled port. 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

47
Configuration example
Network requirements
Configure SP+WRR queue scheduling algorithm on GigabitEthernet 1/0/1, and use packet-based
WRR.
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 WRR
queuing, with the weight 2, 4, 6, and 8, respectively.
Configuration procedure
# Enter system view.
<Sysname> system-view
# Enable the SP+WRR queue scheduling algorithm on GigabitEthernet1/0/1.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr weight
[Sysname-GigabitEthernet1/0/1] qos wrr 0 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 1 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 2 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 3 group sp
[Sysname-GigabitEthernet1/0/1] qos wrr 4 group 1 weight 2
[Sysname-GigabitEthernet1/0/1] qos wrr 5 group 1 weight 4
[Sysname-GigabitEthernet1/0/1] qos wrr 6 group 1 weight 6
[Sysname-GigabitEthernet1/0/1] qos wrr 7 group 1 weight 8
Configuring SP+WFQ queuing
Configuration procedure
To configure SP + 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
]
By default, SP queuing is enabled.
4.
Configure SP queue
scheduling.
qos wfq
queue-id
group
sp
By default, all the queues of a
WFQ-enabled port use are in the WFQ
group.
5.
Configure the scheduling
weight for a queue.
qos wfq
queue-id
group
group-id
{
weight
|
byte-count
}
schedule-value
By default, the scheduling weight is 1 for
each queue of a WFQ-enabled port.