Understanding QoS settings

After going through the config on one of our switches I noticed some QoS settings that I have no idea what they mean and was wondering if someone could help me understand what these settings mean. Here is the config I found plus the config on one of the ports:
mls qos map cos-dscp 0 8 16 26 32 46 48 56
mls qos srr-queue input bandwidth 90 10
mls qos srr-queue input threshold 1 8 16
mls qos srr-queue input threshold 2 34 66
mls qos srr-queue input buffers 67 33
mls qos srr-queue input cos-map queue 1 threshold 2  1
mls qos srr-queue input cos-map queue 1 threshold 3  0
mls qos srr-queue input cos-map queue 2 threshold 1  2
mls qos srr-queue input cos-map queue 2 threshold 2  4 6 7
mls qos srr-queue input cos-map queue 2 threshold 3  3 5
mls qos srr-queue input dscp-map queue 1 threshold 2  9 10 11 12 13 14 15
mls qos srr-queue input dscp-map queue 1 threshold 3  0 1 2 3 4 5 6 7
mls qos srr-queue input dscp-map queue 1 threshold 3  32
mls qos srr-queue input dscp-map queue 2 threshold 1  16 17 18 19 20 21 22 23
mls qos srr-queue input dscp-map queue 2 threshold 2  33 34 35 36 37 38 39 48
mls qos srr-queue input dscp-map queue 2 threshold 2  49 50 51 52 53 54 55 56
mls qos srr-queue input dscp-map queue 2 threshold 2  57 58 59 60 61 62 63
mls qos srr-queue input dscp-map queue 2 threshold 3  24 25 26 27 28 29 30 31
mls qos srr-queue input dscp-map queue 2 threshold 3  40 41 42 43 44 45 46 47
mls qos srr-queue output cos-map queue 1 threshold 3  5
mls qos srr-queue output cos-map queue 2 threshold 3  3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3  2 4
mls qos srr-queue output cos-map queue 4 threshold 2  1
mls qos srr-queue output cos-map queue 4 threshold 3  0
mls qos srr-queue output dscp-map queue 1 threshold 3  40 41 42 43 44 45 46 47
mls qos srr-queue output dscp-map queue 2 threshold 3  24 25 26 27 28 29 30 31
mls qos srr-queue output dscp-map queue 2 threshold 3  48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3  56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3  16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 3 threshold 3  32 33 34 35 36 37 38 39
mls qos srr-queue output dscp-map queue 4 threshold 1  8
mls qos srr-queue output dscp-map queue 4 threshold 2  9 10 11 12 13 14 15
mls qos srr-queue output dscp-map queue 4 threshold 3  0 1 2 3 4 5 6 7
mls qos queue-set output 1 threshold 1 138 138 92 138
mls qos queue-set output 1 threshold 2 138 138 92 400
mls qos queue-set output 1 threshold 3 36 77 100 318
mls qos queue-set output 1 threshold 4 20 50 67 400
mls qos queue-set output 2 threshold 1 149 149 100 149
mls qos queue-set output 2 threshold 2 118 118 100 235
mls qos queue-set output 2 threshold 3 41 68 100 272
mls qos queue-set output 2 threshold 4 42 72 100 242
mls qos queue-set output 1 buffers 10 10 26 54
mls qos queue-set output 2 buffers 16 6 17 61
mls qos
vlan internal allocation policy ascending
interface GigabitEthernet0/2
switchport access vlan 40
switchport mode access
switchport voice vlan 100
srr-queue bandwidth share 10 10 60 20
srr-queue bandwidth shape  10  0  0  0
queue-set 2
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
Sorry for my ignorance.
Thanks
Brian

