HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 83

qos wrr group sp

Page 83 highlights

Before using this command to configure weights for queues, make sure that byte-count WRR queuing is enabled on the interface. Otherwise, the weight configuration does not take effect. Related commands: display qos wrr interface and qos wrr. Examples # Enable byte-count WRR queuing on GigabitEthernet 1/0/1, and assign queue 0, with the scheduling weight 10, to WRR group 1. system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos wrr byte-count [Sysname-GigabitEthernet1/0/1] qos wrr 0 group 1 byte-count 10 qos wrr group sp Syntax qos wrr queue-id group sp View undo qos wrr queue-id group sp Interface view Default level 2: System level Parameters queue-id: Specifies a queue by its ID, which ranges from 0 to 7. sp: Specifies strict priority (SP) queuing. Description Use qos wrr group sp to assign a queue to the strict priority (SP) group on a WRR-enabled interface. Use undo qos wrr group sp to remove a queue from the SP group on a WRR-enabled interface. The Switch Series provides eight output queues per port. You can assign some queues on a port to the SP scheduling group and the others to the WRR scheduling group (group 1) to implement SP+WRR queuing. The switch schedules packets in the SP scheduling group preferentially, and when the SP scheduling group is empty, schedules the packets in the WRR scheduling group. Queues in the SP scheduling group are scheduled with the SP queue scheduling algorithm. Queues in the WRR scheduling group are scheduled with WRR. This command is available only on a WRR-enabled interface. Queues in the SP group are scheduled with SP. The SP group has strict higher scheduling priority than the WRR groups. Related commands: display qos wrr interface and qos wrr. Examples # Enable WRR queuing on GigabitEthernet 1/0/1, and assign queue 0 to the SP group. system-view [Sysname] interface gigabitethernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos wrr [Sysname-GigabitEthernet1/0/1] qos wrr 0 group sp 78

  • 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

78
Before using this command to configure weights for queues, make sure that byte-count WRR queuing is
enabled on the interface. Otherwise, the weight configuration does not take effect.
Related commands:
display qos wrr interface
and
qos wrr
.
Examples
# Enable byte-count WRR queuing on GigabitEthernet 1/0/1, and assign queue 0, with the scheduling
weight 10, to WRR group 1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr byte-count
[Sysname-GigabitEthernet1/0/1] qos wrr 0 group 1 byte-count 10
qos wrr group sp
Syntax
qos wrr
queue-id
group sp
undo qos wrr
queue-id
group sp
View
Interface view
Default level
2: System level
Parameters
queue-id
: Specifies a queue by its ID, which ranges from 0 to 7.
sp
: Specifies strict priority (SP) queuing.
Description
Use
qos wrr group sp
to assign a queue to the strict priority (SP) group on a WRR-enabled interface.
Use
undo qos wrr group sp
to remove a queue from the SP group on a WRR-enabled interface.
The Switch Series provides eight output queues per port. You can assign some queues on a port to the SP
scheduling group and the others to the WRR scheduling group (group 1) to implement SP+WRR queuing.
The switch schedules packets in the SP scheduling group preferentially, and when the SP scheduling
group is empty, schedules the packets in the WRR scheduling group. Queues in the SP scheduling group
are scheduled with the SP queue scheduling algorithm. Queues in the WRR scheduling group are
scheduled with WRR.
This command is available only on a WRR-enabled interface. Queues in the SP group are scheduled with
SP. The SP group has strict higher scheduling priority than the WRR groups.
Related commands:
display qos wrr interface
and
qos wrr
.
Examples
# Enable WRR queuing on GigabitEthernet 1/0/1, and assign queue 0 to the SP group.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qos wrr
[Sysname-GigabitEthernet1/0/1] qos wrr 0 group sp