Enabling or Disabling the NTP Protocol
Enabling or Disabling the NTP Protocol
NTP is enabled on the device by default. You can disable NTP on the device and then reenable it.
SUMMARY STEPS
1. configure terminal
2. ntp enable
3. (Optional) copy running-config startup-config
DETAILED STEPS
Command or Action
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
ntp enable
Example:
switch(config)# ntp enable
Step 3
copy running-config startup-config
Example:
switch(config)# copy running-config startup-config
Configuring an NTP Server and Peer
You can configure NTP using IPv4 addresses, IPv6 addresses, or domain name server (DNS) names.
SUMMARY STEPS
1. configure terminal
2. ntp server {ip-address | ipv6-address | dns-name}
3. ntp peer {ip-address | ipv6-address | dns-name}
4. (Optional) show ntp peers
5. (Optional) copy running-config startup-config
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
134
Purpose
Enters configuration mode.
Enables or disables the NTP protocol on the entire
device. The default state is enabled.
(Optional)
Saves this configuration change.
Configuring NTP
OL-29291-02