ntp master


ntp master vrf <VRF-NAME> {stratum <NUMBER>]

no ntp master vrf <VRF-NAME>


Sets the switch as the master time source for NTP clients on the specified VRF. By default, the switch operates at stratum level 8. The switch cannot function as both NTP master and client on the same VRF.

The no form of this command stops the switch from operating as the master time source on the specified VRF.

Command context



vrf <VRF-NAME>

Specifies the VRF on which to act as master time source.

stratum <NUMBER>

Specifies the stratum level at which the switch operates. Range: 1 - 15. Default: 8.


Administrators or local user group members with execution rights for this command.


Setting the switch to act as master time source on VRF primary-vrf with a stratum level of 9.

switch(config)# ntp master vrf primary-vry statum 9

Stops the switch from acting as master time source on VRF primary-vrf.

switch(config)# no ntp master vrf primary-vry