11-25-2011 03:05 AM - edited 03-07-2019 03:35 AM
How can i ensure that UDP traffic has priotity over TCP data in a network?
11-25-2011 03:49 AM
Hi,
You must implement QoS in your network.
On cisco routers this is done using MQC syntax like this:
class-map UDP_TRAFFIC
match protocol udp
class-map TCP_TRAFFIC
match protocol tcp
policy-map TRAFFIC_POLICY
class UDP_TRAFFIC
set dscp af31
class TCP_TRAFFIC
set dscp af21
int x/x
service-policy inbound TRAFFIC_POLICY
this will give priority to UDP vs TCP vs all other traffic except control plane traffic which has a higher DSCP value set
Regards.
Alain.
11-25-2011 03:59 AM
Hi,
You would need to use something like policmaps(QOS)
You will need to adjust interfaces access-list numbers etc to suit your set up
!
ip access-list 101
permit udp any any
!
ip access-list 102
permit tcp any any
!
!
class-map match-all UDP
match access-group 101
!
!
class-map match-all TCP
match access-group 102
!
policy-map UDP-THEN-TCP
class UDP
priority percent 30
class TCP
bandwidth remaining percent 60
!
!
int fast 0/0
service-policy out UDP-THEN-TCP
!
HTH
Alex
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide