Ntp - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

Chapter 7
System Management Commands
S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m

ntp

To configure the NTP peers and servers for the switch, use the ntp command. Use the no form of this
command to remove configured peers and servers.
Syntax Description
peer hostname
server hostname
prefer
use-vrf vrf-name
Command Default
None
Command Modes
Configuration mode
Command History
Release
4.0(0)N1(1a)
4.0(1a)N1(1)
Examples
This example forms a server association with a server:
switch(config)# ntp server ntp.cisco.com
You can specify multiple associations. This example forms a peer association with a peer:
switch(config)# ntp peer 10.20.10.0
This example deletes an association with a peer:
switch(config)# no ntp peer 10.20.10.0
Related Commands
Command
ntp distribute
show ntp
OL-16599-01
ntp {peer hostname | server hostname} [prefer] [use-vrf vrf-name]
no ntp {peer hostname | server hostname}
The hostname or IP address of an NTP peer.
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.
The keyword use-vrf replaces the keyword vrf. The keyword vrf is retained
for backwards compatibility.
Description
Enables CFS distribution for NTP.
Displays NTP information.
Cisco Nexus 5000 Series Command Reference
ntp
7-19

Advertisement

Table of Contents
loading

Table of Contents