© Copyright Lenovo 2016
Table 154.
NTP Server Configuration Options (continued)
Command Syntax and Usage
ntp primaryserver {dataport|mgtport}
Prompts for the port of the primary NTP server to which you want to
synchronize the switch clock.
Command mode: Global configuration
ntp primaryserver <hostname or IP address> [dataport|mgtport]
Prompts for the IP address or host name of the primary NTP server to which
you want to synchronize the switch clock.
Command mode: Global configuration
no ntp primaryserver
Deletes the primary NTP server.
Command mode: Global configuration
ntp offset <0‐86400>
Configures the minimum offset in seconds between the switch clock and the
NTP server that triggers a system log message.
The default value is 300 seconds.
Command mode: Global configuration
no ntp offset
Resets the NTP offset to the default 300 seconds value.
Command mode: Global configuration
ntp secondaryserver {dataport|mgtport}
Prompts for the port of the secondary NTP server to which you want to
synchronize the switch clock.
Command mode: Global configuration
ntp secondaryserver <hostname or IP address>
[dataport|mgtport]
Prompts for the IP address or host name of the secondary NTP server to which
you want to synchronize the switch clock.
Command mode: Global configuration
no ntp secondaryserver
Deletes the secondary NTP server.
Command mode: Global configuration
ntp source loopback <1‐5>
Sets the NTP source loopback interface.
Command mode: Global configuration
no ntp source loopback
Deletes all NTP source loopback interface.
Command mode: Global configuration
Chapter 4: Configuration Commands
367