In order for networking device to classify traffic, there is certain information within a frame or packet to identify the importance of a frame or packet. CoS, IP Precedence, and DSCP are widely used nowadays.
CoS is in layer 2. IP Precedence and DSCP are in IP header.
In a dot1q tag, there are 3 bit used to identify the importance of the frame. As CoS is 3-bit, the range is between 0 to 7. In normal Cisco VOIP implementation, Cisco IP phones mark CoS 5 on RTP frames. Data traffic is put on native VLAN; so that there is no 802.1q tag on data traffic. By default, Cisco switches put any traffic without 802.1q to be CoS 0 and DSCP 0.
Before DSCP is used, the second byte in IP header is called ToS (Type of Service). It was used to classify IP traffic. Like CoS, IP precedence is 3 bits.  Thus, the range for IP precedence is 0 to 7. After a while, we find out that 3 bit is not long enough. We expand IP precedence from 3 bites to 6 bits. It is called DSCP. As DSCP is 6 bits, the range is 0 to 63. Normally, Cisco IP phones mark EF (DSCP value 46) on RTP packets.
QoS on campus switching is different than router. In router, we normally mark and police the traffic just before going to ISP. As a result, you determine what traffic is dropped if the traffic going to ISP exceeds the bandwidth of the circuit.
We normally classify traffic on ports connecting to phones and end devices. To simplify configuration, Cisco switches allow you to trust CoS; so that VOIP traffic is classify with CoS 5. Different switches have difference queues. However, all Cisco switches put CoS 5 or DSCP 46 into priority queue. Once traffic is classified on the access switches, we can simply trust DSCP or CoS on the links between switches. We should use trust DSCP on any layer 3 links. Also, make sure that voice VLAN is not used as native VLAN.
The last question is what happens if a users put a data device on the voice VLAN and construst frames with CoS 5. Here comes extended trust. Switches have to receive CDP on the port before trusting the device on the voice VLAN is a VOIP phone. Not sure if I miss anything.

