background image

Quality of Service Overview

February 22, 2008

Page 4 of 29

Figure 1  Assigning and Marking Traffic with a Priority

The

 

ICMP

 

protocol,

 

used

 

for

 

error

 

messaging,

 

has

 

a

 

low

 

bandwidth

 

requirement,

 

with

 

a

 

high

 

tolerance

 

for

 

delay

 

and

 

jitter,

 

and

 

is

 

appropriate

 

for

 

a

 

low

 

priority

 

setting.

 

HTTP

 

and

 

FTP

 

protocols,

 

used

 

respectively

 

for

 

browser

generated

 

and

 

file

 

transfer

 

traffic,

 

have

 

a

 

medium

 

to

 

high

 

bandwidth

 

requirement,

 

with

 

a

 

medium

 

to

 

high

 

tolerance

 

for

 

delay

 

and

 

jitter,

 

and

 

are

 

appropriate

 

for

 

a

 

medium

 

priority

 

level.

 

Voice

 

(VoIP),

 

used

 

for

 

voice

 

calls,

 

has

 

a

 

low

 

bandwidth

 

requirement,

 

but

 

is

 

very

 

sensitive

 

to

 

delay

 

and

 

jitter

 

and

 

is

 

appropriate

 

for

 

a

 

high

 

priority

 

level.

See

 

RFC

 

1349

 

for

 

further

 

details

 

on

 

ToS.

 

See

 

RFCs

 

2474

 

and

 

2475

 

for

 

further

 

details

 

on

 

DSCP.

Preferential Queue Treatment for Packet Forwarding

There

 

are

 

three

 

types

 

of

 

preferential

 

queue

 

treatments

 

for

 

packet

 

forwarding:

 

strict,

 

weighted

 

fair,

 

and

 

hybrid.

 

Strict Queuing

With

 

Strict

 

Priority

 

Queuing,

 

a

 

higher

 

priority

 

queue

 

must

 

be

 

empty

 

before

 

a

 

lower

 

priority

 

queue

 

can

 

transmit

 

any

 

packets.

 

Strict

 

queuing

 

is

 

depicted

 

in

 

Figure 2

.

 

Inbound

 

packets

 

enter

 

on

 

the

 

upper

 

left

 

and

 

proceed

 

to

 

the

 

appropriate

 

queue,

 

based

 

upon

 

the

 

TxQ

 

configuration

 

in

 

the

 

CoS.

 

Outbound

 

packets

 

exit

 

the

 

queues

 

on

 

the

 

lower

 

right.

 

At

 

this

 

time

 

only

 

queue

 

3

 

packets

 

are

 

forwarded.

 

This

 

will

 

be

 

true

 

until

 

queue

 

3

 

is

 

completely

 

empty.

 

Queue

 

2

 

packets

 

will

 

then

 

be

 

forwarded.

 

Queue

 

1

 

packets

 

will

 

only

 

forward

 

if

 

both

 

queue

 

2

 

and

 

queue

 

3

 

are

 

empty.

 

Queue

 

0

 

packets

 

will

 

only

 

forward

 

if

 

all

 

other

 

queues

 

are

 

empty.

 

Strict

 

queuing

 

assures

 

that

 

the

 

highest

 

priority

 

queue

 

with

 

any

 

packets

 

in

 

it

 

will

 

get

 

100

 

percent

 

of

 

the

 

bandwidth

 

available.

 

This

 

is

 

particularly

 

useful

 

for

 

one

 

or

 

more

 

priority

 

levels

 

with

 

low

 

bandwidth

 

and

 

low

 

tolerance

 

for

 

delay.

 

The

 

problem

 

with

 

strict

 

queuing

 

is

 

that

 

should

 

the

 

higher

 

level

 

queues

 

never

 

fully

 

empty,

 

lower

 

level

 

queues

 

can

 

be

 

starved

 

of

 

bandwidth.

 

Summary of Contents for Matrix 7G4270-12

Page 1: ...t Packet preference and forwarding treatment for a given flow can be applied to roles configured in Enterasys policy Why Would I Use It in My Network Without QoS all packets are treated as though the...

Page 2: ...g the bandwidth in a manner that aligns the delivery characteristics of a given flow with the available port resources In a QoS context a flow is a stream of IP packets that are classified with the sa...

Page 3: ...S Each CoS can be mapped to an 802 1p priority and a ToS rewrite value The 802 1p parameter is A subset of ToS with values 0 7 upper 3 bits of the 8 bit ToS field Supported in both layer 2 and layer 3...

Page 4: ...ments for packet forwarding strict weighted fair and hybrid Strict Queuing With Strict Priority Queuing a higher priority queue must be empty before a lower priority queue can transmit any packets Str...

