Services

ntp master [stratum]

Make this device an authoritative NTP time source on its own clock, at stratum 1-15 (8 when omitted).

Works on: Router, Firewall, SwitchMode: config

Example

R2(config)# ntp master 3
Watch out

It makes the device an NTP source at that stratum, default 8: 'show ntp status' on it reads its own stratum with reference 127.127.1.1, and a client with 'ntp server <its ip>' synchronizes one level below it (stratum 4 under a stratum-3 master). A stratum outside 1-15 is rejected.

Run this command live

Don't just read it — type ntp master [stratum] in a real network simulator in your browser and watch it take effect. No install, no account needed to start.

Open the lab

Frequently asked

What does the "ntp master [stratum]" command do?

Make this device an authoritative NTP time source on its own clock, at stratum 1-15 (8 when omitted).

What's the common gotcha with "ntp master [stratum]"?

It makes the device an NTP source at that stratum, default 8: 'show ntp status' on it reads its own stratum with reference 127.127.1.1, and a client with 'ntp server <its ip>' synchronizes one level below it (stratum 4 under a stratum-3 master). A stratum outside 1-15 is rejected.

Example of "ntp master [stratum]"

R2(config)# ntp master 3

More Services commands

← Back to the full command reference

ntp master [stratum] — network CLI command reference · NetForge-AI