Ddavis QoS Worksheet

7
Command QoS configuration ip access-list extended counterstrike permit tcp any any range 27030 27039 permit tcp any any range 27015 27020 permit udp any any range 27000 27015 permit udp any any 1200 class-map match-any VoIP match protocol skype class-map match-any counterstrike match access-group name counterstrike class-map match-any WebEmail match protocol http match protocol secure-http match protocol ftp match protocol smtp match protocol pop3 policy-map [QoS-policy-name] class VoIP class WebEmail class class-default interface [External-Interface] bandwidith [Internet-bandwidth] priority percent [VoIP-Percentage] set dscp ef class counterstrike bandwidth remaining percent [Game-Remain-BW] bandwidth remaining percent [WebEmail-Remain-BW] fair-queue description Your WAN Interface to the Internet running at [Internet-band ip nbar protocol-discovery service-policy output [QoS-policy-name] Copyright ©2006 CNET Networks, I To see more downloads and get your free TechRepublic members Cisco IOS QoS

description

qos

Transcript of Ddavis QoS Worksheet

Page 1: Ddavis QoS Worksheet

Command

Qo

S c

on

fig

ura

tio

n

ip access-list extended counterstrike permit tcp any any range 27030 27039 permit tcp any any range 27015 27020 permit udp any any range 27000 27015 permit udp any any 1200

class-map match-any VoIPmatch protocol skype

class-map match-any counterstrikematch access-group name counterstrike

class-map match-any WebEmailmatch protocol httpmatch protocol secure-httpmatch protocol ftp

match protocol smtpmatch protocol pop3

policy-map [QoS-policy-name]class VoIP

class WebEmail

class class-default

interface [External-Interface]bandwidith [Internet-bandwidth]

  priority percent [VoIP-Percentage]  set dscp ef class counterstrike  bandwidth remaining percent [Game-Remain-BW]

  bandwidth remaining percent [WebEmail-Remain-BW]

 fair-queue

 description Your WAN Interface to the Internet running at [Internet-bandwidth] ip nbar protocol-discovery service-policy output [QoS-policy-name]

Copyright ©2006 CNET Networks, Inc. All rights reserved. To see more downloads and get your free TechRepublic membership, please visit http://downloads.techrepublic.com.

Cisco IOS QoS template

Page 2: Ddavis QoS Worksheet

Copyright ©2006 CNET Networks, Inc. All rights reserved. To see more downloads and get your free TechRepublic membership, please visit http://downloads.techrepublic.com.

Page 3: Ddavis QoS Worksheet

PurposeIn our example, we are classifying an Internet-based game called Counter-Strike. If you want to classify counter-stike, you can use this access-list. If you have another protocol that you want to classify, you can change these portnumbers to match the port numbers used by your application.

The VoIP class is used to classify our VoIP service, Skype. You could change skype to another type of VoIP traffic, supported by NBAR.

This counterstrike class references our access-list, defined above.You could change the access-group to match another ACL, that you defined.

The "WebEmail" class includes regular web traffic like HTTP, HTTPS, FTP,SMTP, and POP3. In other words, this includes web browsing, file transfer,and email traffic.

The policy-map is used to match the classes, above, with the policy you definefor that type of traffic. In our example, we are giving VoIP traffic 70% of the bandwidht, if that traffic is present. We are also setting the DSCP EF bit to notify routers down the line that this traffic is important VoIP traffic. We are giving the counterstrike traffic 50% of the remaining bandwidth.We are giving the "WebEmail" web browsing traffic the other 50% of the remainingbandwidth.For all traffic that was not defined (the class-default), it will just be fairly queued.

This is your WAN interface (your connection to the Internet).This is where you tell your router the bandwidth that you have to the Internet.This is just a description statement for reference.The NBAR protocol-discovery command must be here for NBAR to recognize traffic.The service-policy command applies your QoS policy to the Interface.

Copyright ©2006 CNET Networks, Inc. All rights reserved. To see more downloads and get your free TechRepublic membership, please visit http://downloads.techrepublic.com.

Version: 1.0October 25, 2006Version: 1.0November 7, 2006Cisco IOS QoS template

Page 4: Ddavis QoS Worksheet

Copyright ©2006 CNET Networks, Inc. All rights reserved. To see more downloads and get your free TechRepublic membership, please visit http://downloads.techrepublic.com.

Page 5: Ddavis QoS Worksheet

Variable name User defined

[Internet-bandwidth] 384

[VoIP-Percentage] 52

[Game-Remain-BW] 25

[WebEmail-Remain-BW] 75

[External-Interface] FastEthernet4

[QoS-policy-name] MyQoSPolicy

Copyright ©2006 CNET Networks, Inc. All rights reserved. To see more downloads and get your free TechRepublic membership, please visit http://downloads.techrepublic.com.

Page 6: Ddavis QoS Worksheet

Description

Reference Sheet Name:

This is the external interface of the local router that faces the Internet

This is the bandwidth of your UPLINK connection to the Internet. In our case, we have a DSL circuit with 1544Kb (T1 speed) DOWNLINK and 384Kb UPLINK. The bandwidth that we are configuring is out UPLINK because that is what we will be controlling with out QoS. We can only perform QoS on the traffic that we send, NOT the traffic we receive.

This is the percentage of total bandwidth that you want to give VoIP. For example, if we have a 384Kb DSL circuit and want to have up to 2 x 100Kb simultaneous VoIP calls, we would use 52% because 200Kb is 52% of 384Kb.

The is the percentage of the remaining bandwidth to give the Internet game (Counterstrike, in our scenario). After taking 200Kb (52%) of our 384Kb circuit for VoIP. We want to ensure that we have 50Kb, or 25% of th remaining bandwidth, for counterstrike.

The is the percentage of the remaining bandwidth to give our Web & Email traffic.

The QoS policy that you define with your policy-map is identified with a name. You can name your poliy whatever you would like.

Replace

Copyright ©2006 CNET Networks, Inc. All rights reserved. To see more downloads and get your free TechRepublic membership, please visit http://downloads.techrepublic.com.

Page 7: Ddavis QoS Worksheet

QOS