Releasing the CFS Session Lock
If you have performed an NTP configuration and have forgotten to release the lock by either committing or
discarding the changes, you or another administrator can release the lock from any device in the network.
This action also discards pending database changes.
To release the session lock from any device and discard any pending database 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)# clear ntp session
Step 1
Example
This example shows how to release the CFS session lock:
switch(config)# clear ntp session
Verifying the NTP Configuration
To display the NTP configuration, perform one of the following tasks:
Use the clear ntp session command to clear the NTP sessions.
Use the clear ntp statistics command to clear the NTP statistics.
Procedure
PurposeCommand or Action
Displays the NTP access group configuration.show ntp access-groups
Step 1
Displays the configured NTP authentication
keys.
show ntp authentication-keys
Step 2
Displays the status of NTP authentication.show ntp authentication-status
Step 3
Displays the NTP logging status.show ntp logging-status
Step 4
Displays the status for all NTP servers and
peers.
show ntp peer-status
Step 5
Displays all the NTP peers.show ntp peers
Step 6
Displays the temporary CFS database for NTP.show ntp pending
Step 7
Displays the difference between the pending
CFS database and the current NTP
configuration.
show ntp pending-diff
Step 8
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
32
Configuring NTP
Releasing the CFS Session Lock