Reset Traffic-Limit - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

By default, the WRR queue scheduling algorithm is adopted, and the weight assigned to queue 0,
queue 1, queue 2, and queue 3 is 1, 2, 3, and 4.
The port of an S3100 series switch can accommodate four output queues. You can configure the queue
scheduling algorithm as needed:
With the WRR algorithm, Each queue is assigned with a weight value (w0, w1, w2 and w3
corresponding to the four queues), which indicates the proportions of source allocated to each
queue. For example, weight values for queues 0 to 3 are set as 1, 2, 4 and 8 (corresponding to w0,
w1, w2 and w3) respectively. In this case, when data traffic of the four output queues on the port
exceeds the port processing capability, the switch will perform weight round robin on the queues,
based on the allocated proportion of 1:2:4:8. That is to say, among every 15 packets sent by the
switch, 1 packet is put into queue 0, 2 into queue 1, 4 into queue 2 and 8 into queue 3.
With the HQ-WRR algorithm, queue 3 is allocated with the highest priority. When data traffic of the
four output queues on the port exceeds the port processing capability, packets in queue 3 will be
sent first, and then WRR algorithm is used on the rest three queues.
Related command: display queue-scheduler.
The SP queue scheduling algorithm is not available on S3100-SI series Ethernet switches.
Example
# Adopt the WRR queue scheduling algorithm, with the weight for queue 0, queue 1, queue 2, and
queue 3 as 12, 8, 4, and 1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] queue-scheduler wrr 12 8 4 1
# Display the configuration result.
[Sysname] display queue-scheduler
Queue scheduling mode: weighted round robin
weight of queue 0: 12
weight of queue 1: 8
weight of queue 2: 4
weight of queue 3: 1

reset traffic-limit

Syntax
reset traffic-limit inbound acl-rule
View
System view, Ethernet port view, Port group view
1-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents