2.2 Configuring a PTP Clock Instance using CLI
To configure a PTP clock instance, execute the following command.
#conf t
(config)# ptp 0 mode boundary twostep ethernet twoway id 00:05:5a:ff:fe:a0:1a:13 vid 1 0 profile 802.1as mep 1
(config)# ptp 0 priority1 128
(config)# ptp 0 filter-type basic
(config)# interface GigabitEthernet 1/1
(config-if)# ptp 0
(config-if)# switchport mode hybrid
(config-if)# ptp 0 announce interval 1 timeout 3
(config-if)# ptp 0 sync-interval -3
(config-if)# ptp 0 delay-mechanism p2p
(config-if)# ptp 0 delay-req interval 0
(config-if)# ptp 0 delay-asymmetry 0
(config-if)# ptp 0 ingress-latency 0
(config-if)# ptp 0 egress-latency 0
(config)# interface GigabitEthernet 1/2
(config-if)# switchport mode hybrid
(config-if)# ptp 0
(config-if)# ptp 0 announce interval 1 timeout 3
(config-if)# ptp 0 sync-interval -3
(config-if)# ptp 0 delay-mechanism p2p
(config-if)# ptp 0 delay-req interval 0
(config-if)# ptp 0 delay-asymmetry 0
(config-if)# ptp 0 ingress-latency 0
(config-if)# ptp 0 egress-latency 0