Enterprise AV Home WiFi Mobile Wifi Support Shop Deals

This example shows how a network administrator can provide equal access to the Internet (or other external network) to different departments within a company. Each of four departments has its own Class B subnet that is allocated 25 percent of the available bandwidth on the port accessing the Internet.

Image

  1. Enable Diffserv.
    1. Select QoS > DiffServ > Basic > DiffServ Configuration.

      A screen similar to the following displays.

      Image
       
    2. For Diffserv Admin Mode, select the Enable radio button.
    3. Click Apply to save the settings.
       
  2. Create the class finance_dept.
    1. Select QoS > DiffServ > Advanced > Class Configuration.

      A screen similar to the following displays.

      Image
       
    2. Enter the following information:
      • In the Class Name field, enter finance_dept.
      • In the Class Type list, select All.
    3. Click Add to create a new class finance_dept.
    4. Click the finance_dept to configure this class.

      Image
       
    5. Under Diffserv Class Configuration, enter the following information:
      • In the Source IP Address field, enter 172.16.10.0.
      • In the Source Mask field, enter 255.255.255.0.
    6. Click Apply.
       
  3. Create the class marketing_dept:
    1. Select QoS > DiffServ > Advanced >Class Configuration.

      A screen similar to the following displays.

      Image
       
    2. Enter the following information:
      • In the Class Name field, enter marketing_dept.
      • In the Class Type list, select All.
    3. Click Add to create a new class marketing_dept.
    4. Click marketing_dept to configure this class.

      Image
       
    5. Under Diffserv Class Configuration, enter the following information:
      • In the Source IP Address field, enter 172.16.20.0.
      • In the Source Mask field, enter 255.255.255.0.
    6. Click Apply.
       
  4. Create the class test_dept:
    1. Select QoS > DiffServ > Advanced >Class Configuration.

      A screen similar to the following displays.

      Image
       
    2. Enter the following information:
      • In the Class Name field, enter test_dept.
      • In the Class Type list, select All.
    3. Click Add to create a new class test_dept.
    4. Click test_dept to configure this class.

      Image
       
    5. Under Diffserv Class Configuration, enter the following information:
      • In the Source IP Address field, enter 172.16.30.0.
      • In the Source Mask field, enter 255.255.255.0.
    6. Click Apply.
       
  5. Create class development_dept.
    1. Select QoS > DiffServ > Advanced > Class Configuration.

      A screen similar to the following displays.

      Image
       
    2. Enter the following information:
      • In the Class Name field, enter development_dept.
      • In the Class Type list, select All.
    3. Click the Add to create a new class development_dept.
    4. Click development_dept to configure this class.

      Image
       
    5. Under Diffserv Class Configuration, enter the following information:
      • In the Source IP Address field, enter 172.16.40.0.
      • In the Source Mask field, enter 255.255.255.0.
    6. Click Apply.
       
  6. Create a policy named internet_access and add the class finance_dept to it.
    1. Select QoS > DiffServ > Advanced > Policy Configuration.

      A screen similar to the following displays.

      Image
       
    2. Enter the following information:
      • In the Policy Selector field, enter internet_access.
      • In the Member Class list, select the finance_dept.
    3. Click Add to create a new policy internet_access.
       
  7. Add the class marketing_dept into the policy internet_access.
    1. Select QoS > DiffServ > Advanced > Policy Configuration.

      A screen similar to the following displays.

      Image
    2. Under Policy Configuration, scroll down and select the internet_access check box. internet_access now appears in the Policy Selector field at the top.
    3. In the Member Class list, select marketing_dept.
    4. Click Apply to add the class marketing_dept to the policy internet_access.
       
  8. Add the class test_dept into the policy internet_access.
    1. Select QoS > DiffServ > Advanced >Policy Configuration.

      A screen similar to the following displays.

      Image
       
    2. Under Policy Configuration, scroll down and select the internet_access check box.

      Internet_access now appears in the Policy Selector field at the top.
       
    3. In the Member Class list, select test_dept.
    4. Click Apply to add the class test_dept to the policy internet_access.
       
  9. Add the class development_dept into the policy internet_access.
    1. Select QoS > DiffServ > Advanced > Policy Configuration.

      A screen similar to the following displays.

      Image
    2. Under Policy Configuration, scroll down and select the internet_access check box.

      Now internet_access appears in the Policy Selector field at the top.
       
    3. In the Member Class list, select development_dept.
    4. Click Apply to add the class development_dept to the policy internet_access.
       
  10. Assign queue 1 to finance_dept.
    1. Select QoS > DiffServ > Advanced > Policy Configuration.

      A screen similar to the following displays.

      Image
       
    2. Click the internet_access check box for the member class finance_dept.

      A screen similar to the following displays.

      Image
       
    3. In the Assign Queue list, select 1.
    4. Click Apply.
       
  11. Assign queue 2 to marketing_dept.
    1. Select QoS > DiffServ > Advanced > Policy Configuration.

      A screen similar to the following displays.

      Image
       
    2. Click the internet_access check box for marketing_dept.

      A screen similar to the following displays.

      Image
       
    3. In the Assign Queue list, select 2.
    4. Click Apply.
       
  12. Assign queue 3 to test_dept.
    1. Select QoS > DiffServ > Advanced > Policy Configuration.

      A screen similar to the following displays.

      Image
    2. Click the internet_access check mark for test_dept.

      A screen similar to the following displays.

      Image
       
    3. In the Assign Queue list, select 3.
    4. Click Apply.
       
  13. Assign queue 4 to development_dept.
    1. Select QoS > DiffServ > Advanced > Policy Configuration.

      A screen similar to the following displays.

      Image
       
    2. Click the internet_access check mark for development_dept.

      A screen similar to the following displays.

      Image
       
    3. In the Assign Queue list, select 4.
    4. Click Apply.
       
  14. Attach the defined policy to interfaces 1/0/1 through 1/0/4 in the inbound direction.
    1. Select QoS > DiffServ > Advanced > Service Configuration.

      A screen similar to the following displays.

      Image
       
    2. Scroll down and select the check boxes for interfaces 1/0/1, 1/0/2, 1/0/3, and 1/0/4.
    3. In the Policy In list, select internet_access.
    4. Click Apply.
       
  15. Set the CoS queue 1 configuration for interface 1/0/5.
    1. Select QoS > CoS > Advanced > Interface Queue Configuration.

      A screen similar to the following displays.

      Image
       
    2. Scroll down and select the Interface 1/0/5 check box.

      Now 1/0/5 appears in the Interface field at the top.
       
    3. In the Queue ID list, select 1.
    4. In the Minimum Bandwidth field, enter 25.
    5. Click Apply.
       
  16. Set the CoS queue 2 configuration for interface 1/0/5.
    1. Select QoS > CoS > Advanced > Interface Queue Configuration.

      A screen similar to the following displays.

      Image
       
    2. Under Interface Queue Configuration, scroll down and select the interface 1/0/5 check box.

      Now 1/0/5 appears in the Interface field at the top.
       
    3. In the Queue ID list, select 2.
    4. In the Minimum Bandwidth field, enter 25.
    5. Click Apply.
       
  17. Set the CoS queue 3 configuration for interface 1/0/5.
    1. Select QoS > CoS > Advanced > Interface Queue Configuration.

      A screen similar to the following displays.

      Image
    2. Under Interface Queue Configuration, scroll down and select the interface 1/0/5 check box.

      Now 1/0/5 appears in the Interface field at the top.
       
    3. In the Queue ID list, select 3.
    4. In the Minimum Bandwidth field, enter 25.
    5. Click Apply.
       
  18. Set the CoS queue 4 configuration for interface 1/0/5.
    1. Select QoS > CoS > Advanced > Interface Queue Configuration.

      A screen similar to the following displays.

      Image
       
    2. Under Interface Queue Configuration, scroll down and select the Interface 1/0/5 check box.

      Now 1/0/5 appears in the Interface field at the top.
       
    3. In the Queue ID list, select 4.
    4. In the Minimum Bandwidth field, enter 25.
    5. Click Apply.