Similar Messages

  • Is it possible to manage QOS settings on BT Home H...

    Hi,
    is it possible to manage QOS settings on BT Home Hub?

    so I understand that there's no chance to put my dirty hands on these settings with my BT home hub 2.0
    is there's a chance to get complete list of default QOS settings for BT Hub & exchange?

  • X3500 QoS settings -- do they do anything?

    Hi,
    I've had an X3500 for a few weeks, and while it's functioned reasonably well I've been generally disappointed at the quality of the firmware (v1.0.0 build 18).  One problem I'm having is with the QoS settings:
    whenever I change something and click 'save', my wireless connection drops pat
    nothing I do on the QoS page seems to have any effect on traffic patterns
    I've tried every combination of settings to prioritise traffic for particular applications (including all three QoS types on the 'setup' page), but none of them have any effect.  At times of high load, traffic does not seem to be prioritised in any way. 
    Has anyone managed to get any measurable results out of the QoS settings?

    I see what you're saying, but the wireless drop is at the data link layer: all the wireless clients actually disconnect from the network, rather than simply being throttled or being unable to pass traffic.  It's as if the access point has re-initialised and dropped all connections.  Sadly nothing useful is written to the log when this happens apart from the DHCP requests as the clients reconnect.
    I've tried high- and low-throughput devices, wired and wireless, WMM on and off, and all three QoS types, but I'm unable to detect any effect at times of high load. 

  • About QOS Settings with WRt120N router~HELP~

    I have a question with the QOS settings, after I set the Priority for my 4 devices via MAC address, including 1 xbox, 2 notebooks and 1 PC with usb wireless adapter. Xbox has the high, and the others are medium. Here is the problem, after I activate the QOS settings, the network on the 2 notebooks and PC is slow.Not entirely slow, but when I try to open a web page, it takes longer time.About the XBOX,I am not sure about its reaction. Please help me out.

    Well as you have setup a High Priority for your XBOX under QoS, whenever your XBOX is turned On, Your Router will provide a Maximum Bandwidth of your Internet to your XBOX and it will slower down your Other Devices on your Network.
    As you have so many devices in your Network, so i would suggest you not to use QoS Serivce... Or else if you want to use it then you can Turn Off your XBOX whenever you are going to use other Devices ( Computers). 

  • WRT600N QoS settings do not affect upstream rates

    I have recently purchased a WRT600N router as I have a hard wired wired VoIP phone (Aastra 9112i). I have set the QoS priority for the physical Ethernet port that the phone connects to as high and all of the other ports as normal (I have even tried setting all of the other ports to low).
    The problem I have is that the QoS settings do not affect the upstream rate. I have Shaw Highspeed Extreme service and have run speed tests to Speedtest.net throught the router and can get 20Meg down and ~1 meg up. When I change the QoS settings on the physical Ethernet port my laptop is connected to, the QoS settings do affect the download rate but the QoS settings do not seem to affect the upstream rate.
    Is there any firmware update for the WRT600N where the QoS setting will control/ throttle the upstream rate or is there some other settings I could use on the WRT600N that will provide priority to my VoIP phone.
    Thanks,

    I just checked the Linksys download page and the firmware version posted there 1.01.35 is the same version I have in my router. Please let me know if there are any development plans for the WRT600N QoS controls so the the QoS setting also police the upstream/ upload rates.
    Thanks,

  • Understanding qos on 7k and 5ks

    On a 7k there are defaults qos settings.  Is there a good reference guide for creating rate limiting settings for the 7k and 5k.

    The QOS config applies to the parent switch (5k, 7k , etc..) and not the 2k.
    Here is document on 5k QOS config you can take a look at:
    http://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus5500/sw/qos/6x/b_5500_QoS_Config_6x/b_5500_QoS_Config_602N12_chapter_01010.html
    HTH

  • QoS Settings

    Team - I'm looking to ensure I get the highest quality on my Skype calls.  I have an ASUS RT-AC66U router which is BLAZING fast but want to I get the best quality on my Skype calls.  Does anybody have any info about what protocols I need to prioritize or info on how to ensure I maximize the QoS settings on my router to get top speeds for Skype? Thanks, Jason

    my 2 cents: 1. I believe Skype packets don't want to be identified, because this can lead to some sort of sabotage by telecoms / admins. 2. People don't know how to do QOS in Skype (because Skype doesn't want they do this), but the community mecanism forces them to always answer (to get more kudos), so they will reply with unhelpful answers like: "QOS is useless", "try to do with DMZ", but this is not what you are looking for. 3. In technology everything is possible, but sometimes only with hard efforts. I don't know how to do this in Skype in a easy way, but maybe you can force Skype to use a specific IP (by using the proxy setting or using Skype in a virtual machine) and configure your router to do QOS with this specific IP.

  • Defining best Qos settings for SRW248G4

    I would like to thank anyone taking the time to help me out in advance.
    I currently have ports e22 and e32 set with a Cos of 7 and a que of 4 because they are the ports used by my phone system and my router which are used for the Voip tunnel between our two locations.
    Is this the correct settings? Should I do anything else as well?
    Thanks... Kevin

    Cos classifies traffic of ports into separate classes.
    Those classes are assigned to queues with the queue with higher number having higher "priority" then the lower ones.
    Thus, it is impossible to tell whether your settings are "correct" or not.
    1. It depends very much on the objective of your QoS settings. I guess you want to prioritize VoIP.
    2. It depends on all the other QoS settings as well. Prioritization is a relative thing to other traffic. Without knowing the QoS settings of all other ports it is thus impossible to make an accurate statement.

  • Does anyone understand Security settings for Portfolios??

    Thanks, Philip, you answered part of my question. I'm still searching for a way to keep people from printing or editing my artwork I place in the portfolio I'm building in Acrobat. Anyone's help would be greatly appreciated. I can't seem to find any specific information, at least none I can understand, on this simple problem.
    Using Adobe Acrobat Pro 9.1.3 on a Mac. Creating a portfolio of my artwork to either burn to cd or email. I want the recipient to ONLY be able to VIEW the artwork, not print or edit. I do not understand the Security settings, and I have read the section on Choosing a security method. Still confused. After going to File> Modify PDF Portfolio> Secure Portfolio..... what do I choose in all the Security settings? I'm sure some of the people viewing the portfolio will have a full version of Acrobat, and not just the reader. Please help or advise where I can find more online help for this simple problem. Thanks.
    Bgin_Agin_OK

    As for editing art work you can do the as I suggested with layer with Opacity set to 1% then Flatten That will prevent (Or should) the editing art work.
    AS for locking preventing printing and editing You can set that inTools > Security settings (then password protect).
    Note Security  is fairly easy for anyone to evercome. There are bunches of programs out on the net to do just that.
    Most Honest, Ethical, persons will abide. But there are I am afraid in today's world little of that left. So there is better than 50/50 chance your stuff will be swiped.I would not dream of doing such, except if it was one I created, I set password on, and forgot the password.
    When I was growing up, when I was about 7, I picked up a pencil in a 5&10 cent store and when my mother found it when we got out the door she marched me back in , told me to give the pencil back, and applogize. Then when I got home my bottom was smoked. I still remember my backside smarting all these years. I would no more steal anything. than I would try to kill someone. Just not in my nature.
    In todays world if a kid did similar, the parent is more likely shrug it off, or ask the kid how they got away with it , show and ask them how.
    A sad comentary on the world.

  • HELP! Can't save QoS settings on WRT120N!

     I accidentally removed Ethernet 2 under my QoS list. So I tried it again.
    Under QoS, I'm trying to prioritize Ethernet 2 to "high", so I added it to the list. When I click "Save Settings", the page loads and Ethernet 2 isn't saved on the list.
    Help? My PS3 is connected 2 Ethernet 2 and now I LAG like crazy! 

    Try to reset the hard-router for 40 seconds,power cycle the router and try again...Also,reduce the MTU size on the router to 1365.

  • Network segmentation policy and QOS settings on Nexus1000v

    Hi all,
    has someone an example on applying QOS (marking cos) using a network segmentation policy with NSM feature enabled and VshieldManager/Vcloud on Nexus1000v?
    I'm using the current default policy
    network-segment policy default_segmentation_template
      description Default template used for isolation backed pools
      type segmentation
      import port-profile NSM_template_segmentation
    port-profile type vethernet NSM_template_segmentation
      no shutdown
      description NSM default port-profile for VXLAN networks.
      state enabled
    port-profile type vethernet <NSM Created>
      vmware port-group
      port-binding static auto expand
      inherit port-profile NSM_template_segmentation
      switchport access bridge-domain "xxxxxxxxx"
      description NSM created profile.
      state enabled
    But Now i need to configure a cos marking for some org id (not for all organizations).

    Committed Information Rate (%)   Peak Burst Size (ms)   Committed Burst Size (ms)   Max Queue Size:   Can any of these be changed to optimize the NMH405? Thank you? Latency Measurements: Latency Boundary Boundary 1: 0 ms Boundary 2: 10 ms Boundary 3: 20 ms Boundary 4: 40 ms Boundary 5: 100 ms Boundary 6: 1000 ms Boundary 7: 3000 ms  Latency Threshold (ms)   Fragmentation Settings: IP Fragmentation Enable  IP Fragment Size 100 148 244 292 340 388 436 

  • WRT600N QoS Settings

    Can someone please explain to me how do I set up QoS on my new WRT600N router? I am quite new at this and not sure what is the best way to configure the QoS on my router to meet my requirements. I am constantly downloading from the newsgroups from my main pc but I would rather give priority to browsing the web from all the pc's; my pc, family room pc and my wireless laptop. How do I set this up so that normally the newsgroups are getting my full 100% bandwidth but when someone uses the web it automatically slows the newsgroups down so they can get as fast as possible? I am on a 512k speed dsl so I don't have too much bandwidth to spare. Also does QoS apply to clients connected on wireless or does it work only with wired connections? Any help would be highly appreciated.

    To work with a wired component you'd need to have a WGA600N adapter to connect wirelessly (the adapter has its own Ethernet cable that plugs into the wired component, and then connects with the wireless router or gateway), assuming you didn't want to run extra Cat5 cable. Otherwise you connect a wired component like any other. The QoS function allows for prioritization of data streams such as gaming, applications, media (music, video, etc.). First determine if what you want to prioritize is part of the default list on the router itself. If so, all you need to do is select it on the list (choose by Category first, then look through the different Applications and choose what you want if it's there). All of the Default selections already have the proper ports selected for priority routing to the destination you want to send priority data to. Selecting Medium Priority is the recommended option according to Linksys. If it's something else you want to add, first make sure you have either the Port settings you need, the IP address or the MAC Address you want to prioritize before you proceed. Then you need to select the type in the Category Menu, then in the Application Menu scroll down until you see "Add a New .." Application, Online Game, etc. whatever it is you've selected in the Category. This will bring up the Port Settings blocks.Enter a name that suits you, and then enter the Port Ranges, IP Address or MAC Address you want prioritized. When finished, click on the Add button and it will add it to the Summary. Make sure the Internet Access Priority checkbox is checked Enabled. You can add as many you need, but keep in mind that prioritizing too much is redundant.

  • Understanding ADSL settings shown

    Hi
    Trying to understand some figures for a friend who has ASDL - albeit from another provider - who is using their own Belkin router.  The settings shown are:
    Type: Interleave Path
    Status: SHOWTIME
                                    Downstream       Upstream
    Data Rate (Kbps)        5560kb              999kb
    Noise Margin:             6                       6
    Output power(dBm)    125                    203
    Attenuation(dB)          43                     19
    I've googled but I'd appreciate it if somebody could give me an overview of what all this means and whether this is good/ok/bad given what the BT availabilty checker shows below? Thanks...

    The noise margin is the margin the signal has over the noise, 6dB is the target figure for a reliable connection. The power level is just that, the output power of the modem given the charateristics of the line. The attenuation is the the loss of the line from the exchange, the greater the distance the higher this figure will be and is what determines the sync rate.

  • QoS Settings to Match SP Policer

    Hi,
    My SP has an ingress policer specifying 100mbps CIR and 256kbps Bc.
    When I try to configure a shaper to match this requirement, I cannot specify a Bc value smaller than 400000, as the Tc cannot be less than 4ms. For example,
    OFFICE-01(config-pmap-c)#policy-map policy-map QoS-Outbound-100M
     OFFICE-01(config-pmap-c)#class class-default
      OFFICE-01(config-pmap-c)#shaper average 100000000 265000
    Shaping Interval is 3 milliseconds. Intervals below 4 milliseconds rejected.
    If I use the  minimum Bc value of 400000bps, traffic might be dropped by the SP. Any workaround? The major application in the network is http.
    Thanks.
    Larry

    Disclaimer
    The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
    Liability Disclaimer
    In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
    Posting
    Bc isn't a per second value, it's a quantity of bits or bytes.
    Also, Bc might be given in bytes, so double check whether your ISP's value is 256 KBytes or Kbits.

  • I am having problems converting raw files to jpeg for printing. I am using 90 quality, 300 resolutiong, srgb, no sharpening and no resizing.  when u print to meijer the pic are a little grainy.  can soneone pkease helo me understand what settings to use?

    When I take my cd to meijer to print the pic are a little grainy.  Not as crisp as they look on the computer. When I convert raw to jpeg I am using 90 quality 300 resolution, no resizing no sharpening, srgb. Can someone please help me understand what setting to use for printing. I want to be able to out my pic ok on a cd and take them to get prints.

    kann527 wrote:
    I am new to this so I am not sure what the file size is since I'm not resizing it.
    The question asked about exported image size (height and width) in pixels, not file size. Your operating system can tell you, or if you import the exported image into Lightroom, then Lightroom can tell you in the Metadata Panel, set the dropdown to EXIF.
    I am printing a 5x7. I know I have tried to print with long edge set at 1024 and set to 300 ppi and had the same result with the grainy ness.
    If the exported file has a long edge of 1024, then you did resize the image, there no other way to turn a RAW in to a JPG with long edge 1024. In any event, 1024 pixels is probably not large enough to fill 7 inches, that's really 1024/7=146 pixels per inch (rounded-off), and could be the cause of the "graininess" that you see, although I would use the word "pixelization" to describe what you see. So I'm not sure we are talking about the same thing, but let's go with it for now.
    The solution depends on your answer to the original question, and probably depends on a clarification of how you got the image to 1024 on the long edge even though you claim you didn't resize it.

Maybe you are looking for