User Manual

Table Of Contents
[Parameter]
ipv4_addr : IPv4 address of the NTP server
ipv6_addr : IPv6 address of the NTP server
If you specify an IPv6 link local address, you must also specify the output interface (fe80::X%vlanN
format)
fqdn : Host name of the NTP server
As character types, alphabetical characters (uppercase/lowercase), numerals, . (period), and - (hyphen)
can be used
[Initial value]
none
[Input mode]
global configuration mode
[Description]
Registers the address or host name of the NTP server.
Up to two instances of this command can be set.
If this command is executed with the "no" syntax, the NTP server setting is deleted.
If time synchronization is performed with two NTP servers specified, they are queried in the order of NTP server 1 and NTP
server 2 as shown by the show ntpdate command.
The query to NTP server 2 is performed only if synchronization with NTP server 1 fails.
[Example]
Specify 192.168.1.1 as the NTP server.
SWR2311P(config)#ntpdate server ipv4 192.168.1.1
Specify fe80::2a0:deff:fe11:2233%vlan1 as the NTP server.
SWR2311P(config)#ntpdate server ipv6 fe80::2a0:deff:fe11:2233%vlan1
Specify ntp.example.com as the NTP server.
SWR2311P(config)#ntpdate server name ntp.example.com
4.6.5 Synchronize time from NTP server (one-shot update)
[Syntax]
ntpdate oneshot
[Input mode]
priviledged EXEC mode
[Description]
Attempts to obtain time information from the registered NTP server.
This is performed only once when this command is executed.
[Example]
Obtain time information from the NTP server.
SWR2311P#ntpdate oneshot
4.6.6 Synchronize time from NTP server (update interval)
[Syntax]
ntpdate interval interval-time
no ntpdate interval
Command Reference | Maintenance and operation functions | 45