DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
439
ntp peer {IP-ADDRESS | IPv6-ADDRESS} [version NUMBER] [key KEY-ID] [prefer] [min-poll
INTERVAL] [max-poll INTERVAL]
no ntp peer {IP-ADDRESS | IPv6-ADDRESS}
Parameters
Specifies the IPv4 address of the peer.
Specifies the IPv6 address of the peer.
(Optional) Specifies the NTP version number.
(Optional) Specifies to enter the NTP version number from 1 to 4.
The default version number is 4.
(Optional) Specifies the authentication key.
(Optional) Specifies to enter the authentication key ID from 1 to 255.
(Optional) Specifies to be the preferred peer for synchronization.
(Optional) Specifies the minimum poll interval for NTP messages.
This value is calculated as 2 to the power of the minimum poll
interval value specified. For example, if the value specified here is
6, the minimum poll interval that will be used is 64 seconds (2
6
=64).
(Optional) Specifies to enter the minimum poll interval value. The
default value is 6.
(Optional) Specifies the maximum poll interval for NTP messages.
This value is calculated as 2 to the power of the maximum poll
interval value specified. For example, if the value specified here is
6, the maximum poll interval that will be used is 64 seconds (2
6
=64).
(Optional) Specifies to enter the maximum poll interval value. The
default value is 10.
Default
None.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The Switch’s software clock can synchronize the NTP settings with a peer.
Example
This example shows how to configure the IP address of the NTP peer to 192.168.22.33 using NTP
version 3.
Switch#configure terminal
Switch(config)#ntp peer 192.168.22.33 version 3
Switch(config)#
51-9 ntp request-key
This command is used to define the key ID for NTP mode 7 packets, used by the ntpdc utility program.
Use the no form of this command to remove the key.
ntp request-key KEY-ID