N Commands
ntp master
301
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
ntp master
To configure the device to act as an authoritative Network Time Protocol (NTP) server, use the ntp
master command. To remove the device as an authoritative NTP server, use the no form of this
command.
ntp master [stratum]
no ntp master [stratum]
Syntax Description
Defaults None
Command Modes Global configuration mode
Supported User Roles network-admin
vdc-admin
Command History
Usage Guidelines This command enables the device to distribute time even when it is not synchronized to an existing time
server.
Make sure that you are in the correct virtual device context (VDC). To change the VDC, use the switchto
vdc command.
This command does not require a license.
Examples This example shows how to configure the device to act as an authoritative NTP server:
switch# configure terminal
switch(config)# feature ntp
switch(config)# ntp master 5
This example shows how to remove a device as an authoritative NTP server:
switch# configure terminal
switch(config)# no ntp master 5
stratum (Optional) Stratum level. The range is from 1 to 15.
Release Modification
5.2(1) This command was introduced.