#configure terminal | Enter configure mode |
(config)#feature ntp vrf management | Enable feature ntp |
(config)#ntp enable vrf management | Enable ntp |
(config)#ntp master vrf management | Configure the node as NTP master |
(config)#ntp master stratum 1 vrf management | Configure the ntp stratum level as 1 indicating that it is using local clock |
(config)#ntp allow 10.12.20.5 vrf management | Configure the ntp client ip address in the ntp allow list |
(config)#commit | Commit the configuration |
(config)#exit | Exit configure mode |
#configure terminal | Enter configure mode. |
(config)#feature ntp vrf management | Enable feature ntp. |
(config)#ntp enable vrf management | Enable ntp |
(config)#ntp master vrf management | Configure the node as NTP Master |
(config)#ntp master stratum 2 vrf management | Configure the node as stratum 2 ntp master |
(config)#ntp allow 10.12.20.6 vrf management | Configure NTP client ip address in the ntp allow list |
(config)#ntp server 10.12.20.7 vrf management | Configure the stratum 1 NTP master ip address for time synchronization |
(config)#commit | Commit the configuration |
(config)#exit | Exit Configure mode |
#configure terminal | Enter configure mode. |
(config)#feature ntp vrf management | Enable feature ntp. |
(config)#ntp enable vrf management | Enable ntp |
(config)#ntp server 10.12.20.5 vrf management | Configure ntp server address for the sync to happen |
(config)#commit | Commit the configuration |
(config)#exit | Exit Configure mode |