SNTP unicast time polling with multiple SNTP servers
When running SNTP unicast time polling as the
time synchronization method, the switch requests a time update from
the server you configured with either the Server Address
parameter
in the menu interface, or the primary server in a list of up to three
SNTP servers configured using the CLI. If the switch does not receive
a response from the primary server after three consecutive polling
intervals, the switch tries the next server (if any) in the list.
If the switch tries all servers in the list without success, it sends
an error message to the Event Log and reschedules to try the address
list again after the configured Poll Interval
time
has expired.
If there are already three SNTP server addresses configured on the switch, and you want to use the CLI to replace one of the existing addresses with a new one, you must delete the unwanted address before you configure the new one.
Displaying all SNTP server addresses configured on the switch (CLI)
The System Information screen in the menu interface
displays only one SNTP server address, even if the switch is configured
for two or three servers. The CLI show management
command
displays all configured SNTP servers on the switch.
How to list all SNTP servers configured on the switch
HP Switch(config)# show management Status and Counters - Management Address Information Time Server Address : fe80::215:60ff:fe7a:adc0%vlan10 Priority SNTP Server Address Protocol Version -------- ---------------------------------------------- ---------------- 1 2001:db8::215:60ff:fe79:8980 7 2 10.255.5.24 3 3 fe80::123%vlan10 3 Default Gateway : 10.0.9.80 VLAN Name MAC Address | IP Address ------------ ------------------- + ------------------- DEFAULT_VLAN 001279-88a100 | Disabled VLAN10 001279-88a100 | 10.0.10.17
Adding and deleting SNTP server addresses
Adding addresses
As mentioned earlier, you can configure one SNTP server address using either the Menu interface or the CLI. To configure a second and third address, you must use the CLI. To configure the remaining two addresses, you would do the following:
Creating additional SNTP server addresses with the CLI
HP Switch(config)# sntp server 2001:db8::215:60ff:fe79:8980 HP Switch(config)# sntp server 10.255.5.24
NOTE: If there are already three SNTP server addresses configured on the switch, and you want to use the CLI to replace one of the existing addresses with a new one, you must delete the unwanted address before you configure the new one. | |
Deleting addresses
Syntax:
no sntp server <
ip-addr
>Deletes a server address. If there are multiple addresses and you delete one of them, the switch re-orders the address priority.
Example:
To delete the primary address in the above Example: and automatically convert the secondary address to primary:
HP Switch(config)# no sntp server 10.28.227.141