switch(config)# ntp distribute
switch(config)# copy running-config
startup-config
Commiting NTP Configuration Changes
When you commit the NTP configuration changes, the effective database is overwritten by the configuration
changes in the pending database and all the devices in the network receive the same configuration.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Distributes the NTP configuration changes to
all Cisco NX-OS devices in the network and
switch(config)# ntp commit
Step 2
releases the CFS lock. This command
overwrites the effective database with the
changes made to the pending database.
Example
This example shows how to commit the NTP configuration changes:
switch(config)# ntp commit
Discarding NTP Configuration Changes
After making the configuration changes, you can choose to discard the changes instead of committing them.
If you discard the changes, Cisco NX-OS removes the pending database changes and releases the CFS lock.
To discard NTP configuration changes, use the following command in global configuration mode:
Procedure
PurposeCommand or Action
Discards the NTP configuration changes in the
pending database and releases the CFS lock.
switch(config)# ntp abort
Step 1
Use this command on the device where you
started the NTP configuration.
Example
This example shows how to discard the NTP configuration changes:
switch(config)# ntp abort
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
31
Configuring NTP
Commiting NTP Configuration Changes