Cisco nexus 3000 series Command Reference Manual page 151

Nx-os system management
Hide thumbs Also See for nexus 3000 series:
Table of Contents

Advertisement

Chapter
System Management Commands
S e n d c o m m e n t s t o n e x u s 3 k - d o c f e e d b a c k @ c i s c o . c o m
ntp
To configure the Network Time Protocol (NTP) peers and servers for the switch, use the ntp command.
To remove configured peers and servers, use the no form of this command.
Syntax Description
peer hostname
server hostname
prefer
use-vrf vrf-name
Command Default
None
Command Modes
Global configuration mode
Command History
Release
5.0(3)U1(1)
Usage Guidelines
You can specify multiple peer associations.
Examples
This example shows how to form a server association with a server:
switch# configure terminal
switch(config)# ntp server ntp.cisco.com
switch(config)#
This example shows how to form a peer association with a peer:
switch# configure terminal
switch(config)# ntp peer 192.168.10.0
switch(config)#
This example shows how to delete an association with a peer:
switch# configure terminal
switch(config)# no ntp peer 192.168.10.0
switch(config)#
OL-29557-04
ntp {peer hostname | server hostname} [prefer] [use-vrf vrf-name]
no ntp {peer hostname | server hostname}
Specifies the hostname or IP address of an NTP peer.
Specifies the hostname or IP address of the NTP server.
(Optional) Specifies this peer/server as the preferred peer/server.
(Optional) Specifies the virtual routing and forwarding (VRF) used to reach
this peer/server.
Modification
This command was introduced.
Cisco Nexus 3000 Series NX-OS System Management Command Reference
ntp
-SM-127

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents