• 產品與解決方案
  • 行業解決方案
  • 服務
  • 支持
  • 合作夥伴
  • 關於我們

H3C S6800 & S6860 & S6861係列以太網交換機 典型配置舉例-Release 27xx係列-6W100

目錄

78-PTP典型配置舉例

本章節下載 78-PTP典型配置舉例  (309.25 KB)

78-PTP典型配置舉例

H3C S6800&S6860&S6861產品PTP典型配置舉例

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2019 bobty下载软件 版權所有,保留一切權利。

非經本公司書麵許可,任何單位和個人不得擅自摘抄、複製本文檔內容的部分或全部,並不得以任何形式傳播。

除bobty下载软件 的商標外,本手冊中出現的其它公司的商標、產品標識及商品名稱,由各自權利人擁有。

本文檔中的信息可能變動,恕不另行通知。



1  簡介

本章介紹了與PTP有關的各種典型配置舉例。

2  配置前提

本文檔不嚴格與具體軟、硬件版本對應,如果使用過程中與產品實際情況有差異,請參考相關產品手冊,或以設備實際情況為準。

本文檔中的配置均是在實驗室環境下進行的配置和驗證,配置前設備的所有參數均采用出廠時的缺省配置。如果您已經對設備進行了配置,為了保證配置效果,請確認現有配置和以下舉例中的配置不衝突。

本文檔假設您已了解PTP特性。

3  二層環境下使用IEEE 1588 version 2協議的PTP典型配置舉例

3.1  組網需求

Device A、Device B和Device C采用IEEE 1588 version 2協議標準以及IEEE 802.3/Ethernet報文封裝格式。

在由Device A、Device B和Device C組成的PTP域中,Device A和Device C的時鍾節點類型都為OC,Device B的時鍾節點類型為E2ETC。所有時鍾節點都按照各自默認的最優時鍾屬性通過BMC協議動態選舉最優時鍾。

3.2  組網圖

圖1 PTP組網圖

 

3.3  適用產品及版本

表1 適用產品及版本

產品

軟件版本

S6800係列

Release 2702

S6860係列

S6861係列

不支持

 

1.2  配置注意事項

僅S6800-54HF、S6800-54HT、S6800-2C-FC,以及產品代碼為LS-6800-32Q-H1、LS-6800-54QF-H1、LS-6800-54QT-H1、LS-6800-2C-H1、LS-6800-4C-H1、LS-6800-54QF-H3或LS-6800-54QT-H3的機型支持PTP功能。

3.4  配置步驟

3.4.1  配置Device A

# 配置協議標準為IEEE 1588 version 2。

<DeviceA> system-view

[DeviceA] ptp profile 1588v2

# 配置時鍾節點類型為OC。

[DeviceA] ptp mode oc

# 配置通過PTP協議獲取係統時間。

[DeviceA] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上並開啟PTP功能。

[DeviceA] interface ten-gigabitethernet 1/0/1

[DeviceA-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceA-Ten-GigabitEthernet1/0/1] quit

3.4.2  配置Device B

# 配置協議標準為IEEE 1588 version 2。

<DeviceB> system-view

[DeviceB] ptp profile 1588v2

# 配置時鍾節點類型為E2ETC。

[DeviceB] ptp mode e2etc

# 配置通過PTP協議獲取係統時間。

[DeviceB] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上開啟PTP功能。

[DeviceB] interface ten-gigabitethernet 1/0/1

[DeviceB-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceB-Ten-GigabitEthernet1/0/1] quit

# 在接口Ten-GigabitEthernet1/0/2上開啟PTP功能。

[DeviceB] interface ten-gigabitethernet 1/0/2

[DeviceB-Ten-GigabitEthernet1/0/2] ptp enable

[DeviceB-Ten-GigabitEthernet1/0/2] quit

3.4.3  配置Device C

# 配置協議標準為IEEE 1588 version 2。

<DeviceC> system-view

[DeviceC] ptp profile 1588v2

# 配置時鍾節點類型為OC。

[DeviceC] ptp mode oc

# 配置通過PTP協議獲取係統時間。

[DeviceC] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上開啟PTP功能。

[DeviceC] interface ten-gigabitethernet 1/0/1

[DeviceC-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceC-Ten-GigabitEthernet1/0/1] quit

3.5  驗證配置

當網絡拓撲穩定後,通過使用display ptp clock命令可以查看設備上PTP時鍾信息,display ptp interface brief命令顯示簡要運行信息。例如:

# 在Device A上顯示設備的PTP時鍾信息。

[DeviceA] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0000

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# 在Device A上顯示PTP的簡要運行信息。

