Send comments to nexus3k-docfeedback@cisco.com
-SM-149
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
ntp server
ntp server
To configure a Network Time Protocol (NTP) server, use the ntp server command. To remove the NTP
server, use the no form of this command.
ntp server {ip-address | ipv6-address | dns-name}
no ntp server {ip-address | ipv6-address | dns-name}
Syntax Description
Defaults None
Command Modes Global configuration mode (config)
Command History
Usage Guidelines This command does not require a license.
Examples This example shows how to configure an NTP server:
switch(config) configure terminal
switch(config)# ntp server 190.0.2.10
switch(config)#
This example shows how to remove an NTP server:
switch# configure terminal
switch(config)# no ntp server 190.0.2.10
switch(config)#
Related Commands
ip-address IPv4 address.
ipv6-address IPv6 address.
dns-name Domain Name Server (DNS) name.
Release Modification
6.0(2)U(2)1 This command was introduced.
Command Description
ntp peer
Configures a device as an NTP peer.
show ntp peer-status Displays the status of all NTP servers and peers.
show ntp peers Displays all the NTP peers.