PurposeCommand or Action
Configures the priority1 value to use when
advertising this clock. This value overrides the
(Optional) switch(config) # [no] ptp priority1
value
Step 5
default criteria (clock quality, clock class, and
so on) for the best master clock selection. Lower
values take precedence.
The range for the value is from 0 to 255.
Configures the priority2 value to use when
advertising this clock. This value is used to
(Optional) switch(config) # [no] ptp priority2
value
Step 6
decide between two devices that are otherwise
equally matched in the default criteria. For
example, you can use the priority2 value to give
a specific switch priority over other identical
switches.
The range for the value is from 0 to 255.
Displays the PTP status.(Optional) switch(config) # show ptp brief
Step 7
Displays the properties of the local clock.(Optional) switch(config) # show ptp clock
Step 8
Saves the change persistently through reboots
and restarts by copying the running
configuration to the startup configuration.
(Optional) switch(config)# copy
running-config startup-config
Step 9
Example
The following example shows how to configure PTP globally on the device, specify the source IP
address for PTP communications, and configure a preference level for the clock:
switch# configure terminal
switch(config)# feature ptp
switch(config)# ptp source 10.10.10.1
switch(config)# ptp priority1 1
switch(config)# ptp priority2 1
switch(config)# show ptp brief
PTP port status
-----------------------
Port State
------- --------------
switch(config)# show ptp clock
PTP Device Type: Boundary clock
Clock Identity : 0:22:55:ff:ff:79:a4:c1
Clock Domain: 0
Number of PTP ports: 0
Priority1 : 1
Priority2 : 1
Clock Quality:
Class : 248
Accuracy : 254
Offset (log variance) : 65535
Offset From Master : 0
Mean Path Delay : 0
Steps removed : 0
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 7.x
12
Configuring PTP
Configuring PTP Globally