Users Guide

Table Of Contents
9. Verify the PTP state and lock status.
switchA# show ptp servo
Servo State : Locked
Lock Status : Phase-locked
Example - PTP and SyncE enabled on same Ethernet ports
In this example, SyncE and PTP are enabled on Switch A and Switch B. PTP boundary clock is enabled on the switches. On
Switch A, Ethernet interface 1/1/1 is a PTP-enabled port that is connected to the clock source, SRC-2 (PTP grandmaster).
Ethernet interface 1/1/3 is a PTP master port to the neighboring boundary clock, Switch B . SyncE and ESMC are enabled on
Ethernet ports, 1/1/1, 1/1/2, and 1/1/3.
Switch A gets synchronized to the best available input clock source, SRC-2, and this QL value is transmitted from the Ethernet
interface 1/1/3 to Switch B. Switch B also gets synchronized to the trail of clock source SRC2. The PTP boundary clock is
phase-locked with its grandmaster clock (SRC-2) and gets the Time of the Day (ToD).
Switch A configuration
1. Enable SyncE on the switch.
SwitchA: configure terminal
SwitchA(config)# sync-e enable
2. Set the SyncE mode to QL-enabled.
SwitchA(config)# sync-e mode ql-enabled
3. Configure the synchronization network. The default value is 1, and it is a synchronization network that is designed for
Europe.
SwitchA(config)# sync-e ssm-network-option 1
4. Enable SyncE on the interfaces that are connected to the clock sources and interfaces transmitting to the neighboring
SyncE node.
SwitchA(config)# interface ethernet 1/1/1
SwitchA(conf-if-eth1/1/1)# sync-e enable
SwitchA(conf-if-eth1/1/1)# exit
SwitchA(config)# interface ethernet 1/1/2
SwitchA(conf-if-eth1/1/2)# sync-e enable
SwitchA(conf-if-eth1/1/2)# exit
SwitchA(config)# interface ethernet 1/1/3
SwitchA(conf-if-eth1/1/3)# sync-e enable
5. Enable ESMC mode on the interfaces that are connected to the clock sources and interfaces transmitting ESMC to the
neighboring SyncE nodes.
SwitchA(config)# interface ethernet 1/1/1
SwitchA(conf-if-eth1/1/1)# sync-e esmc rx-tx
SwitchA(conf-if-eth1/1/1)# exit
SwitchA(config)# interface ethernet 1/1/2
SwitchA(conf-if-eth1/1/2)# sync-e esmc rx-only
SwitchA(conf-if-eth1/1/2)# exit
SwitchA(config)# interface ethernet 1/1/3
SwitchA(conf-if-eth1/1/3)# sync-e esmc tx-only
6. Configure PTP boundary clock on the switch.
SwitchA(config)# ptp clock boundary hybrid profile system-default
SwitchA(config)# interface ethernet 1/1/1
SwitchA(conf-if-eth1/1/1)# ptp enable
SwitchA(conf-if-eth1/1/1)# ptp transport layer2
SwitchA(conf-if-eth1/1/1)# ptp role slave
SwitchA(conf-if-eth1/1/2)# exit
SwitchA(config)# interface ethernet 1/1/2
SwitchA(conf-if-eth1/1/2)# ptp enable
System management
245