sntp server

Default

1 retry

Mode

Global Config

sntp server

This command configures an SNTP server connection (with a maximum of three).

Syntax

sntp server ipaddress [priority [version [portid]]]

 

 

 

Parameters

ipaddress

Specify either the IPv4 address of the server or a DNS hostname. If DNS, then that

 

 

hostname should be resolved into an IP address each time a SNTP request is sent

 

 

to it.

 

 

 

 

priority

Optionally, specify the priority of this server entry in determining the sequence of

 

 

servers to which SNTP requests will be sent. The client continues sending

 

 

requests to different servers until a successful response is received or all servers

 

 

are exhausted. A server entry with a priority of 1 is queried before a server with a

 

 

priority of 2, and then a server with a priority of 3. If more than one server has the

 

 

same priority then the requesting order follows the lexicographical ordering of the

 

 

entries in this table. Allowed range is 1 to 3. Default value is 1.

 

 

 

 

version

If priority is specified, optionally identify the NTP version running on the server.

 

 

Allowed range is (1 to 4). Default value is 4.

 

 

 

 

portid

The the port ID a value of 1–65535.

 

 

 

Use the no sntp server remove ipaddress command to delete the server from the list of

 

SNTP servers.

 

Mode

Global Config

 

show sntp

This command is used to display SNTP settings and status.

Syntax

show sntp

Mode

Privileged Exec

Example

 

Force10# show sntp

 

 

Last Update Time:

AUG 20

09:04:15 2006

Last Unicast Attempt Time:

AUG 20

09:04:15 2006

Last Attempt Status:

Success

 

Broadcast Count:

0

 

Force10#

 

 

Figure 47 show sntp Command Example

218

SNTP Commands

Page 218
Image 218
Force10 Networks S2410s manual Show sntp, Sntp servers, This command is used to display Sntp settings and status