Configure the time settings with SNTP and configure the global SNTP settings
To configure the time by using SNTP and configure the global SNTP settings:
- Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
The System Information page displays.
- Select System > Management > Time > Time Configuration.
The Time Configuration page displays.
- Select the Clock Source SNTP radio button.
The default is SNTP.
In the SNTP Global Configuration section of the page, configure the following settings.
- Select a Client mode radio button to specify the operation mode of the SNTP client on the switch:
-
Unicast: SNTP operates in a point-to-point mode. A unicast client sends a request to a designated server at its unicast address and expects a reply from which it can determine the time and, optionally, the round-trip delay and local clock offset relative to the server. For information about SNTP servers, see Configure SNTP servers.
-
Broadcast: SNTP operates uses a local broadcast address instead of a multicast address. The broadcast address has a single subnet scope while a multicast address has an Internet wide scope.
-
- In the Port field, specify the local UDP port on which the SNTP client receives server packets.
The port number is 123 or in a range from 1025 to 65535. The default is 123. When the default value is configured, the actual client port value used in SNTP packets is assigned by the operating system.
- From the Source Interface menu, select the interface that the SNTP client must use. By default, the following options display in the menu:
-
None: The primary IP address of the originating (outbound) interface is used as the source address.
-
VLAN 1: The primary IP address of VLAN 1 is used as the source address. This is the default selection.
-
Service Port: The management port IP address is used as the source address.
Depending on the configuration of your switch, the following options can display:
-
Another VLAN ID: The primary IP address of a VLAN other than VLAN 1 is used as the source address.
-
Routing interface: The primary IP address of a routing interface is used as the source address.
-
Routing VLAN: The primary IP address of a VLAN routing interface is used as the source address.
-
Routing loopback interface: The primary IP address of a routing loopback interface is used as the source address.
-
Different: For some features, Different can display. This means that the source interface is configured separately.
-
- In the Unicast Poll Interval field, specify the number of seconds between unicast poll requests expressed as a power of 2.
The range is from 6 to 10. The default is 6.
- In the Broadcast Poll Interval field, specify the number of seconds between broadcast poll requests expressed as a power of 2.
Broadcast messages received prior to the expiration of this interval are discarded. The range is from 6 to 10. The default is 6.
- In the Unicast Poll Timeout field, specify the number of seconds to wait for an SNTP response to a unicast poll request.
The range is from 1 to 30. The default is 5.
- In the Unicast Poll Retry field, specify the number of times to retry a unicast poll request to an SNTP server after the first time-out before the switch attempts to use the next configured server.
The range is from 0 to 10. The default is 1.
- In the Time Zone Name field, specify a time zone.
In the Offset Hours and Offset Minutes fields, you can also specify the number of hours and number of minutes that the time zone is different from the Coordinated Universal Time (UTC). The time zone can affect the display of the current system time.
Note: When you use an SNTP or NTP time server, the time data that is received from the server is based on the UTC, which is the same as Greenwich Mean Time (GMT). This might not be the time zone in which the switch is located. - In the Offset Hours field, specify the number of hours that the time zone is different from UTC.
The range is from –12 to 14. The default is 0.
- In the Offset Minutes field, specify the number of minutes that the time zone is different from UTC.
The range is from 0 to 59. The default is 0.
- Click the Apply button.
Your settings are saved.
- To save the settings to the running configuration, click the Save icon.