- Preface
- Overview
- Using the Command-Line Interface
- Configuring the Switch Alarms
- Assigning the Switch IP Address and Default Gateway
- Configuring Cisco IOS Configuration Engine
- Clustering Switches
- Administering the Switch
- Configuring PTP
- Configuring PROFINET
- Configuring SDM Templates
- Configuring Switch-Based Authentication
- Configuring IEEE 802.1x Port-Based Authentication
- Configuring Web-Based Authentication
- Configuring Interface Characteristics
- Configuring Smartports Macros
- Configuring VLANs
- Configuring VTP
- Configuring Voice VLAN
- Configuring Private VLANs
- Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
- Configuring STP
- Configuring MSTP
- Configuring Optional Spanning-Tree Features
- Configuring Resilient Ethernet Protocol
- Configuring Flex Links and the MAC Address-Table Move Update Feature
- Configuring DHCP Features and IP Source Guard Features
- Configuring Dynamic ARP Inspection
- Configuring IGMP Snooping and MVR
- Configuring Port-Based Traffic Control
- Configuring SPAN and RSPAN
- Configuring LLDP, LLDP-MED, and Wired Location Service
- Configuring CDP
- Configuring UDLD
- Configuring RMON
- Configuring System Message Logging
- Configuring SNMP
- Configuring Embedded Event Manager
- Configuring Network Security with ACLs
- swqos
- Configuring EtherChannels and Link-State Tracking
- Configuring IP Unicast Routing
- Configuring IPv6 Unicast Routing
- Implementing IPv6 Multicast
- Configuring IPv6 ACLs
- Configuring IPv6 MLD Snooping
- Configuring HSRP and VRRP
- Configuring Cisco IOS IP SLAs Operations
- Configuring Enhanced Object Tracking
- Configuring Web Cache Services By Using WCCP
- Configuring IP Multicast Routing
- Configuring MSDP
- Configuring Fallback Bridging
- Troubleshooting
- Working with the Cisco IOS File System, Configuration Files, and Software Images
- Unsupported Commands in Cisco IOS Release 15.0(2)EY
- Index
Configuring PTP
Understanding Precision Time Protocol
The IEEE 1588 standard describes the use of PTP for fault-tolerant synchronization of network real-time clocks.
The clocks in a PTP network are organized into a master-slave hierarchy. The grandmaster clock is called the Best Master Clock (BMC), and is the root of the master-slave clock hierarchy. PTP uses the BMC algorithm to identify the switch port that is connected to a device that has the most accurate clock which becomes the master clock.
The master clock receives its clock source from the Global Positioning System (GPS) time. The slaves are the other network devices that synchronize their clocks to the master clock. The parent is the clock to which the member-slave clocks synchronize. Timing messages between the master and slave clocks ensure continued synchronization.
Synchronization behavior depends on the PTP clock setting mode that you configure on the switch. The mode can be boundary, end-to-end transparent, or forward.
A switch clock in boundary mode participates in the selection of the most accurate master clock. If more accurate clocks are not detected, that switch clock becomes the master clock. If a more accurate clock is found among the slave clocks, then the switch synchronizes to that clock and becomes a slave clock. After initial synchronization, the switch and the connected devices exchange timing messages to correct the changes caused by clock offsets and network delays.
A switch clock in end-to-end transparent mode synchronizes all switch ports with the master clock. This switch does not participate in master clock selection and uses the default PTP clock mode on all ports.
A switch clock in forward mode allows incoming PTP packets to pass-through the switch as normal multicast traffic.
When the switch is in PTP forward mode, PTP configuration is not available except when changing PTP mode to another mode. You can only configure per-port PTP when the switch is in boundary mode.
You can enable PTP pass-through processing by performing a global configuration on the switch. After PTP pass-through is enabled, all PTP messages are passed to and from the expansion module ports in the VLAN on which the packets are received.
The PTP pass-through feature is not compatible with the Virtual Routing and Forwarding (VRF), Policy Based Routing (PBR), and PVLAN (Private Virtual Local Area Network) features.
Configuring PTP
Default Configuration
By default, PTP is enabled on all the Fast Ethernet and Gigabit Ethernet ports on the base switch module. The default PTP mode on all ports is end-to-end transparent.
|
|
---|---|
Setting Up PTP
Beginning in privileged EXEC mode:
Displaying the PTP Configuration
|
|
---|---|
Displays the PTP FastEthernet properties on the specified port. |
|
Displays the PTP Gigabit Ethernet properties on the specified port. |
|