[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

How can i prioritize packets on  cisco Catalyst 3560 Series switch?

Posted on 2010-08-31
8
Medium Priority
?
748 Views
Last Modified: 2012-05-10
I have a cisco switch 3560, i want to priorities the packets according to the port number in the bellow order:
Priority 1-port:4569
Priority 2-port:8567
Priority 3-other ports...

So what i need a sample configuration that can help me in implementing this rule
0
Comment
Question by:jadkaram
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 4
8 Comments
 
LVL 15

Accepted Solution

by:
bkepford earned 2000 total points
ID: 33577595
To prioritize based on TCP ports the ports have to flow through a layer 3 interface (an interface with an IP address).  On a switch you mark packets coming into the switch with a precedense to be prioritized they are ordered for output out of the first layer three interface. Here is a configuration to do so if that is the case. First you have to enable qos with the "mls qos" command. Keep in mind this is only to mark the packets flowing through interface fa0/1, on the router you will have to add a service policy to give them priority. The service policy is set to mark packets as they enter the switch.


mls qos
!
class-map match-all PORT8567
 match access-group name PORT8567
class-map match-all PORT4569
 match access-group name PORT4569
!
!
policy-map PRIORITIZE
 class PORT4569
  set dscp cs5
 class PORT8567
  set dscp cs3
!
ip access-list extended PORT4569
 permit tcp any any eq 4569
ip access-list extended PORT8567
 permit tcp any any eq 8567
!
interface FastEthernet0/1
 service-policy input PRIORITIZE

0
 

Author Comment

by:jadkaram
ID: 33578791
Thanks for your solution i'll try it but what about udp it works aslo? cos the 4569 is used for udp packets
0
 
LVL 15

Expert Comment

by:bkepford
ID: 33579428
You have to change the ACL like so for both UDP and TCP.

ip access-list extended PORT4569
 permit tcp any any eq 4569
 permit udp any any eq 4569
0
Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

 

Author Comment

by:jadkaram
ID: 33583939
Ok thanks but this rule should be applied on each physcial port on the switch interface FastEthernet0/1
..interface FastEthernet0/48, or is there a way to apply it in one place?
0
 

Author Comment

by:jadkaram
ID: 33584822
what for other pakets are they by default lower priority than 4569 and 8567?
0
 
LVL 15

Expert Comment

by:bkepford
ID: 33586813
Yes it needs to be applied to all interfaces that you expect to have that traffic on. All other traffic will be have a dscp precedence of CS0 and treated as it is now.
0
 

Author Comment

by:jadkaram
ID: 33593854
For all my interfaces i have now:
  switchport access vlan 10

So by applying th priority rule to the Vlan 10 it will give me the same result as applying it for each physical port?

What is the best way to verify if my priority rule is taken into consideration?
0
 
LVL 15

Expert Comment

by:bkepford
ID: 33596572
show policy-map interface
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Originally, this post was published on Monitis Blog, you can check it here . It goes without saying that technology has transformed society and the very nature of how we live, work, and communicate in ways that would’ve been incomprehensible 5 ye…
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question