N Commands
ntp server
311
Cisco Nexus 7000 Series NX-OS System Management Command Reference
OL-25806-03
Examples This example shows how to configure an NTP server:
switch(config) config t
switch(config)# ntp server 190.0.2.10 key 123 prefer use-vrf RED
switch(config)#
This example shows how to remove an NTP server:
switch# config t
switch(config)# no ntp server 190.0.2.10 key 123 prefer use-vrf RED
switch(config)#
Related Commands 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.