background image

Understanding QoS Configuration on the Matrix N-Series

February 22, 2008

Page 9 of 29

discarding

 

traffic

 

imposed

 

by

 

rate

 

limiting,

 

delays

 

are

 

induced

 

into

 

its

 

transmission

 

by

 

retaining

 

the

 

data

 

for

 

future

 

transmission.

 

However,

 

the

 

delays

 

must

 

also

 

be

 

bounded

 

to

 

the

 

degree

 

that

 

the

 

traffic

 

is

 

sensitive

 

to

 

delays.

Understanding QoS Configuration on the Matrix N-Series

This

 

section

 

discusses

 

the

 

six

 

components

 

for

 

configuring

 

QoS

 

and

 

displaying

 

QoS

 

status

 

on

 

an

 

N

Series

 

switch

 

router:

CoS

 

Port

Type

:

 

Determines

 

the

 

transmit

 

queue

 

(TxQ)

 

and

 

Inbound

 

Rate

 

Limiting

 

(IRL)

 

resource

 

capabilities

 

of

 

the

 

ports

 

in

 

your

 

system.

 

Knowledge

 

of

 

these

 

capabilities

 

is

 

important

 

when

 

configuring

 

queue

 

behaviors.

 

Port

 

group

 

membership

 

and

 

the

 

port

 

resources

 

available

 

are

 

determined

 

by

 

port

 

type.

CoS

 

Port

 

Groups

:

 

Provide

 

for

 

the

 

grouping

 

of

 

ports

 

by

 

the

 

same

 

class

 

of

 

service

 

features

 

and

 

port

 

type.

 

CoS

 

Port

 

Resource

 

Table

:

 

Enables

 

the

 

association

 

of

 

rate

 

limiter

 

and

 

rate

 

shaper

 

values

 

to

 

a

 

port.

CoS

 

Reference

 

Mapping

 

Table

:

 

Maps

 

your

 

defined

 

TxQ

 

and

 

IRL

 

index

 

references,

 

used

 

by

 

the

 

CoS

 

settings

 

table,

 

to

 

the

 

physical

 

queue

 

and

 

rate

 

limiter

 

settings

 

created

 

in

 

the

 

port

resource

 

table.

CoS

 

Settings

 

Table

:

 

Used

 

for

 

CoS

 

parameter

 

assignment

 

and

 

contains

 

the

 

current

 

settings

 

for

 

each

 

class

 

of

 

service

 

feature.

 

Each

 

class

 

of

 

service

 

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

 

CoS

 

to

 

affect

 

port

 

behavior.

 

When

 

enabled,

 

CoS

 

state

 

associated

 

with

 

a

 

port

 

supersedes

 

current

 

default

 

or

 

modified

 

port

level

 

controls

 

for

 

priority

 

queue

 

mapping,

 

port

 

rate

 

limiting,

 

and

 

transmit

 

queue.

 

When

 

disabled

 

the

 

port

 

settings

 

apply.

Numerous

 

QoS

 

values

 

are

 

associated

 

with

 

each

 

other

 

through

 

reference.

 

With

 

the

 

exception

 

of

 

802.1p

 

priority

 

and

 

ToS,

 

CoS

 

values

 

are

 

first

 

mapped

 

to

 

a

 

port

 

group,

 

which

 

associates

 

a

 

CoS

 

configuration

 

with

 

a

 

port

 

type.

 

A

 

port

 

group

 

has

 

the

 

following

 

CoS

 

parameters

 

associated

 

with

 

it:

Physical

 

port(s)

Strict

 

or

 

weighted

 

fair

 

queuing

 

behavior

Rate

limit

 

setting(s)

Rate

shaping

 

setting(s)

A

 

port

 

queue

A

 

port

 

reference

Understanding

 

how

 

these

 

parameters

 

are

 

first

 

mapped

 

to

 

the

 

port

 

group

 

and

 

then

 

to

 

a

 

TxQ

 

or

 

IRL

 

reference

 

is

 

the

 

key

 

to

 

understanding

 

QoS

 

configuration.

 

Where

 

appropriate,

 

the

 

task

 

column

 

in

 

Procedure 1

 

on

 

page 21

 

identifies

 

these

 

mapping

 

relationships.

See

 

Determining

 

CoS

 

Port

Type”

 

on

 

page 10

 

and

 

Configuring

 

CoS

 

Port

 

Groups”

 

on

 

page 11

 

for

 

a

 

port

 

group

 

discussion.

Note: 

It is recommended that you use Enterasys NetSight Policy Manager as an alternative to CLI 

for configuring policy-based CoS on the Enterasys Matrix Series devices. 
A policy discussion is outside the scope of this document and will be limited to the relevant 
configuration example commands. 

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: