# Templates Detail

A Template is a way to control all settings for a Network Group. Basically a linked Network Group will inherit all values from a template.

A Template offers the following:

* Controls initial settings at network creation
* Best template is matched using the Beacons and the right template is selected as follows:
  * Fastest Beacon, so any Template that matches the Beacon Id.
  * We then match the best list of Templates using Latency and Bandwidth.

2Pint has provided many out-of-the-box templates which represents settings for various scenarios. At the "Templates" page, select the edit button next to any template to view and adjust settings.&#x20;

<figure><img src="https://109907496-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FYUaU4nvWOjjzrdVpKtdy%2Fuploads%2FI2yRHiwtGiRlplqCzhlZ%2FTemplatesList.jpg?alt=media&#x26;token=3ff80b2f-d3d4-4a06-a96f-0c8a1877b30d" alt=""><figcaption></figcaption></figure>

The table below lists all of the settings available within a template. The setting defaults will differ between templates depending on their purpose. Please review the information on the [Bandwidth Management and Allocation](https://documentation.2pintsoftware.com/stifler/2.10/operations/bandwidth-management) page which explains how different settings applies to different scenarios.&#x20;

### Network Group Template

<table data-full-width="false"><thead><tr><th>Setting</th><th>Description / Options</th></tr></thead><tbody><tr><td>Id</td><td>The GUID which is assigned to the template.</td></tr><tr><td>Description</td><td>A description of the template.</td></tr><tr><td>Date Added</td><td>The date and time in which the template was created.</td></tr><tr><td>Networks on this group is directly routed</td><td><p>Options:</p><ul><li>Direct route</li><li>Not directly routed (via NAT)</li></ul></td></tr></tbody></table>

### Bandwidth and Throttling Settings

| Setting                                        | Description / Options                                                                                                                      |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| Type of network                                | <p>Options:</p><ul><li>Regular network (default)</li><li>Well connected</li><li>VPN</li><li>DataCenter</li><li>BuildDepot</li></ul>        |
| Internet breakout                              | <p>Options:</p><ul><li>No separate throttling for Internet traffic (default)</li><li>No separate throttling for Internet traffic</li></ul> |
| Throttling of bandwidth                        | Mb/s (Mbs)                                                                                                                                 |
| Max bandwidth (downstream)                     | b/s (Not set)                                                                                                                              |
| Target bandwidth by %                          | 0-100%                                                                                                                                     |
| Separate throttling of internet bandwidth      | b/s                                                                                                                                        |
| Well connected DO bandwidth                    | b/s                                                                                                                                        |
| Well connected BITS bandwidth                  | b/s                                                                                                                                        |
| Non-leader DO bandwidth for regular networks   | Kb/s                                                                                                                                       |
| Non-leader BITS bandwidth for regular networks | Kb/s                                                                                                                                       |

### Automatic throttling and LEDBAT++ settings

| Setting                    | Description / Options                                                                                                                                                                                                                                                            |
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Beacon                     | FQDN of Beacon server                                                                                                                                                                                                                                                            |
| Measure vs template values | <p>Options:</p><ul><li>Beacon measure wins (default)</li><li>Template wins</li></ul>                                                                                                                                                                                             |
| Automatic bandwidth tuning | <p>Options:</p><ul><li>0 - Disabled</li><li>1 - Latency</li><li>8 - LEDBAT</li><li>16 - Estimate Max Bandwidth</li></ul><p>See this <a href="../../../../bandwidth-management/bandwidth-tuning-monitoring-and-control">page</a> for more information about bandwidth tuning.</p> |
| LEDBAT target bandwidth    | 0 b/s                                                                                                                                                                                                                                                                            |

### BranchCache and BITS

| Setting                                           | Description  / Options                                                                                                      |
| ------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
| Disable BranchCache                               | <p>Options:</p><ul><li>Do not disable (default)</li><li>Yes, disable</li></ul>                                              |
| Set BrancheCache to Local mode only               | <p>Options:</p><ul><li>Allow other modes</li><li>Yes, local only</li></ul>                                                  |
| Server Secret                                     | \<Enter the server secret>                                                                                                  |
| Set LEDBAT++ on BITS Uploads                      | <p>Options:</p><ul><li>Do set BITS uploads to use LEDBAT++</li><li>Use LEDBAT++ for uploads</li></ul>                       |
| Set BranchCache to local mode on Wifi             | <p>Options:</p><ul><li>Disabled (default)</li><li>Enabled</li></ul>                                                         |
| Force distributed mode                            | <p>Options:</p><ul><li>Disabled (default)</li><li>Enabled</li></ul>                                                         |
| Force Hosted Cache Mode                           | <p>Options:</p><ul><li>Disabled (default)</li><li>Enabled</li></ul>                                                         |
| Set BranchCache to use port 1337, 1338, 1339      | <p>Options:</p><ul><li>Yes, manage the ports (default)</li><li>Manually manage ports</li></ul>                              |
| Manage cache sizes                                | <p>Options: </p><ul><li>Enabled (default)</li><li>Managed manually</li></ul>                                                |
| Cache options set (change via WMI)                | 10 GB for disks 128 GB and less, 10% for 250-500 and 50 GB for 480+                                                         |
| Disable GreenLeader for clients on wired networks | <p>Options:</p><ul><li>Wired clients can use Green Leaders (default)</li><li>Wired clients use distributed mode</li></ul>   |
| Always use Green Leader(s) for clients on Wifi    | <p>Options:</p><ul><li>Wifi clients may use Green Leaders (default)</li><li>Wifi clients always use Green Leaders</li></ul> |
| Automatically select Blue Leader(s) if needed     | <p>Options:</p><ul><li>No, manually define (default)</li><li>Yes, select for me if needed</li></ul>                         |

### Delivery optimization

| Setting                                             | Description / Options                                                                                                                                 |
| --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| Delivery Optimization mode                          | <p>Options:</p><ul><li>Group (default)</li><li>Not Configured</li><li>HTTP Only</li><li>LAN</li><li>Internet </li><li>Simple</li><li>Bypass</li></ul> |
| Automatically set group id (using Network Group Id) | <p>Options:</p><ul><li>Enabled (default)</li><li>Managed manually</li></ul>                                                                           |
| Disable P2P on WiFi networks                        | <p>Options:</p><ul><li>Managed manually (default)</li><li>Enabled</li></ul>                                                                           |
| Enable DNS-SD for peer discovery                    | <p>Options:</p><ul><li>Disabled (default)</li><li>Enabled </li></ul>                                                                                  |
| Disable Teredo responses to multicast               | <p>Options:</p><ul><li>Disabled (default)</li><li>Enabled</li></ul>                                                                                   |
| Randomize fallback times to randomize start times   | <p>Options:</p><ul><li>Enabled (default)</li><li>Managed manually</li></ul>                                                                           |
| Force low RAM machines to use P2P                   | <p>Options: </p><ul><li>Enabled (default)</li><li>Managed manually</li></ul>                                                                          |
| Manage cache sized                                  | <p>Options:</p><ul><li>Enabled (default)</li><li>Managed manually</li></ul>                                                                           |
| Cache options set (change via WMI)                  | 10 GB for disks 128 GB and less, 10% for 250-500 and 50 GB for 480+                                                                                   |
| Allow small files to peer to peer                   | <p>Options:</p><ul><li>Enabled (default)</li><li>Not set</li></ul>                                                                                    |
| Configure maximum cache  age                        | <p>Options:</p><ul><li>Enabled (default)</li><li>Not set</li></ul>                                                                                    |
| Configure minimum background QoS for more P2P       | <p>Options:</p><ul><li>Enabled (default)</li><li>Not set</li></ul>                                                                                    |
| Delay foreground download from http for more P2P    | <p>Options:</p><ul><li>Enabled (default)</li><li>Not set</li></ul>                                                                                    |
| Delay background download from http for more P2P    | <p>Options:</p><ul><li>Enabled (default)</li><li>Not set</li></ul>                                                                                    |
| Delay Cache Server fallback foreground for more P2P | <p>Options: </p><ul><li>Enabled (default)</li><li>Not set </li></ul>                                                                                  |
| Delay Cache Server fallback Background for more P2P | <p>Options:</p><ul><li>Enabled (default)</li><li>Not set</li></ul>                                                                                    |