[DeviceA] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

XGE1/0/1      Master        E2E              Two         0

# 在Device B上顯示設備的PTP時鍾信息。

[DeviceB] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : E2ETC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0001

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 2

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : N/A

Mean path delay    : N/A

Steps removed      : N/A

Local clock time   : Sun Jan 15 20:57:29 2019

# 在Device B上顯示PTP的簡要運行信息。

[DeviceB] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

XGE1/0/1      N/A           E2E              Two         0

XGE1/0/2      N/A           E2E              Two         0

通過顯示信息可以看出,Device A被選為最優時鍾,其接口Ten-GigabitEthernet1/0/1為主接口,對外發布同步時間。

3.6  配置文件

·            Device A和Device C的配置文件:

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode oc

#

interface ten-gigabitethernet 1/0/1

 ptp enable

#

·            Device B的配置文件:

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode e2etc

#

interface ten-gigabitethernet 1/0/1

 ptp enable

#

interface ten-gigabitethernet 1/0/2

 ptp enable

#

4  三層組播環境下使用IEEE 1588 version 2協議的PTP典型配置舉例

4.1  組網需求

Device A、Device B和Device C采用IEEE 1588 version 2協議標準以及組播UDP(IPv4)封裝格式。

在由Device A、Device B和Device C組成的PTP域中,Device A和Device C的時鍾節點類型都為OC,Device B的時鍾節點類型為P2PTC。所有時鍾節點都按照各自默認的最優時鍾屬性通過BMC協議動態選舉最優時鍾。

Device A和Device C的延時測量機製都采用端延時機製。

4.2  組網圖

圖2 PTP組網圖

 

4.3  適用產品及版本

表2 適用產品及版本

產品

軟件版本

S6800係列

Release 2702

S6860係列

S6861係列

不支持

 

1.3  配置注意事項

僅S6800-54HF、S6800-54HT、S6800-2C-FC,以及產品代碼為LS-6800-32Q-H1、LS-6800-54QF-H1、LS-6800-54QT-H1、LS-6800-2C-H1、LS-6800-4C-H1、LS-6800-54QF-H3或LS-6800-54QT-H3的機型支持PTP功能。

4.4  配置步驟

4.4.1  配置Device A

# 配置協議標準為IEEE 1588 Version 2。

<DeviceA> system-view

[DeviceA] ptp profile 1588v2

# 配置時鍾節點類型為OC。

[DeviceA] ptp mode oc

# 配置組播UDP(IPv4)封裝的源IP地址。

[DeviceA] ptp source 10.10.10.1

# 配置通過PTP協議獲取係統時間。

[DeviceA] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上配置PTP報文封裝格式為UDP(IPv4)、延時測量機製為端延時機製,並開啟PTP功能。

[DeviceA] interface ten-gigabitethernet 1/0/1

[DeviceA-Ten-GigabitEthernet1/0/1] ptp transport-protocol udp

[DeviceA-Ten-GigabitEthernet1/0/1] ptp delay-mechanism p2p

[DeviceA-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceA-Ten-GigabitEthernet1/0/1] quit

4.4.2  配置Device B

# 配置協議標準為IEEE 1588 Version 2。

<DeviceB> system-view

[DeviceB] ptp profile 1588v2

# 配置時鍾節點類型為P2PTC。

[DeviceB] ptp mode p2ptc

# 配置組播UDP(IPv4)封裝的源IP地址。

[DeviceB] ptp source 10.10.10.2

# 配置通過PTP協議獲取係統時間。

[DeviceB] clock protocol ptp

# 在接口GigabitEthernet1/0/1上配置PTP報文封裝格式為UDP(IPv4),並開啟PTP功能。

[DeviceB] interface ten-gigabitethernet 1/0/1

[DeviceB-Ten-GigabitEthernet1/0/1] ptp transport-protocol udp

[DeviceB-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceB-Ten-GigabitEthernet1/0/1] quit

# 在接口GigabitEthernet1/0/2上配置PTP報文封裝格式為UDP(IPv4),並開啟PTP功能。

[DeviceB] interface ten-gigabitethernet 1/0/2

[DeviceB-Ten-GigabitEthernet1/0/2] ptp transport-protocol udp

[DeviceB-Ten-GigabitEthernet1/0/2] ptp enable

[DeviceB-Ten-GigabitEthernet1/0/2] quit

4.4.3  配置Device C

# 配置協議標準為IEEE 1588 Version 2。

<DeviceC> system-view

[DeviceC] ptp profile 1588v2

# 配置時鍾節點類型為OC。

[DeviceC] ptp mode oc

