background image

QoS Configuration Example

February 22, 2008

Page 23 of 29

QoS Configuration Example

In

 

our

 

example,

 

an

 

organization’s

 

network

 

administrator

 

needs

 

to

 

assure

 

that

 

VoIP

 

traffic,

 

both

 

originating

 

in

 

and

 

transiting

 

the

 

network

 

of

 

N

Series

 

edge

 

switches

 

and

 

a

 

DFE

 

core

 

router,

 

is

 

configured

 

for

 

QoS

 

with

 

appropriate

 

priority,

 

ToS,

 

and

 

queue

 

treatment.

 

We

 

will

 

also

 

rate

 

limit

 

the

 

VoIP

 

traffic

 

to

 

at

 

the

 

edge

 

to

 

1024

 

Kbps

 

to

 

guard

 

against

 

DOS

 

attacks,

 

VoIP

 

traffic

 

into

 

the

 

core

 

at

 

25

 

Mbps,

 

and

 

H.323

 

call

 

setup

 

at

 

5

 

pps.

 

Data

 

traffic

 

retains

 

the

 

default

 

configuration.

 

This

 

example

 

places

 

QoS

 

configuration

 

within

 

a

 

policy

 

context.

 

Policy

 

is

 

not

 

required

 

to

 

configure

 

QoS.

 

This

 

example

 

assumes

 

CEP

 

authentication

 

using

 

H.323

 

for

 

VoIP.

 

If

 

you

 

are

 

not

 

authenticating

 

your

 

VoIP

 

end

 

point

 

with

 

CEP

 

H.323

 

authentication,

 

you

 

will

 

need

 

to

 

adjust

 

the

 

VoIP

 

policy

 

accordingly.

 

For

 

instance,

 

SIP

 

uses

 

UDP

 

port

 

5060,

 

not

 

the

 

TCP

 

port

 

1720.

 

For

 

purposes

 

of

 

avoiding

 

complexity

 

that

 

would

 

get

 

in

 

the

 

way

 

of

 

understanding

 

the

 

configuration

 

process,

 

this

 

example

 

limits

 

the

 

discussion

 

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

 

thinking

 

about

 

how

 

you

 

might

 

want

 

to

 

apply

 

CoS

 

across

 

your

 

network.

 

Note

 

that

 

scavenger

 

class

 

is

 

traffic

 

that

 

should

 

be

 

treated

 

as

 

less

 

than

 

best

 

effort:

 

external

 

web

 

traffic,

 

for

 

instance.

Figure 7

 

displays

 

the

 

network

 

setup

 

for

 

this

 

example

 

configuration,

 

with

 

the

 

desired

 

Profile/QoS

 

summary

 

for

 

each

 

network

 

node.

 

Each

 

node

 

is

 

configured

 

with

 

VoIP

 

and

 

Data

 

VLANs.

 

Each

 

VoIP

 

VLAN

 

contains

 

four

 

1

gigabit

 

interfaces

 

for

 

each

 

node.

 

Notes: 

Enterasys highly recommends that you use the NetSight Policy Manager to 

configure QoS on your network, whether you are applying policy or not. This example 
discusses the QoS configuration using Policy Manager followed by CLI input summaries. 

Table 1 CoS Sample Values By Traffic Type

Name

Priority

IRL

Transmit Queue

Queue #

Shaping

WFQ

Edge

Core

Edge

Core

Edge

Core

Edge

Core

Loop Detect

0

10 PPS

10 PPS

0

0

10%

5%

5%

Scavenger

0

15 Mbps

Best Effort

1

1

1

80%

45%

45%

Bulk Data

2

Critical Data

3

Network Control

4

40 PPS

1 Mbps

2

2

1Mbps

25%

25%

Network

Management

5

2  Mbps

RTP

6

1 Mbps

25 Mbps

3

3

25%

25%

Voice/Video

7

Содержание Matrix 7G4270-12

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Страница 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...

Отзывы: