beautypg.com

Ntp master – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1676

background image

NTP Commands

Software Reference for x310 Series Switches

62.6

AlliedWare Plus

TM

Operating System - Version 5.4.4C

C613-50046-01 REV A

ntp master

Use this command to make the device to be an authoritative NTP server, even if the
system is not synchronized to an outside time source. Note that no stratum number is set
by default.

Use the no variant of this command to stop the device being the designated NTP server.

Syntax

ntp master [<stratum>]

no ntp master

Mode

Global Configuration

Usage

The stratum number is null by default and must be set using this command. The stratum
levels define the distance from the reference clock and exist to prevent cycles in the
hierarchy. Stratum 1 is used to indicate time servers, which are more accurate than
Stratum 2 servers. For more information on the Network Time Protocol go to:

www.ntp.org//

Examples

To stop the switch from being the designated NTP server use the commands:

To make the switch the designated NTP server with stratum number 2 use the commands:

Parameter

Description

<stratum>

<1-15>

The stratum number defines the configured level that is set

for this master within the NTP hierarchy.

awplus#

configure terminal

awplus(config)#

no ntp master

awplus#

configure terminal

awplus(config)#

ntp master 2