# 配置組播UDP(IPv4)封裝的源IP地址。

[DeviceC] ptp source 11.10.10.1

# 配置通過PTP協議獲取係統時間。

[DeviceC] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上配置PTP報文封裝格式為UDP(IPv4)、延時測量機製為端延時機製,並開啟PTP功能。

[DeviceC] interface ten-gigabitethernet 1/0/1

[DeviceC-Ten-GigabitEthernet1/0/1] ptp transport-protocol udp

[DeviceC-Ten-GigabitEthernet1/0/1] ptp delay-mechanism p2p

[DeviceC-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceC-Ten-GigabitEthernet1/0/1] quit

4.5  驗證配置

當網絡拓撲穩定後,通過使用display ptp clock命令可以查看設備上PTP時鍾信息,display ptp interface brief命令顯示簡要運行信息。例如:

# 在Device A上顯示設備的PTP時鍾信息。

[DeviceA] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0000

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# 在Device A上顯示PTP的簡要運行信息。

[DeviceA] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

XGE1/0/1      Master        P2P              Two         0

# 在Device B上顯示設備的PTP時鍾信息。

[DeviceB] display ptp clock

PTP profile         : IEEE 1588 Version 2

PTP mode            : P2PTC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0001

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 2

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : N/A

Mean path delay    : N/A

Steps removed      : N/A

Local clock time   : Sun Jan 15 20:57:29 2019

# 在Device B上顯示PTP的簡要運行信息。

[DeviceB] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

XGE1/0/1      N/A           P2P              Two         0

XGE1/0/2      N/A           P2P              Two         0

通過顯示信息可以看出,Device A被選為最優時鍾,其接口Ten-GigabitEthernet1/0/1為主接口,對外發布同步時間。

4.6  配置文件

·            Device A

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode oc

 ptp source 10.10.10.1

#

interface ten-gigabitethernet 1/0/1

 ptp delay-mechanism p2p

 ptp transport-protocol udp

 ptp enable

#

·            Device B

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode p2ptc

 ptp source 10.10.10.2

#

interface ten-gigabitethernet 1/0/1

 ptp transport-protocol udp

 ptp enable

#

interface ten-gigabitethernet 1/0/2

 ptp transport-protocol udp

 ptp enable

#

·            Device C

#

 clock protocol ptp

#

 ptp profile 1588v2

 ptp mode oc

 ptp source 11.10.10.1

#

interface ten-gigabitethernet 1/0/1

 ptp delay-mechanism p2p

 ptp transport-protocol udp

 ptp enable

#

5  使用IEEE 802.1AS協議的PTP典型配置舉例

5.1  組網需求

Device A、Device B和Device C采用IEEE 802.1AS協議標準。

在由Device A、Device B和Device C組成的PTP域中,Device A和Device C的時鍾節點類型都為OC,Device B的時鍾節點類型為P2PTC。所有時鍾節點都按照各自默認的最優時鍾屬性通過BMC協議動態選舉最優時鍾。

5.2  組網圖

圖3 PTP組網圖

 

5.3  適用產品及版本

表3 適用產品及版本

產品

軟件版本

S6800係列

Release 2702

S6860係列

S6861係列

不支持

 

1.4  配置注意事項

僅S6800-54HF、S6800-54HT、S6800-2C-FC,以及產品代碼為LS-6800-32Q-H1、LS-6800-54QF-H1、LS-6800-54QT-H1、LS-6800-2C-H1、LS-6800-4C-H1、LS-6800-54QF-H3或LS-6800-54QT-H3的機型支持PTP功能。

5.4  配置步驟

5.4.1  配置Device A

# 配置協議標準為IEEE 802.1AS。

<DeviceA> system-view

[DeviceA] ptp profile 8021as

# 配置時鍾節點類型為OC。

[DeviceA] ptp mode oc

# 配置通過PTP協議獲取係統時間。

[DeviceA] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上開啟PTP功能。

[DeviceA] interface ten-gigabitethernet 1/0/1

[DeviceA-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceA-Ten-GigabitEthernet1/0/1] quit

5.4.2  配置Device B

# 配置協議標準為IEEE 802.1AS。

<DeviceB> system-view

[DeviceB] ptp profile 8021as

# 配置時鍾節點類型為P2PTC。

[DeviceB] ptp mode p2ptc

# 配置通過PTP協議獲取係統時間。

[DeviceB] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上開啟PTP功能。

[DeviceB] interface ten-gigabitethernet 1/0/1

[DeviceB-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceB-Ten-GigabitEthernet1/0/1] quit

