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-36
Cisco Nexus 3000 Series NX-OS System Management Command Reference
OL-29557-04
Chapter System Management Commands
clock protocol
clock protocol
To set the synchronization protocol for the clock to a protocol, use the
clock protocol
command. To
remove the clock protocol, use the
no
form of this command.
Note
Beginning in Release 7.0(3)I2(1), this command will not set the clock. To change the clock
manually, see the
Cisco Nexus 3000 Series NX-OS Fundamentals Configuration Guide
.
clock protocol
{
none
|
ntp
|
ptp
}
no clock protocol
{
none
|
ntp
|
ptp
}
Syntax Description
Command Default
None
Command Modes
Global configuration mode
Command History
Usage Guidelines
This command does not require a license.
Examples
This example shows how to set the synchronization protocol for the clock to PTP:
switch#
configure terminal
switch(config)#
clock protocol ptp
switch(config)#
Related Commands
none
Specifies that the clock can be set manually.
ntp
Specifies that the clock be set to the Network Time Protocol (NTP).
ptp
Specifies that the clock be set to the Precision Time Protocol (PTP).
Release
Modification
5.0(3)U2(2)
This command was introduced.
7.0(3)I2(1)
This command will not set the clock
Command
Description
feature ptp
Enables PTP on the switch.
show ptp clock
Displays the PTP clock information.
show running-config
ptp
Displays the PTP running system configuration information.