Configuring Clocking and Timing
Configuring a Slave Ordinary Clock
Follow these steps to configure the switch to act as a slave ordinary clock.
Command
Step 1
Switch# configure terminal
Step 2
ptp clock {ordinary | boundary |
e2e-transparent} domain
domain-number [hybrid]
Example:
Switch(config)# ptp clock ordinary
domain 0
Step 3
priority1 priorityvalue
Example:
Switch(config-ptp-clk)# priority1
128
Step 4
priority2 priorityvalue
Example:
Switch(config-ptp-clk)# priority2
128
Step 5
clock-port port-name {master | slave}
Example:
Switch(config-ptp-clk)# clock-port
Slave slave
Step 6
transport ipv4 unicast interface
interface-type interface-number
[negotiation]
Example:
Switch(config-ptp-port)# transport
ipv4 unicast interface loopback 0
negotiation
Step 7
clock-source source-address
Example:
Switch(config-ptp-port)#
clock-source 8.8.8.1
Cisco ME-3600X-24CX Series Switch Chassis Configuration Guide
4-6
Chapter 4
Purpose
Enter configuration mode.
Configures the PTP clock. You can create the following
clock types:
Ordinary—A 1588 clock with a single PTP port that
•
can operate in Master or Slave mode.
Boundary—Participates in selecting the best master
•
clock and can act as the master clock if no better clocks
are detected.
Note
Hybrid mode is not supported on the Cisco ME
3600X 24CX switch.
Sets the preference level for a clock. Slave devices use the
priority1 value when selecting a master clock: a lower
priority1 value indicates a preferred clock. The priority1
value is considered above all other clock attributes.
Valid values are from 0-255. The default value is 128.
Sets a secondary preference level for a clock. Slave devices
use the priority2 value when selecting a master clock: a
lower priority2 value indicates a preferred clock. The
priority2 value is considered only when the router is unable
to use priority1 and other clock attributes to select a clock.
Valid values are from 0-255. The default value is 128.
Sets the clock port to PTP master or slave mode; in slave
mode, the port exchanges timing packets with a PTP master
clock.
Sets port transport parameters.
The negotiation keyword configures the router to discover
a PTP master clock from all available PTP clock sources.
Specifies the address of a PTP master clock.
Configuring Clocking and Timing
OL-27620-01