Topic Last Modified: 2012-10-18

Media port range settings can significantly impact client performance and should be configured. You can configure these settings by using Lync Server Management Shell.

Media Port Range Settings

Setting Description Lync Server Management Shell cmdlet Cmdlet parameters

Portrange\Enabled

Specifies whether the port ranges sent by the server should be used by the client for media and signaling. Used in conjunction with the subvalues MinMediaPort and MaxMediaPort.

CsConferencingConfiguration

ClientMediaPortRangeEnabled

Portrange\MinMediaPort

Specifies the starting port number to use for media. Combines with MaxMediaPort to specify the range of ports. The recommended minimum range is 40 ports.

CsConferencingConfiguration

ClientMediaPort (represents the starting port number to use for client media)

Portrange\MaxMediaPort

Specifies the highest port number to use for media. Combines with MinMediaPort to specify the range of ports. The recommended minimum range is 40 ports.

CsConferencingConfiguration

ClientMediaPortRange (indicates the total number of ports available for client media; default is 40)

To Configure Media Port Range Settings

  1. Start the Lync Server Management Shell: Click Start, click All Programs, click Microsoft Lync Server 2013, and then click Lync Server Management Shell.

  2. Run the following cmdlet:

    Copy Code
    Get-CsConferencingConfiguration
    

    This cmdlet returns the conferencing configuration settings.

  3. Run the following cmdlet with the parameters and values you want to change (for details about the parameters for this cmdlet, see the Lync Server Management Shell documentation):

    Copy Code
    Set-CsConferencingConfiguration
    
    Note:
    You can create additional sets of conferencing configuration settings for specific sites. Use the New- CsConferencingConfiguration cmdlet with a site identity. When you create new conferencing configuration settings for sites, the site settings take precedence over the global settings. For details, see the Lync Server Management Shell documentation.