Configuring PTP Cost Interface
You can configure interface cost on each PTP enabled port on a Cisco Nexus 3500 switch. The cost applies
to each PTP enabled port if the switch has more than one path to grandmaster clock.
.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enables or disables PTP on the device.switch(config) # [no] feature ptp
Step 2
Enabling PTP on the switch does not enable
PTP on each interface.
Note
Configures the source IP address for all PTP packets.switch(config) # [no] ptp source
ip-address [vrf vrf]
Step 3
The ip-address can be in IPv4 format.
Enables or disables PTP on the interface.switch(config-if) # [no] feature ptp
Step 4
Associate cost on a PTP enabled interface. The interface
having the least cost becomes the slave interface.
switch(config-if) # [no] ptp cost
value
Step 5
The range for the cost is from 0 to 255. The default value
is 255.
The following example shows cost that is associated with each PTP enabled interfaces:
switch(config)# show ptp cost
PTP port costs
-----------------------
Port Cost
------- --------------
Eth1/1 255
switch(config)#
Configuring clock Identity
You can configure clock identity on a Cisco Nexus 3500 switch. The default clock identity is a unique 8-octet
array presented in the form of a character array based on the switch MAC address.
.
Procedure
PurposeCommand or Action
Enters global configuration mode.switch# configure terminal
Step 1
Enables or disables PTP on the device.switch(config) # [no] feature ptp
Step 2
Cisco Nexus 3548 Switch NX-OS System Management Configuration Guide, Release 6.x
18
Configuring PTP
Configuring PTP Cost Interface