Preparing servers and clients for DSCP tagging

The only way for a network infrastructure to recognize and prioritize the different data flows is if there is something in the data to identify the type of traffic. This can be done in many ways, some more intelligent than others. However, one sure way to alert the infrastructure is to tag the packets with predefined DSCP marking (which must be agreed upon and honored end-to-end in the network).

Getting ready

This task cannot be completed without proper planning and an agreement with the network team on which values to mark the different data types with. We also need to know which ports the different types of traffic will use. Once this is settled, it's time to configure servers and clients to tag the traffic.

Tip

A good starting point could be these example values: Audio DSCP 46 (EF), Video DSCP 34 (AF41), Signaling 24 (CS3), and file transfer 18.

How to do it...

There are at least three systems that we need to address: clients, domain servers, and non-domain servers (edge). The first two can have group policies assigned to them, but the third system must be edited through the local group policy.

The following are the steps to enable QoS system-wide:

  1. Launch PowerShell in an elevated administrative mode.
  2. Type the following command:
    Set-CsMediaConfiguration -EnableQoS $true
    

Follow these steps to add Client Group Policies. Each type of traffic will need its own QoS policy. Here is the description of the first policy for the clients. Repeat the procedure for all the types of traffic to be tagged as follows:

  1. Log on to a server/client with administrative rights to the domain and with the group policy management tool available.
  2. Start the Group Policy Management window.
  3. Locate the container/OU where the new policy should be created.
  4. Right-click on the appropriate container and then select Create a GPO in this domain, and Link it here.
  5. Give the new policy a name and then click on OK.
  6. Right-click on the newly-created policy and then click on Edit.
  7. Expand Computer Configuration and Windows Settings.
  8. Right-click on Policy-Based QoS and click on Create new policy.
  9. Type a descriptive name for the new policy. Give it a descriptive name for later reference, for example, Lync Audio QoS.
  10. Select the Specify DSCP Value checkbox, and then select the assigned DSCP (46 for audio).
  11. Uncheck the Specify Outbound Throttle Rate checkbox.
  12. Click on Next.
  13. Click on Only applications with this executable name.
  14. Type communicator.exe (the Lync client name).
  15. Click on Next.
  16. Leave the source and destination as is (the default is all source/destination IP).
  17. Click on Next.
  18. Select TCP and UDP.
  19. Specify the source port number by selecting From this source port number or range. Enter the port range for the media type that you specified while planning.
  20. Click on Finish.
  21. Repeat steps 8 to 20 for all of the media types to tag.
  22. Save the GPO, and make sure that the Group Policy is applied to all of the clients where Lync is used.

    Tip

    To verify whether a Group Policy has been applied to the computer, open a command prompt in the elevated administrative mode and type gpresult /r /scope COMPUTER. Look for the policy under Applied Group Policy Objects.

Lync Servers (not Edges)

Follow the same procedure to add policies to clients when applying to servers, with the following exception.

Note

The port settings are applied to the services in the next section, so these tasks must be completed at the same time (more or less) to be of any help.

All server policies must be configured with the All programs and Source ports settings, and not with Only applications with this executable name as the client-side policies are.

The Edge Server internal interface

Follow the same procedure to add policies to clients when applying to servers, with the following exceptions:

  • The Edge Server cannot receive Group Policies from the domain. The configuration must be performed on the server in Local security Policy.
  • All edge server policies must be configured with the All programs and Destination ports settings, and not with Only applications with this executable name as the client-side policies are.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.198.83