使用贵司IE4320-10S tsn交换机和orin进行时间同步,遇到几个问题,请h3c工程师帮忙解答。
1. 贵司产品手册说明支持2层和3层,但是设置时只能配udp,不支持2层配置。
[H3C-GigabitEthernet1/0/1]ptp transport-protocol ?
udp Use UDP
2. 配置了udp后,如果用单播方式,需要配置目的ip地址,但是实际情况也是不支持配置,只能用组播。
[H3C-GigabitEthernet1/0/1]ptp un?
^
% Unrecognized command found at '^' position.
[H3C-GigabitEthernet1/0/1]ptp ?
announce-interval Set the Announce message interval in seconds
announce-timeout Set the Announce message receiving timeout time
asymmetry-correction Specify the delay correction value
clock-step Specify the mode for carrying timestamps
delay-mechanism Specify a delay measurement mechanism
destination-mac Specify the destination MAC address for none-peer-delay
messages
dscp Specify a DSCP value for PTP packets encapsulated by
using UDP
enable Enable PTP on the port
force-state Specify the role of the PTP port
min-delayreq-interval Set the minimum interval for sending Delay_Req messages
in seconds
pdelay-req-interval Set the Pdelay_Req message sending interval in seconds
port-mode Configure the port type for a TC+OC
syn-interval Set the Sync message interval in seconds
transport-protocol Specify the transport protocol for PTP packets
vlan Specify a VLAN for PTP packets encapsulated by using
IEEE 802.3/Ethernet
3. 只能配置了源ip,使用组播的方式。
网络拓扑为一端是orin, 另一端连接交换机的1/0/1端口。配置好后,对端并没有收到交换机发出去的报文。
怎么确认tsn交换机有没有发送报文?能不能进入终端抓包等进行调试?
其他配置信息:
[H3C]display ptp clock
PTP global state : Enabled
PTP profile : IEEE 1588 Version 2
PTP mode : BC
Slave only : No
Clock ID : B845F4-FFFE-BB4942
Clock type : Local
Clock domain : 88
Number of PTP ports : 2
Priority1 : 128
Priority2 : 128
Clock quality :
Class : 248
Accuracy : 32
Offset (log variance) : 65535
Offset from master : 0 (ns)
Mean path delay : 0 (ns)
Steps removed : N/A
Local clock time : Tue Jan 5 05:02:50 2021
[H3C]display ptp interface
Interface : GigabitEthernet1/0/1
Clock ID : B845F4-FFFE-BB4942
Port number : 1
PTP version : 2
PTP state : Enabled
Transport protocol of PTP : User Datagram Protocol (IPv4)
DSCP priority : 56
Port state : Slave
Force state : Yes
Clock step : Two
Asymmetry correction : 0
Delay mechanism : End to End
Announce interval (log mean) : 1
Announce receipt time out : 3
Sync interval (log mean) : 0
Delay request interval (log mean) : 0
Peer delay request interval (log mean) : 0
Mean path delay : 0 (ns)
Interface : GigabitEthernet1/0/2
Clock ID : B845F4-FFFE-BB4942
Port number : 2
PTP version : 2
PTP state : Enabled
Transport protocol of PTP : User Datagram Protocol (IPv4)
DSCP priority : 56
Port state : Master
Force state : Yes
Clock step : Two
Asymmetry correction : 0
Delay mechanism : End to End
Announce interval (log mean) : 1
Announce receipt time out : 3
Sync interval (log mean) : 0
Delay request interval (log mean) : 0
Peer delay request interval (log mean) : 0
Mean path delay : 0 (ns)
[H3C-GigabitEthernet1/0/1]display this
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk permit vlan 1 101
flow-control
broadcast-suppression 1
ptp force-state slave
ptp transport-protocol udp
ptp enable
qos sp
tsn qbv control-list index 1 gate-state 1 interval 2000
tsn qbv control-list index 2 gate-state 2 interval 250000
tsn qbv cycle-time numerator 1 denominator 1000
tsn qbv base-time seconds 1583157272 nanoseconds 1000
tsn qbv gate-state 252
请参考一下官网配置指导:https://www.h3c.com/cn/d_202412/2325899_30005_0.htm
参考的就是这个,实际操作与官方文档并不完全相符。
<H3C>display version H3C Comware Software, Version 7.1.070, Release 6618P06 Copyright (c) 2004-2023 New H3C Technologies Co., Ltd. All rights reserved. H3C IE4320-10S uptime is 0 weeks, 4 days, 5 hours, 54 minutes Last reboot reason : Cold reboot Boot image: flash:/ie4320tsn-cmw710-boot-r6618p06.bin Boot image version: 7.1.070, Release 6618P06 Compiled Feb 27 2023 11:00:00 System image: flash:/ie4320tsn-cmw710-system-r6618p06.bin System image version: 7.1.070, Release 6618P06 Compiled Feb 27 2023 11:00:00 Slot 1: Uptime is 0 weeks,4 days,5 hours,54 minutes IE4320-10S with 1 Processor BOARD TYPE: IE4320-10S DRAM: 1024M bytes FLASH: 512M bytes PCB 1 Version: VER.A Bootrom Version: 102 CPLD 1 Version: 001 Release Version: H3C IE4320-10S-6618P06 Patch Version : None Reboot Cause : ColdReboot [SubSlot 0] 8GE+2SFP Plus
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
<H3C>display version H3C Comware Software, Version 7.1.070, Release 6618P06 Copyright (c) 2004-2023 New H3C Technologies Co., Ltd. All rights reserved. H3C IE4320-10S uptime is 0 weeks, 4 days, 5 hours, 54 minutes Last reboot reason : Cold reboot Boot image: flash:/ie4320tsn-cmw710-boot-r6618p06.bin Boot image version: 7.1.070, Release 6618P06 Compiled Feb 27 2023 11:00:00 System image: flash:/ie4320tsn-cmw710-system-r6618p06.bin System image version: 7.1.070, Release 6618P06 Compiled Feb 27 2023 11:00:00 Slot 1: Uptime is 0 weeks,4 days,5 hours,54 minutes IE4320-10S with 1 Processor BOARD TYPE: IE4320-10S DRAM: 1024M bytes FLASH: 512M bytes PCB 1 Version: VER.A Bootrom Version: 102 CPLD 1 Version: 001 Release Version: H3C IE4320-10S-6618P06 Patch Version : None Reboot Cause : ColdReboot [SubSlot 0] 8GE+2SFP Plus