To specify the name or IP address of a Network Time Protocol (NTP) server with which the storage router will synchronize date and time, use the ntp peer command. To clear the current NTP server setting, use the no form of this command.
ntp peer{A.B.C.D | server-name}
no ntp peer
Syntax Description
A.B.C.D
The IP address of the NTP server with which the storage router synchronizes date and time. A.B.C.D is the dotted quad notation of the IP address.
server-name
The name of the NTP server with which the storage router synchronizes date and time. In order to specify a server name, the storage router must be configured to use a DNS server using the ip name-server command.
Defaults
None.
Command Modes
Administrator.
Command History
Release
Modification
2.2.1
This command was introduced for the SN 5428.
3.2.1
This command was introduced for the SN 5428-2.
Usage Guidelines
The storage router must provide accurate date and time information for log files and user interfaces. It will use the services of the NTP server to keep the date and time synchronized with the rest of the network.
If the NTP server is outside the storage router management subnet, use the ip route command to add an appropriate gateway IP address to the routing table.
After a time change, a system reboot is required to synchronize the system timestamp with the timestamps on the integrated FC switch log files, syslog and devlog.
Examples
The following example sets the IP address of the NTP server for the storage router to 10.1.60.86.