# 在接口Ten-GigabitEthernet1/0/2上開啟PTP功能。

[DeviceB] interface ten-gigabitethernet 1/0/2

[DeviceB-Ten-GigabitEthernet1/0/2] ptp enable

[DeviceB-Ten-GigabitEthernet1/0/2] quit

5.4.3  配置Device C

# 配置協議標準為IEEE 802.1AS。

<DeviceC> system-view

[DeviceC] ptp profile 8021as

# 配置時鍾節點類型為OC。

[DeviceC] ptp mode oc

# 配置通過PTP協議獲取係統時間。

[DeviceC] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上開啟PTP功能。

[DeviceC] interface ten-gigabitethernet 1/0/1

[DeviceC-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceC-Ten-GigabitEthernet1/0/1] quit

5.5  驗證配置

當網絡拓撲穩定後,通過使用display ptp clock命令可以查看設備上PTP時鍾信息,display ptp interface brief命令顯示簡要運行信息。例如:

# 在Device A上顯示設備的PTP時鍾信息。

[DeviceA] display ptp clock

PTP profile         : IEEE 802.1AS

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0000

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 246

Priority2     : 248

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 16640

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# 在Device A上顯示PTP的簡要運行信息。

[DeviceA] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

XGE1/0/1      Master        P2P              Two         0

# 在Device B上顯示設備的PTP時鍾信息。

[DeviceB] display ptp clock

PTP profile         : IEEE 802.1AS

PTP mode            : P2PTC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0001

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 2

Priority1     : 246

Priority2     : 248

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 16640

Offset from master : N/A

Mean path delay    : N/A

Steps removed      : N/A

Local clock time   : Sun Jan 15 20:57:29 2019

# 在Device B上顯示PTP的簡要運行信息。

[DeviceB] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

XGE1/0/1      N/A           P2P              Two         0

XGE1/0/2      N/A           P2P              Two         0

通過顯示信息可以看出,Device A被選為最優時鍾,其接口GigabitEthernet1/0/1為主接口,對外發布同步時間。

5.6  配置文件

·            Device A和Device C

#

 clock protocol ptp

#

 ptp profile 8021as

 ptp mode oc

#

interface ten-gigabitethernet 1/0/1

 ptp enable

#

·            Device B

#

 clock protocol ptp

#

 ptp profile 8021as

 ptp mode p2ptc

#

interface ten-gigabitethernet 1/0/1

 ptp enable

#

interface ten-gigabitethernet 1/0/2

 ptp enable

#

6  組播環境下使用SMPTE ST 2059-2協議的PTP典型配置舉例

6.1  組網需求

Device A、Device B和Device C采用SMPTE ST 2059-2協議標準以及組播UDP(IPv4)封裝格式。

在由Device A、Device B和Device C組成的PTP域中,Device A和Device C的時鍾節點類型都為OC,Device B的時鍾節點類型為P2PTC。所有時鍾節點都按照各自默認的最優時鍾屬性通過BMC協議動態選舉最優時鍾。

Device A和Device C的延時測量機製都采用端延時機製。

6.2  組網圖

圖4 PTP組網圖

 

6.3  適用產品及版本

表4 適用產品及版本

產品

軟件版本

S6800係列

Release 2702

S6860係列

S6861係列

不支持

 

1.5  配置注意事項

僅S6800-54HF、S6800-54HT、S6800-2C-FC,以及產品代碼為LS-6800-32Q-H1、LS-6800-54QF-H1、LS-6800-54QT-H1、LS-6800-2C-H1、LS-6800-4C-H1、LS-6800-54QF-H3或LS-6800-54QT-H3的機型支持PTP功能。

6.4  配置步驟

6.4.1  配置Device A

# 配置協議標準為SMPTE ST 2059-2。

<DeviceA> system-view

[DeviceA] ptp profile st2059-2

# 配置時鍾節點類型為OC。

[DeviceA] ptp mode oc

# 配置組播UDP(IPv4)封裝的源IP地址。

[DeviceA] ptp source 10.10.10.1

# 配置通過PTP協議獲取係統時間。

[DeviceA] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上配置延時測量機製為端延時機製,並開啟PTP功能。

[DeviceA] interface ten-gigabitethernet 1/0/1

[DeviceA-Ten-GigabitEthernet1/0/1] ptp delay-mechanism p2p

[DeviceA-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceA-Ten-GigabitEthernet1/0/1] quit

6.4.2  配置Device B

# 配置協議標準為SMPTE ST 2059-2。

<DeviceB> system-view

[DeviceB] ptp profile st2059-2

# 配置時鍾節點類型為P2PTC。

