xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
880
Format
config ntp peer delete [<ipaddr> | <ipv6addr>]
Parameters
<ipaddr> - Enter the IPv4 address of the NTP peer.
<ipv6addr> - Enter the IPv6 address of the NTP peer.
Restriction
Only Administrators, Operators and Power Users can issue this command.
Examples
To delete the clock of the peer at IP address 192.168.22.33:
DGS-3620-28PC:admin# config ntp peer delete 192.168.22.33
Command: config ntp peer delete 192.168.22.33
Success.
76-12 config ntp request_key
Description
This command is used to Specifies the key ID for NTP mode 7 packets (the ntpdc utility program).
ntpdc is used to query the daemon about its current state and to request changes in that state. The
program may be run either in interactive mode or controlled using command line arguments.
Extensive state and statistics information is available through the ntpdc interface. In addition,
nearly all the configuration options which can be specified at startup using ntpd's configuration file
may also be specified at run time using ntpdc.
If one or more request options are included on the command line when ntpdc is executed, each of
the requests will be sent to the NTP servers running on each of the hosts given as command line
arguments, or on localhost by default. If no request options are given, ntpdc will attempt to read
commands from the standard input and execute these on the NTP server running on the first host
given on the command line, again defaulting to localhost when no other host is specified. ntpdc will
prompt for commands if the standard input is a terminal device.
ntpdc uses NTP mode 7 packets to communicate with the NTP server, and hence can be used to
query any compatible server on the network which permits it. Note that since NTP is a UDP
protocol this communication will be somewhat unreliable, especially over large distances in terms
of network topology. ntpdc makes no attempt to retransmit requests, and will time requests out if
the remote host is not heard from within a suitable timeout time.
Format
config ntp request_key [<key_id> | clear]