UniFi Best Practices II: Quality of Service (QoS)

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 พ.ค. 2018
  • Part II of the UniFi best practices video series is in play! Let's talk about QoS. QoS on the USG uses fair queuing and QoS on the UniFi Switches uses dot1p (802.1p). Let's look at how to configure it!
    H5 Consulting/Contact/Newsletter: h5llc.com
    My Amazon Link: www.amazon.com/shop/williehowe
    SIP.US: h5.sip.us
    H5 Discord: / discord
    Netool: netool.io use code WILLIEHOWE to save at least 10%!
    Digital Ocean Referral Link: m.do.co/c/39aaf717223f
    Contact us for network consulting and best practices deployment today! We support all Grandstream, Obihai, Polycom, Plantronics, Ubiquiti Networks, MikroTik, Extreme, Palo Alto, and more!
    Come back for the next video!
    Twitter - @WillieHowe
    Instagram - @howex5
    SUBSCRIBE! THUMBS-UP! Comment and Share!
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 50

  • @rokello
    @rokello 6 ปีที่แล้ว +6

    Today, I have learnt how to separate the voice network from the rest. Thanks willie

  • @soldi3ra
    @soldi3ra 5 ปีที่แล้ว +1

    This video was very helpful , thank you Willie.

  • @WarwickJaensch
    @WarwickJaensch 6 ปีที่แล้ว

    Thanks Willie, great video!

  • @FocusedUpward
    @FocusedUpward 6 ปีที่แล้ว

    Great part Two. Thanks.

  • @allanloveday139
    @allanloveday139 5 ปีที่แล้ว

    Another great video! Thanks Willie.

  • @RobyTotem
    @RobyTotem 6 ปีที่แล้ว +2

    Hi Willie and thanks for the video. I wanted to ask you one thing: if I imposed in the controller "Enable periodic speed test every XX", the value that will be inserted in the SmartQueue change automatically according to the speed test of the moment?
    Also doing the speed test could slow down the system?
    Thank you

  • @jcnash02
    @jcnash02 6 ปีที่แล้ว +12

    I use dpi and smart queues all the time together

    • @madezra64
      @madezra64 4 ปีที่แล้ว

      The SDN controller has come a long way in the past year.

  • @andytwgss
    @andytwgss 6 ปีที่แล้ว +1

    So great if there could be a QoS tutorial on Mikrotik as well

  • @PrakashMizar
    @PrakashMizar 4 ปีที่แล้ว +1

    hi, found our channel worth.actually i have multiple unifi ac pro AP installed recently and i was wondering about the channel and power configuration to avoid interference and speed issue. thanks

  • @dirkneef2272
    @dirkneef2272 6 ปีที่แล้ว +2

    Would you assign the VoIP switch port profile to the port of your Asterisk server, too?

  • @dustincastillo3195
    @dustincastillo3195 4 ปีที่แล้ว +9

    Hey Willie, will you be doing a 3rd video for best practices? Thanks

    • @HokeyBugle
      @HokeyBugle 4 ปีที่แล้ว +4

      I would also be very interested in more of this series

  • @AndrewJamison79
    @AndrewJamison79 5 ปีที่แล้ว +1

    Would this apply to consumer grade Voip like ooma or something similar? Also can you set the voice network to use lan2 on the usg or does it need to go through a switch

  • @BarryArendt
    @BarryArendt 6 ปีที่แล้ว

    Great video

  • @avithaavithomeautomation4698
    @avithaavithomeautomation4698 5 ปีที่แล้ว

    awesome stuff

  • @ffdeguzman02
    @ffdeguzman02 6 ปีที่แล้ว

    It resolves the issue of buffer bloat when QoS is enabled.

  • @jamesp8164
    @jamesp8164 2 ปีที่แล้ว +1

    How do you do QoS for VOIP on the switch if you're exclusively using softphones?

  • @TheTF01
    @TheTF01 4 ปีที่แล้ว

    In a whisk set up using mainly edge max gear would you set up only one network for multiple different customers voiceover IP or should you set up each one to have its own separate network ?

  • @robertn2550
    @robertn2550 6 ปีที่แล้ว

    Noob question, i am in the process of deploying some unifi equipment around the home, which consists of a cloud key, USG, AC lite and NVR with 4 camera's. (Netgear 24 port switch). Should the NVR show up in the cloud key contoller like the AP does? I can see the video over 4g connection when away from home. When setting this gear up should you use the one password for all the unifi gear given they all have different alias's and mac adresses or should every peice have a unique password?

  • @cr-kh7dd
    @cr-kh7dd 6 ปีที่แล้ว

    How does this work with User Group rate limits. Rate limits apply before/after smart queues?

  • @genesice8130
    @genesice8130 5 ปีที่แล้ว +1

    @Willie Howe. I’m not seeing WAN section under config on my USG (1:18). Also I noticed that I see WAN and LAN under networks when I created my networks and VLANs from from “Best Practices l”. Also did not have and admin tab under events from “Best Practices I”. Am I doing something wrong?

  • @Mr_NPP
    @Mr_NPP 6 ปีที่แล้ว

    Willie, wouldn’t mind hearing your thoughts on how some of these QoS settings impact the USG’s throughput.

    • @janusboelandry3031
      @janusboelandry3031 5 ปีที่แล้ว

      Can you make smart que for an isolated network? That would be useful. Like a guest net. I want everyone on that net to have fair bandwidth. But on other nets I want to have the devices decide.

  • @davidafolayan7969
    @davidafolayan7969 4 ปีที่แล้ว

    Hello Willie. Thank you for your videos. Pls my unifi network keeps disconnecting my users. Pls I need advise on what to do. Thanks.

  • @jyk011609
    @jyk011609 5 ปีที่แล้ว

    802.1p (dot1p) leverages the 3-bit 'Priority Code Point' (PCP) field of an 802.1q (VLAN) tag on an Ethernet Frame. The value in this field is a Class of Service (CoS) Marking which can be used for QoS at Layer 2. The binary values in this field are synonymous with the "IP Precedence" values in the ToS Byte of an IP Packet. For example: a CoS value of 101 (which is "5" in decimal) inside the "Priority" field, would be mapped to it's counterpart on an IP Packet when it reaches a Router. It would get a DSCP marking of 101 110 (46), which is typically used for Expedited Forwarding. These markings (CoS 5 and DSCP 46) are typically used to give VoIP traffic the highest priority and lowest latency when traversing a network.
    Fun Facts:
    An 802.1q (dot1q) tag is 32 bits (4 Bytes) in length and is made up of 4 parts: a 16-bit 'Tag Protocol Identifier' field (a value of 0x8100 signifies that the frame is tagged using 802.1q), a 3-bit 'Priority' field (for the CoS Markings), a 1-bit 'Drop Eligible Indicator' or 'DEI' field (to indicate whether the frame can be dropped during times of congestion, similar to the 'Explicit Congestion Notification' or 'ECN' field in an IP Packet) and finally the actual 'VLAN ID' field (which carries the numerical value of the VLAN in hexadecimal). :)

  • @ronaldhofman1726
    @ronaldhofman1726 2 ปีที่แล้ว

    Good video , i have a USG 4 Pro , am thinking of migrating to dream machine pro, but QOS settings are a little bit hidden and should be visible at the controller. a also have lots of other things in a gateway file like custom multiple ddns, open vpn, not possible in the controller that's not good at all , all the feature should be made conttrollable in the UBNT controller, i wil check if the UDM have more possibilities.

  • @williamgardezan667
    @williamgardezan667 3 ปีที่แล้ว

    good afternoon!, can i put some kind of package priority for voip straight into unifi ap pro, without having a sw from unifi to manage such traffic. I use edge mikrotik with QoS and packet prioritization

  • @danielsalce4358
    @danielsalce4358 5 ปีที่แล้ว

    At 40 seconds into this video you talk about moving the controller into a different subnet. Then, you reference a video that shows what you did. I’m struggling to get my USG to move. Please tell me the name of the video that you’re referencing. Thanks

  • @elig.5011
    @elig.5011 5 ปีที่แล้ว +3

    Do you have an update for USG 5.10.25?

  • @wesselhanekom7679
    @wesselhanekom7679 4 ปีที่แล้ว

    So does Ubiquiti not offer stuff like Expedited Forwarding (ef)?

  • @dleo312
    @dleo312 3 ปีที่แล้ว +1

    I've been looking into the Unifi Gen 2 POE Pro 48 port for a small campus network with 15+ VoIP phones and up to 1200 active WiFi users at a time. I find this Unifi 'QOS' very misleading and lacking from standard DSCP and COS on real enterprise switches. I'm surprised not to see more concerns about these switches online. They would be a great switch if not for the QOS and VLAN configuration limitations. It's scary to me thinking of deploying these anywhere but in small office/home office situations. Has anyone deployed these as stacked switches to 100-1000 user networks with VoIP and have you had any issues?

  • @rick9569
    @rick9569 6 ปีที่แล้ว

    Hello Willie, thank you for your video. I have configured the system on a glasfiber modem port 1 is the trunk. Port 2 is vlan6 internet connected to the Wan of the Usg. Port 3 is connected to the LAN of my usg and has the LAN and the guest vpn. Port 4 is connected to the ITv (vlan4) port 5,6,7,8 are the network ports (lan/guest vlan) I have activated smart QOS. Can you advise me? What does the smart QOS do to port 1,2,3,4,? And do you advise my to use the voip setting for vlan6 and vlan4? Thank you. Greetings from the Netherlands!

  • @HisLoveArmy
    @HisLoveArmy 6 ปีที่แล้ว +1

    If you had multiple VLANS would you select them in the tagged network section of the port profile also? If you did and you select that profile on the port how does the switch know what VLAN to assign to the device? If you do it this way do you have to manual enter the vlans on the phones? If that makes sense.. Little confused on the port profile and selecting those vlans.

    • @MitchellEarl
      @MitchellEarl 5 ปีที่แล้ว

      I thought the same thing. Why mess with the port at all? If you add vlan 2 in the phone configuration and reboot, it's going to be on the VOIP vlan 2 and the voip subnet. And the computer would still grab an IP from the native corporate subnet even when passing through the phone.

  • @roughshot1021
    @roughshot1021 3 ปีที่แล้ว

    I have watched yours videos and as a result purchased 2 UI AP Pro They claim to have some really good speed but I not getting they documented speed. Do you feel they measure up to there claims ??? in getting about 1/ 10 the documented speeds ( I found there support less then helpful ) Help & suggestion would be awesome :)

  • @davidallen2211
    @davidallen2211 6 ปีที่แล้ว +1

    I would love to know if smart que's and DPI can work together as well.

  • @mikemalter
    @mikemalter 2 ปีที่แล้ว

    Very good video.

  • @antkings2
    @antkings2 3 ปีที่แล้ว

    I have a unifi switch is it possible to implement QoS without USG and switch only?

  • @Tntdruid
    @Tntdruid 6 ปีที่แล้ว +2

    I got 4 yellow pipes then 😁

  • @KrisPodgeHepworth
    @KrisPodgeHepworth 6 ปีที่แล้ว +2

    Think Im confusing myself here, seem to get more confused the more I read ha. All I want to do is give my VoIP VLAN a dedicated amount of bandwidth. Why do usergroups only work on wireless networks? I dont really want to use Smart Queue but the CLI approach makes me nervous ha. Surely there's a straight forward way to achieve this?

    • @KrisPodgeHepworth
      @KrisPodgeHepworth 6 ปีที่แล้ว +1

      So setting the bandwidth for a specific VLAN on the USG has to be done over CLI and needs a JSON file? This scares me haha, I better do some reading. Thanks for the knowledge.

    • @markloughtonUK
      @markloughtonUK 5 ปีที่แล้ว +1

      Is the situation still the same 1 year later ?

  • @ChrisHolzer
    @ChrisHolzer 6 ปีที่แล้ว +6

    Small issue.
    The USG has a very poor CPU (like the ERLite). As a result using SmartQueue (FQ_Codel) will hit the CPU of the USG so hard that it becomes a bottleneck for your throughput and so you end up with a max of 60Mbps downstream. For your connection you should use an ERX which has a much more powerful CPU that can do ~120MBPS with SmartQueue on. See the EdgeOS manual which has a SmartQueue bandwidth chart for the various Edge Routers. In EdgeOS you can enable SmartQueue in just one direction if you want to.
    Btw. IIRC in Unifi you must enter bandwidth values that are 10% lower than your actual bandwidth, in EdgeOS this isnt required.

    • @SmokingCrop
      @SmokingCrop 6 ปีที่แล้ว +7

      The USG-Pro-4 can handle about 250 Mbit tho

    • @toysareforboys1
      @toysareforboys1 6 ปีที่แล้ว +2

      USG-XG-8 = 1 gigabit with SmartQueue :)

    • @SmokingCrop
      @SmokingCrop 6 ปีที่แล้ว +1

      Yeh, if you have 2400 euros laying around ;D

  • @user-nc5wi3cw9k
    @user-nc5wi3cw9k 2 ปีที่แล้ว

    Been struggling to increase memory watched a video of yours but I am at a loss

  • @marksapollo
    @marksapollo 5 ปีที่แล้ว +3

    That’s pretty poor QOS, so you have no manual control over it at all? Your relying on the software doing its job.