32 ntp server – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 765

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 765 of 855

no ntp refclock

stratum number

(Optional) Number from 1 to 15. Indicates the NTP stratum number that
the system will claim.


Command Mode

Global configuration


Default

This command is disabled by default.


Usage


Examples

The following example shows configuration of a NTP source on a switch platform:
Switch(config)# ntp refclock stratum 1


Related Commands

show ntp

40.32 ntp server

To allow the software clock to be synchronized by a Network Time Protocol (NTP) time server, use the
ntp server command in global configuration mode. To disable this capability, use the no form of this
command.


Command Syntax

ntp server { hostname | address } [key key-id] [prefer] [version number]
no ntp server
{ hostname | address }

address

IP address of the time server or peer.

hostname

Name of the time server or peer.

key

(Optional)

Defines

the

authentication

key.

key-id

(Optional) Authentication key to use when sending packets to this server (1 to
64000).

prefer

(Optional) Makes this server the preferred server that provides synchronization.

version

(Optional) Defines the Network Time Protocol (NTP) version number.

number

(Optional) NTP version number (1 to 3).


Command Mode

Global configuration


Default

Advertising