Cisco SN 5400 Series Storage Router Command Reference, Release 3.4
Chapter 11 - N Commands

Table Of Contents

N Commands

ntp peer


N Commands


This chapter covers the following commands:

ntp peer

ntp peer

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.

[SN5428-2A]# ntp peer 10.1.60.86

Related Commands

Command
Description

clock set

Set the storage router system clock.

clock timezone

Specify the time zone associated with the storage router.

ip route

Add a static route to the storage router routing table.

save all

Save all configuration information.

save system

Save selected system information, including NTP server name.

setup time

Run the wizard to configure the system date and time.

show clock

Display the current system date and time, including the system time zone.

show system

Display selected system information, including NTP server address.