08-26-2018 05:05 AM - edited 03-08-2019 03:59 PM
Hello Together
I need help with the following scenario.
We have a 2960S Swich which is connected to the MPLS router of the ISP. Now we want to enable QoS on the UPLINK port to ISP router to prioritize the important traffic.
[c2960S]-----[MPLS Router ISP]
In the forum I read that the Cisco Catalyst 2960 Series are Layer 2 switches with intelligent Layer 2 - 4 services.(https://community.cisco.com/t5/switching/qos-cos-on-a-l2-switch/td-p/1119431)
My QoS scenario I want to create looks like this:
Three classes (Platium, Gold and Silver). In the Platium class only VoIP traffic should be prioritized (highest priority). In the Gold class Citrix traffic should be prioritized (medium priority) and in the Silver class the remaining traffic (low priority).
I want to set a fix bandwidth for the Platium class. The Gold and Silver class should share the remaining traffic according to availability.
Does the traffic via DSCP have to be marked? Or is it possible to prioritize based on ports or subnets (the 2960S switch has intelligent L3 and L4 functions)?
Can someone show me an example configuration how best to solve this?
Many thanks for your help
Simon
08-26-2018 02:07 PM
Hello,
classes won't work because on the 2960 you can only police classes. Ingress queuing is not supported either, so all you are left with is egress queuing.
Typically, VoIP traffic uses DSCP 46 for voice traffic and DSCP 24 for signaling, DSCP 34 for video. ICA uses port 1194, but I think you can set the DSCP values for Citrix traffic manually. What value have you set it to ? These values are important to configure the egress queues on the 2960...
08-27-2018 12:35 AM
Hello,
thank you for your answer. Correctly the VoIP traffic we mark with the DSCP value 46 and 24 since the different classes are not possible, we will prioritize the Citrix traffic at a later time.
The VoIP traffic should get a fixed bandwidth.
08-27-2018 01:26 AM
Hello,
ok, I'll see if I can work out the queues...will get back with you...
08-27-2018 05:11 AM
Hello,
for prioritizing just DSCP values 24 and 46, you can use the config below:
mls qos queue-set output 1 buffers 40 20 20 20
mls qos queue-set output 1 threshold 1 40 60 100 200
mls qos srr-queue output dscp-map queue 1 threshold 1 24 46
!
interface gigabitethernet1/1/1
switchport mode trunk
queue-set 1
priority-queue out
mls qos trust dscp
If you know what DSCP value your Citrix/Ica traffic has, add it that value to this line:
mls qos srr-queue output dscp-map queue 1 threshold 1 24 46 ..
08-27-2018 06:53 AM
Hi Georg
Thanks for the configuration.
At which values can I set the fixed bandwidth for VoIP traffic (percent)?
For Citrix traffic I want to be in another queue which is dynamic (bandwidth), but higher prioritized than the normal traffic. How can this be achieved?
I would like to understand the configuration myself. Is it possible to comment the following lines so that I know what they do exactly?
mls qos queue-set output 1 buffers 40 20 20 20 20
mls qos queue-set output 1 threshold 1 40 60 100 200
mls qos srr-queue output dscp-map queue 1 threshold 1 24 46
08-27-2018 07:50 AM
Hello,
basically, what you do is configure the queues and then assign DSCP values to these queues.
mls qos queue-set output 1 buffers 40 20 20 20
--> there are two queue sets, 1 and 2. I am using queue-set 1. Both queue sets have 4 egress queues. Here I have assigned buffer percentages to the queues: queue 1 gets 40 percent, queues 2,3, and 4 get 20 percent
mls qos queue-set output 1 threshold 1 40 60 100 200
--> Here, the drop thresholds for queue 1 are set to 40 and 60 percent of the allocated memory. 100 percent of the allocated memory is guaranteed/reserved, and 200 percent is the maximum memory that this queue can have before packets are dropped:
mls qos srr-queue output dscp-map queue 1 threshold 1 24 46
--> Here, DSCP values 24 and 46 are mapped to queue set 1
There are numerous ways to achieve similar results. Take a look at the document below for reference...
08-29-2018 01:02 AM
Thank you for the explanation. Now I have one more question. The traffic of VoIP devices is marked via TOS value. How do I tell the switch to accept it as a TOS value? Or converts the TOS value to the DSCP value?
08-29-2018 01:33 AM
Hello,
do you mean ToS or CoS ? ToS is part of the IP header used for precedence, by configuring 'mls qos trust dscp', you basically tell the switch to accept whatever ToS/DSCP is sent from the phones.
If you mean CoS, the default CoS to DSCP mapping (which you can view with the command 'show mls qos maps cos-dscp') is usually sufficient. The default map maps CoS values 0 - 7 to DSCP values 0 8 16 24 32 46 48 56 respectively.
08-29-2018 04:42 AM
08-29-2018 05:09 AM
Hello Joseph
I have three different locations. First 100/100, second 10/10 at third 6/6.
The first two locations should not cause any problems in terms of speed. At the third location I imagined that the bandwidth could be adjusted as a percentage of the 10mbit port speed or that fixed bandwidths could be assigned to the classes.
08-29-2018 05:34 AM
09-05-2018 04:24 AM
Hello Joseph
Do you have a sample configuration that matches my classes?
09-05-2018 05:01 AM
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