Ethernet Switches & Routers

Reply
Occasional Contributor
Posts: 5
Registered: ‎05-19-2010

QOS

Is there a document or maybe a sample config of LLQ and or WFQ QOS on a foundry router? I can't seem to find any documentation on this.

Super Contributor
Posts: 1,087
Registered: ‎12-13-2009

Re: QOS

Not sre if this is what you are after.

Configuring Traffic Scheduling

Traffic scheduling is configured on a per-port basis. The following sections describe how to configure each of the traffic scheduling schemes:

• "Configuring Strict Priority-based Traffic Scheduling"

• "Configuring Enhanced Strict Priority-based Traffic Scheduling"

• "Calculating the values for WFQ Source and Destination-based Traffic Scheduling"

• "Configuring WFQ Destination-based Traffic Scheduling"

• "Configuring WFQ Source-based Traffic Scheduling"

• "Configuring Maximum Rate-based Traffic Scheduling"

• "Configuring Minimum Rate-based Traffic Scheduling"

Configuring Strict Priority-based Traffic Scheduling

To configure strict priority-based scheduling use a command such as the following:

BigIron RX(config)# interface ethernet 1/1

BigIron RX(config-if-e1000-1/1)# qos scheduler strict

Syntax:

qos scheduler strict

Configuring Enhanced Strict Priority-based Traffic Scheduling

To configure enhanced strict priority-based scheduling use a command such as the following:

BigIron RX(config)# interface ethernet 1/1

BigIron RX(config-if-e1000-1/1)# qos scheduler enhanced-strict 100 100 100

Syntax:

qos scheduler enhanced-strict <Queue0-rate> <Queue1-rate> <Queue2-rate>

The

<Queue0-rate> variable defines the minimum bandwidth allocated to lower-priority traffic rate in Kbps for

forwarding queue 0.

The

<Queue1-rate> variable defines the minimum bandwidth allocated to lower-priority traffic rate in Kbps for

forwarding queue 1.

The

<Queue2-rate> variable defines the minimum bandwidth allocated to lower-priority traffic rate in Kbps for

forwarding queue 2.

Calculating the values for WFQ Source and Destination-based Traffic Scheduling

Weighted Fair Queueing (WFQ) scheduling is configured to be a percentage of available bandwidth using the

following formula:

Where:

q (x)

= The value of the queue that you want to determine the weight for. It can be the value of any queue (0 - 3).

q0 - q3

= the assigned values of the four queues.

Weight of q (x)

= the calculated weight as a percentage of the port’s total bandwidth.

For example if you assign the following values to queues 0 to 3:

• Queue 0 = 5, Queue 1 = 10, Queue 2 = 15, and Queue 3 = 20

NOTE:

Where rates are configured, the minimum rate supported is 248 Kbps for 1 Gbps ports and 2480 Kbps for

10 Gbps ports.

To determine the weight of

q3:

q (x)

Weight of q (x) = -----------------------------------------

q0 + q1 + q2 +q3

20

Weight of q3 = -----------------------------------------

5 + 10 + 15 + 20

The weight of q3 is 40%. Consequently, q3 will get 40% of the port’s total bandwidth.

The values of the remaining queues are calculated to be the following: q2 = 30%, q1 = 20%, and q0 = 10%

Configuring WFQ Destination-based Traffic Scheduling

To configure WFQ destination-based scheduling use a command such as the following:

BigIron RX(config)# interface ethernet 1/1

BigIron RX(config-if-e1000-1/1)# qos scheduler destination-weighted 5 10 15 20

Syntax:

qos scheduler destination-weighted <queue0-weight> <queue1-weight> <queue2-weight> <queue3-

weight>

The

<queue0-weight> variable defines the relative value for queue0 in calculating queue0’s allocated bandwidth.

The

<queue1-weight> variable defines the relative value for queue1 in calculating queue1’s allocated bandwidth.

The

<queue2-weight> variable defines the relative value for queue2 in calculating queue2’s allocated bandwidth.

The

<queue3-weight> variable defines the relative value for queue3 in calculating queue3’s allocated bandwidth.

See "Calculating the values for WFQ Source and Destination-based Traffic Scheduling" for information on

assigning

queue0-weight to queue3-weight values.

Configuring WFQ Source-based Traffic Scheduling

To configure WFQ source-based scheduling use a command such as the following:

BigIron RX(config)# interface ethernet 1/1

BigIron RX(config-if-e1000-1/1)# qos scheduler source-weighted 25 25 25 25

Syntax:

qos scheduler source-weighted <Queue0-weight> <Queue1-weight> <Queue2-weight> <Queue3-

weight>

The <Queue0-weight> variable defines the relative value for queue0 in calculating queue0’s allocated bandwidth.

The <Queue1-weight> variable defines the relative value for queue1 in calculating queue1’s allocated bandwidth.

The <Queue2-weight> variable defines the relative value for queue2 in calculating queue2’s allocated bandwidth.

The <Queue3-weight> variable defines the relative value for queue3 in calculating queue3’s allocated bandwidth.

See "Calculating the values for WFQ Source and Destination-based Traffic Scheduling" for information on

assigning

queue0-weight to queue3-weight values.

Join the Community

Get quick and easy access to valuable resource designed to help you manage your Brocade Network.