NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

kbridge's avatar
kbridge
Aspirant
Dec 06, 2016

VLAN bandwidth shaping

Hello,

 

We have 5 vlans.  Our ISP gives us 100 MB/s up and down to the internet.  We wish to give one of the vlans a minimum guarantee bandswidth of 50.  Is this possible?

3 Replies

  • Retired_Member's avatar
    Retired_Member

    Hi kbridge,

     

    Welcome to our community!

     

    I suggest that Class of Service(CoS) function can meet your requirement. 

    For the detailed configuration , please refer to the link in Chapter11 CoS Queuing  http://www.downloads.netgear.com/files/GSM7000/Documentation/7000_series_SWA_8.0.3_1Nov10.pdf?cid=wmt_netgear_organic

     

    As there is 5 VLANs in your switch, I suggest at first, you need to mapping different VLAN to different Queue(via ACL function), and then set the guarntee bandwidth based on the queue.

     

    For example:

    step1. mapping VLAN12 traffic to queue 1

    ip access-list map_vlan12_to_queue1

    permit ip any any assign-queue 1 

    exit

     

    step2. set the guarntee bandwidth(assume 1G port, 50Mbps should be 5%) based on the queue in the vlan12 members port

    interface 1/0/1
    cos-queue min-bandwidth 0 5 0 0 0 0 0
    exit

     

    Hope that it helps !

     

    Eric_z

    NETGEAR Employee

     

    • kbridge's avatar
      kbridge
      Aspirant

      Thank you for the solution.  Because I only need to guarantee the bandwidth on one vlan, would I need to run the ip access-list map once, and then for each port assigned to vlan 20, run the second command?  

       

      \how would I test that this works?  Would I start a large file transfer on vlan 20 and another on a different vlan?  If vlan 20 stays above 50 MB/s, then I know its working?

       

      ip access-list map_vlan20_to_queue1

      permit ip 172.16.2.0 any assign-queue 1 

      exit

       

      interface 1/0/1
      cos-queue min-bandwidth 0 5 0 0 0 0 0
      exit


      Retired_Member wrote:

      Hi kbridge,

       

      Welcome to our community!

       

      I suggest that Class of Service(CoS) function can meet your requirement. 

      For the detailed configuration , please refer to the link in Chapter11 CoS Queuing  http://www.downloads.netgear.com/files/GSM7000/Documentation/7000_series_SWA_8.0.3_1Nov10.pdf?cid=wmt_netgear_organic

       

      As there is 5 VLANs in your switch, I suggest at first, you need to mapping different VLAN to different Queue(via ACL function), and then set the guarntee bandwidth based on the queue.

       

      For example:

      step1. mapping VLAN12 traffic to queue 1

      ip access-list map_vlan12_to_queue1

      permit ip any any assign-queue 1 

      exit

       

      step2. set the guarntee bandwidth(assume 1G port, 50Mbps should be 5%) based on the queue in the vlan12 members port

      interface 1/0/1
      cos-queue min-bandwidth 0 5 0 0 0 0 0
      exit

       

      Hope that it helps !

       

      Eric_z

      NETGEAR Employee

       


       

      • Retired_Member's avatar
        Retired_Member

        Hi kbridge,

         

            Correct! You can execute command as you write below.

            But one reminder, you said 50MB/s, not 50Mb/s, right?  If it is 50MB/s, equal to 400Mb/s(assume the pysical port is 1Gbps, it should be 40%), so the second command should be:

        cos-queue min-bandwidth 0 40 0 0 0 0 0

         

        Hope that it helps !

         

        Eric_z

        NETGEAR Employee

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More