Ddavis QoS Worksheet
Short Description
qos...
Description
Cisco IOS QoS template Command 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
QoS configuration
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 priority percent [VoIP-Percentage] set dscp ef class counterstrike bandwidth remaining percent [Game-Remain-BW] class WebEmail bandwidth remaining percent [WebEmail-Remain-BW] class class-default fair-queue interface [External-Interface] bandwidith [Internet-bandwidth] 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.
oS template
Version: 1.0 October 25,7,2006 November 2006
Purpose In 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 port numbers 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 define for 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 remaining bandwidth. 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.
works, Inc. All rights reserved. membership, please visit http://downloads.techrepublic.com.
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.
Description 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.
Replace
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. This is the external interface of the local router that faces the Internet The QoS policy that you define with your policy-map is identified with a name. You can name your poliy whatever you would like.
yright ©2006 CNET Networks, Inc. All rights reserved. your free TechRepublic membership, please visit http://downloads.techrepublic.com.
Reference Sheet Name:
QOS
View more...
Comments