22.05.2017 Views

nx.os.and.cisco.nexus.switching.2nd.edition.1587143046

Nexus Switching 2nd Edition

Nexus Switching 2nd Edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PTP is based on IEEE 1588 <strong>and</strong> is becoming an emerging technology in applications where<br />

submicr<strong>os</strong>econd accuracy is needed. Commonly found in financial networks <strong>and</strong> research<br />

<strong>and</strong> scientific networks, PTP is more common than ever. PTP has some significant<br />

differences from a protocol like NTP beyond clock accuracy. PTP networks are typically<br />

smaller in diameter with fewer nodes per domain. With NTP it’s not uncommon to have<br />

hundreds of devices acr<strong>os</strong>s the world using the same clock source. NTP scales well, <strong>and</strong> the<br />

extra distance <strong>and</strong> latency don’t have significant impact on accuracy. PTP, on the other h<strong>and</strong>,<br />

usually spans a h<strong>and</strong>ful of network devices <strong>and</strong> has a much smaller diameter. Distance <strong>and</strong><br />

latency significantly impact the accuracy of the clock, so PTP is deployed in smaller<br />

pockets. Typically, a GPS or cellular device takes a role called gr<strong>and</strong>master <strong>and</strong> is the top<br />

of the PTP domain’s hierarchy.<br />

PTP networks have multiple types of clocks including ordinary, boundary, <strong>and</strong> transparent<br />

clocks, each with its own set of function <strong>and</strong> capabilities. NX-OS devices operate in<br />

boundary clock mode where each port can decide which state it is in regarding<br />

synchronization.<br />

Configuring PTP is a multistep process where the feature is enabled <strong>and</strong> the PTP domain<br />

<strong>and</strong> clocks are specified. Example 7-56 illustrates enabling PTP, <strong>and</strong> setting the domain <strong>and</strong><br />

clocks.<br />

Example 7-56. PTP Enablement, Domain Configuration, <strong>and</strong> PTP Source Configuration<br />

Click here to view code image<br />

N7K-1-Agg1# config<br />

Enter configuration comm<strong>and</strong>s, one per line. End with<br />

CNTL/Z.<br />

N7K-1-Agg1(config)# feature ptp<br />

N7K-1-Agg1(config)# ptp domain 100<br />

N7K-1-Agg1(config)# ptp source 10.89.64.1<br />

N7K-1-Agg1(config)# end<br />

N7K-1-Agg1# show ptp clock<br />

PTP Device Type: Boundary clock<br />

Clock Identity : 00:26:98:ff:fe:0f:d9:c2<br />

Clock Domain: 100<br />

Number of PTP ports: 0<br />

Priority1 : 255<br />

Priority2 : 255<br />

Clock Quality:<br />

Class : 248<br />

Accuracy : 254<br />

Offset (log variance) : 65535<br />

Offset From Master : 0<br />

Mean Path Delay : 0<br />

Steps removed : 0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!