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
-SM-148
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
ntp peer
ntp peer
To configure a device as a Network Time Protocol (NTP) peer, use the
ntp peer
command. To remove
the device as an NTP peer, use the
no
form of this command.
ntp peer
{
ip-address | ipv6-address | dns-name
}
no ntp peer
{
ip-address | ipv6-address | dns-name
}
Syntax Description
Defaults
None
Command Modes
Global configuration mode (config)
Command History
Usage Guidelines
You can configure multiple peer associations.
This command does not require a license.
Examples
This example shows how to configure an NTP peer:
switch(config)#
configure terminal
switch(config)#
ntp peer 190.0.2.1
switch(config)#
This example shows how to remove an NTP peer:
switch#
configure terminal
switch(config)#
no
ntp peer 190.0.2.1
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 server
Configures an NTP server.
show ntp peers
Displays all the NTP peers.
show ntp peer-status
Displays the status for all the server/peers.