For more information, see the following support articles:

 

 

This article applies to the following managed switches and their respective firmware:

 

 

  • M5300 - firmware version 10.0.0.x
    • M5300-28G (GSM7228S)
    • M5300-5G (GSM7252S)
    • M5300-28G3 (GSM7328Sv2h2)
    • M5300-52G3 (GSM7352Sv2h2)
    • M5300-28G_POE+ (GSM7228PSv1h2)
    • M5300-52G-POE+ (GSM7252PSv1h2)
    • M5300-28GF3 (GSM7328FSv2)
  • M4100 - firmware version 10.0.1.x
    • M4100-26G (GSM7224v2h2)
    • M4100-50G (GSM7248v2h2)
    • M4100-26G-POE (GSM7226Pv1h1)
    • M4100-50G-POE+ (GSM7248Pv1h1)
    • M4100-26G-POE (FSM7226Pv1h1)
    • M4100-50-POE (FSM7250Pv1h1)
    • M4100-D12G (GSM5212v1h1)
    • M4100-D10-POE (FSM5210Pv1h1)
  • M7100 - firmware version 10.0.1.x
    • M7100-24X (XSM7224)
  • XSM7224S - firmware version 9.0.1.x

 

Last Updated:07/07/2025 | Article ID: 21751

Our team is here to help!

Phone
Chat
Email