Page 5: ...enter on the upper left of the box and proceed to the appropriate priority queue Outbound packets exit the queues on the lower right Queue 3 has access to its percentage of time slices so long as the...

Page 6: ...g queues with queue 2 receiving 50 percent of the remaining time slices and the other queues receiving 25 percent each The benefit of hybrid queueing is that queues configured as strict will receive a...

Page 7: ...ability of bandwidth for other traffic by preventing the rate limited traffic from consuming more than the assigned amount of a network s resources Rate limiting accomplishes this by setting a cap on...

Page 8: ...d out when it bursts above the assigned threshold with rate shaping applied Figure 6 Rate Shaping Smoothing Behavior Rate shaping retains excess packets in a queue and then schedules these packets for...

Page 9: ...ice entry consists of an entry index an 802 1p priority an optional ToS value a transmit queue reference and an optional IRL reference CoS State A global setting that must be enabled for a configured...

Page 10: ...ted to each type The following example displays default values for the show cos port type txq command output IRL Type 0 supports thirty two Inbound Rate Limiters while type 1 supports eight Use the sh...

Page 11: ...of the same port type as defined by the port group you are associating it with The creation of additional port groups could be used to combine similar ports by their function for flexibility For inst...

Page 12: ...and the number of slices allotted to the group Queuing is also displayed by percentage The following example displays default values for the show cos port config txq command output Additional port gro...

Page 13: ...Remember group 0 0 supports 16 TxQ resources and 32 IRL resources while group 0 1 supports 4 TxQ resources and 8 IRL resources Resources exist for each port group and are indexed as port group port ty...

Page 14: ...s resources for each port group created along with the index as described above By default no resources are configured for IRL port resources Rates displayed as none indicate no resources exist The de...

Page 15: ...default because inbound rate limiting is optional CoS TxQ Reference Mapping The CoS TxQ reference table uses 16 indexes or virtual queues and maps each to a physical queue or resource A TxQ reference...

Page 16: ...ce table is populated by default the Queue to Reference mapping can be configured using the set cos reference txq command You need to Identify the port group for configuration Identify the transmit qu...

Page 17: ...re indicated by rate limiter none You need to Identify the port group for configuration Identify the rate limit reference Configuring the CoS Index The CoS settings table assigns a priority a ToS valu...

Page 18: ...f a TxQ reference value is not chosen TxQ reference 0 will be assigned The reference does not indicate the actual transmit queue to be assigned by CoS it points to the CoS TxQ Reference Mapping Table...

Page 19: ...CoS results in the restoration of current port level settings Use the set cos state enable command to enable CoS state globally for this system Use the set cos state disable command to disable CoS st...

Page 20: ...he SecureStack For the C3 IRL configuration is only supported within a policy role context Configuration of IRLs within rules are not supported In a mixed stack C3 CoS feature limitations apply soluti...

Page 21: ...Configure a Class of Service transmit queue port resource entry by mapping a port group with a transmit queue and applying a TxQ rate shaping value to the mapping Verify configuration changes Matrix...

Page 22: ...RL to port group mappings are associated with the inbound rate limiter reference Matrix su set cos settings index priority priority tos value tos txq reference reference irl reference reference Matrix...

Page 23: ...scussion to the VoIP configuration context Table 1 provides a set of sample values for priority IRL and transmit queue across a number of real world traffic types This table can be used as an aid in t...

Page 24: ...d core to handle ToS rate limit and queue configuration for these devices The H 323 call setup profile will be configured so that TCP call setup traffic on the TCP destination port 1720 10 0 0 1 of it...

Page 25: ...ate CoS 8 as the action for the rule Setting the VoIP Edge Policy Profile Switch 1 For DFE Switch 1 we configure a separate policy for VoIP edge VoIP edge policy deals with packets transiting the edge...

Page 26: ...5 Enable TCI overwrite so that ToS will be rewritten for this policy Create a Policy Service Name the service H323CallSetup Service Apply the service to the H323CallSetup Policy Role Create a Rate lim...

Page 27: ...cos 5 egress vlans 22 tci overwrite enable Matrix su set policy rule admin profile vlantag 22 mask 12 port string ge 1 2 5 admin pid 1 Matrix su set policy rule 1 vlantag 22 mask 12 vlan 22 cos 8 Matr...

Page 28: ...t share a common class of service and forwarding treatment as they transit the interface Forwarding Treatment Queue behavior during the packet egress stage strict Weighted Fair Hybrid Jitter The chang...

Page 29: ...DOCUMENT WEB SITE OR THE INFORMATION CONTAINED IN THEM EVEN IF ENTERASYS NETWORKS HAS BEEN ADVISED OF KNEW OF OR SHOULD HAVE KNOWN OF THE POSSIBILITY OF SUCH DAMAGES Enterasys Networks Inc 50 Minutema...

Reviews: