Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enables or disables system logs to be generated with
significant NTP events. NTP logging is disabled by
default.
switch(config)# [no] ntp logging
Step 2
(Optional)
Displays the NTP logging configuration status.
switch(config)# show ntp
logging-status
Step 3
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
switch(config)# copy running-config
startup-config
Step 4
This example shows how to enable NTP logging in order to generate system logs with significant NTP events:
switch# config t
switch(config)# ntp logging
switch(config)# copy running-config startup-config
[########################################] 100%
switch(config)#
Enabling CFS Distribution for NTP
You can enable CFS distribution for NTP in order to distribute the NTP configuration to other CFS-enabled
devices.
Before You Begin
Make sure that you have enabled CFS distribution for the device.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enables or disables the device to receive NTP
configuration updates that are distributed through CFS.
switch(config)# [no] ntp distribute
Step 2
(Optional)
Displays the NTP CFS distribution status.
switch(config)# show ntp status
Step 3
(Optional)
Saves the change persistently through reboots and
restarts by copying the running configuration to the
startup configuration.
switch(config)# copy running-config
startup-config
Step 4
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
61
Configuring NTP
Enabling CFS Distribution for NTP