[DeviceB] ptp mode p2ptc

# 配置組播UDP(IPv4)封裝的源IP地址。

[DeviceB] ptp source 10.10.10.2

# 配置通過PTP協議獲取係統時間。

[DeviceB] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上開啟PTP功能。

[DeviceB] interface ten-gigabitethernet 1/0/1

[DeviceB-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceB-Ten-GigabitEthernet1/0/1] quit

# 在接口Ten-GigabitEthernet1/0/2上開啟PTP功能。

[DeviceB] interface ten-gigabitethernet 1/0/2

[DeviceB-Ten-GigabitEthernet1/0/2] ptp enable

[DeviceB-Ten-GigabitEthernet1/0/2] quit

6.4.3  配置Device C

# 配置協議標準為SMPTE ST 2059-2。

<DeviceC> system-view

[DeviceC] ptp profile st2059-2

# 配置時鍾節點類型為OC。

[DeviceC] ptp mode oc

# 配置組播UDP(IPv4)封裝的源IP地址。

[DeviceC] ptp source 11.10.10.1

# 配置通過PTP協議獲取係統時間。

[DeviceC] clock protocol ptp

# 在接口Ten-GigabitEthernet1/0/1上配置延時測量機製為端延時機製,並開啟PTP功能。

[DeviceC] interface ten-gigabitethernet 1/0/1

[DeviceC-Ten-GigabitEthernet1/0/1] ptp delay-mechanism p2p

[DeviceC-Ten-GigabitEthernet1/0/1] ptp enable

[DeviceC-Ten-GigabitEthernet1/0/1] quit

6.5  驗證配置

當網絡拓撲穩定後,通過使用display ptp clock命令可以查看設備上PTP時鍾信息,display ptp interface brief命令顯示簡要運行信息。例如:

# 在Device A上顯示設備的PTP時鍾信息。

[DeviceA] display ptp clock

PTP profile         : SMPTE ST 2059-2

PTP mode            : OC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0000

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 1

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : 0 (ns)

Mean path delay    : 0 (ns)

Steps removed      : 0

Local clock time   : Sun Jan 15 20:57:29 2019

# 在Device A上顯示PTP的簡要運行信息。

[DeviceA] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

XGE1/0/1      Master        P2P              Two         0

# 在Device B上顯示設備的PTP時鍾信息。

[DeviceB] display ptp clock

PTP profile         : SMPTE ST 2059-2

PTP mode            : P2PTC

Slave only          : No

Clock ID            : 000FE2-FFFE-FF0001

Clock type          : Local

Clock domain        : 0

Number of PTP ports : 2

Priority1     : 128

Priority2     : 128

Clock quality :

 Class                 : 248

 Accuracy              : 254

 Offset (log variance) : 65535

Offset from master : N/A

Mean path delay    : N/A

Steps removed      : N/A

Local clock time   : Sun Jan 15 20:57:29 2019

# 在Device B上顯示PTP的簡要運行信息。

[DeviceB] display ptp interface brief

Name         State         Delay mechanism  Clock step  Asymmetry correction

XGE1/0/1      N/A           P2P              Two         0

XGE1/0/2      N/A           P2P              Two         0

通過顯示信息可以看出,Device A被選為最優時鍾,其接口Ten-GigabitEthernet1/0/1為主接口,對外發布同步時間。

6.6  配置文件

·            Device A

#

 clock protocol ptp

#

 ptp profile st2059-2

 ptp mode oc

 ptp source 10.10.10.1

#

interface ten-gigabitethernet 1/0/1

 ptp delay-mechanism p2p

 ptp enable

#

·            Device B

#

 clock protocol ptp

#

 ptp profile st2059-2

 ptp mode p2ptc

 ptp source 10.10.10.2

#

interface ten-gigabitethernet 1/0/1

 ptp enable

#

interface ten-gigabitethernet 1/0/2

 ptp enable

#

·            Device C

#

 clock protocol ptp

#

 ptp profile st2059-2

 ptp mode oc

 ptp source 11.10.10.1

#

interface ten-gigabitethernet 1/0/1

 ptp delay-mechanism p2p

 ptp enable

#

7  相關資料

·            H3C S6800[60][61](R27xx) & S6820(R630x)係列以太網交換機 網絡管理和監控配置指導

·            H3C S6800[60][61](R27xx) & S6820(R630x)係列以太網交換機 網絡管理和監控命令參考

不同款型規格的資料略有差異, 詳細信息請向具體銷售和400谘詢。H3C保留在沒有任何通知或提示的情況下對資料內容進行修改的權利!

BOB登陆
官網
聯係我們