Use the NTP template for all Viptela devices.
Configure network time protocol (NTP) servers on your Viptela devices in order to synchronize time across all devices in the Viptela overlay network. You can configure up to four NTP servers, and they must all be located or reachable in the same VPN.
Other devices are allowed to ask a Viptela device for the time, but no devices are allowed to use the Viptela device as an NTP server.
To configure NTP using vManage templates:
- Create an NTP feature template to configure NTP parameters, as described in this article.
- Configure the timezone in the System template. See the System help topic.
Navigate to the Template Screen and Name the Template
- In vManage NMS, select the Configuration ► Templates screen.
- In the Device tab, click Create Template.
- From the Create Template drop-down, select From Feature Template.
- From the Device Model drop-down, select the type of device for which you are creating the template.
- Select the Basic Information tab.
- Under Additional System Templates, located to the right of the screen, click NTP.
- From the NTP drop-down, click Create Template. The NTP template form is displayed. The top of the form contains fields for naming the template, and the bottom contains fields for defining NTP parameters.
- In the Template Name field, enter a name for the template. The name can be up to 128 characters and can contain only alphanumeric characters.
- In the Template Description field, enter a description of the template. The description can be up to 2048 characters and can contain only alphanumeric characters.
When you first open a feature template, for each parameter that has a default value, the scope is set to Default (indicated by a check mark), and the default setting or value is shown. To change the default or to enter a value, click the scope drop-down to the left of the parameter field and select one of the following:
Device Specific (indicated by a host icon)
Use a device-specific value for the parameter. For device-specific parameters, you cannot enter a value in the feature template. You enter the value when you attach a Viptela device to a device template.
When you click Device Specific, the Enter Key box opens. This box displays a key, which is a unique string that identifies the parameter in a CSV file that you create. This file is an Excel spreadsheet that contains one column for each key. The header row contains the key names (one key per column), and each row after that corresponds to a device and defines the values of the keys for that device. You upload the CSV file when you attach a Viptela device to a device template. For more information, see Create a Template Variables Spreadsheet.
To change the default key, type a new string and move the cursor out of the Enter Key box.
Examples of device-specific parameters are system IP address, hostname, GPS location, and site ID.
Global (indicated by a globe icon)
Enter a value for the parameter, and apply that value to all devices.
Examples of parameters that you might apply globally to a group of devices are DNS server, syslog server, and interface MTUs.
Configure NTP Servers
To configure NTP servers, select the Server tab and click Add New Server. Then configure the following parameters. Parameters marked with an asterisk are required to configure NTP.
|Hostname/IP Address*||Enter the IP address of an NTP server or of a DNS server that knows how to reach the NTP server.|
|Authentication Key*||Specify the MD5 key associated with the NTP server, to enable MD5 authentication. For the key to work, you must mark it as trusted in the Trusted Keys field, under the Authentication tab (discussed below).|
Enter the number of the VPN to use to reach the NTP server or the VPN in which the NTP server is located. If you configure multiple NTP servers, they must all be located or reachable in the same VPN.
Range: 0 through 65530
|Version*||Enter the version number of the NTP protocol software.
Range: 1 through 4
|Source Interface||Enter the name of a specific interface to use for outgoing NTP packets. The interface must be located in the same VPN as the NTP server. If it is not, the configuration is ignored.|
|Prefer||Click On if multiple NTP servers are at the same stratum level and you want one to be preferred. For servers at different stratum levels, the software chooses the one with the highest stratum level.|
To add the NTP server, click Add.
To add another NTP server, click Add New Server. You can configure up to four NTP servers. The Viptela software uses the server at the highest stratum level.
To edit an NTP server, click the pencil icon to the right of the entry.
To delete an NTP server, click the trash icon to the right of the entry.
To save the feature template, click Save.
Configure NTP Authentication
To configure authentication keys used to authenticate NTP servers, in the Authentication tab, xlixk the Authentication Key tab. Then click Add New Authentication Key, and configure the following parameters. Parameters marked with an asterisk are required to configure NTP.
Select the following values:
|Authentication Value*||Enter an MD5 authentication key. For the key to be used, you must designate it as trusted. To associate a key with a server, enter the same value as you use for the the Authentication Key field on the Server tab.|
To configure trusted keys used to authenticate NTP servers, in the Authentication tab, click the Trusted Keys tab and configure the following parameters;
Enter the MD5 authentication key to designate the key as trustworthy. To associate this key with a server, enter the same value as you use for the the Authentication Key field on the Server tab.
system ntp keys authentication key-id md5 md5-key trusted key-id
Introduced in vManage NMS in Release 15.2.