所选语种没有对应资源,请选择:

本站点使用Cookies,继续浏览表示您同意我们使用Cookies。Cookies和隐私政策>

提示

尊敬的用户,您的IE浏览器版本过低,为获取更好的浏览体验,请升级您的IE浏览器。

升级

CX916, CX916L, CX930 交换模块 V100R001 诊断命令参考 04

评分并提供意见反馈 :
华为采用机器翻译与人工审校相结合的方式将此文档翻译成不同语言,希望能帮助您更容易理解此文档的内容。 请注意:即使是最好的机器翻译,其准确度也不及专业翻译人员的水平。 华为对于翻译的准确性不承担任何责任,并建议您参考英文文档(已提供链接)。
display ptp global

display ptp global

命令功能

display ptp global命令用于查询时钟模块1588特性的全局变量值。

命令格式

display ptp global { protocol-global-property | bmc-ebest | bmc-erbest | local-clock | bits-clock | all-property | mpu-status } [ slave ]

display ptp global ifnet-data interface interface-type interface-number [ slave ]

参数说明

参数 参数说明 取值
all-property 支持打印全部调试信息。 -
bits-clock 支持打印外部源时钟信息。 -
bmc-ebest 支持打印BMC选源EBEST信息。 -
bmc-erbest 支持打印BMC选源ErBEST信息。 -
ifnet-data 支持打印ifnet数据结构信息。 -
local-clock 支持打印本地时钟信息。 -
mpu-status 支持打印1588v2的状态信息。 -
protocol-global-property 支持打印protocol全局属性。 -
ifnet-data interface interface-type interface-number 支持打印指定接口类型及编号的ifnet数据结构信息。 -
slave 支持打印备主控板的状态信息。 -

视图

诊断视图

缺省级别

3:管理级

使用指南

应用场景

当时钟模块1588特性出现问题,通过查询状态变量值进行定位。

使用实例

# 查询BMC选源EBEST信息。

<HUAWEI> system-view
[~HUAWEI] diagnose
[~HUAWEI-diagnose] display ptp global bmc-ebest
***************Display ptp global bmc-ebest start*******************
---------DCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1

---------CCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1
***************Display ptp global bmc-ebest end*********************

# 查询BMC选源ErBEST信息。

[~HUAWEI-diagnose] display ptp global bmc-erbest
***************Display ptp global bmc-erbest start******************
---------DCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1

---------CCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1
***************Display ptp global bmc-erbest end********************

# 查询外部源时钟信息。

[~HUAWEI-diagnose] display ptp global bits-clock
***************Display ptp global bits-clock start******************
IfIndex: 0x7ffffff5
PortNum: 0xfff4
GmClockId: fffffffffefffff2
GmPriority1: 0x80
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0xfff4
ClockClass: 0x6
ClockAccuracy: 0x20
OffsetScaledLogVariance: 0xffff
ParentClockId: fffffffffefffff2
PortNumber: 0xfff4
LogMsgInterval: 0xff
IsEmpty: 0x0
TimeSource: 0x20
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x1
FrequencyTraceable: 0x1

IfIndex: 0x7ffffff5
PortNum: 0xfff4
Position: 0x111ffff
PhyState: 0x0
PtpEnable: 0x1
Domain: 0x0
DelayMech: 0x0
Direction: 0x1
AnnDrop: 0x0
AnnRxTimeout: 0x3
AnnInterval: 0x7
SyncInterval: 0x0
DelayReqInterval: 0x7
PdelayReqInterval: 0x7
ClockStep: 0x0
PortType: 0x0
BmcState: 0x8
EncapType: 0x0
TcocClkId: 0x0000000000000000
TcocPortNum: 0x0
AsyCorrect: 0x0
MacEncap-VlanId: 0x0
MacEncap-DestMacAddr: 00-00-00-00-00-00
MacEncap-SrcMacAddr: 00-12-30-45-60-32
MacEncap-Priority: 0x7
UdpEncap-SrcIpAddr: 0x0
UdpEncap-DestIpAddr: 0x0
UdpEncap-VlanId: 0x0
UdpEncapTable.aucDestMacAddr: 00-00-00-00-00-00
UdpEncap-SrcMacAddr: 00-12-30-45-60-32
UdpEncap-Dscp: 0x38
UdpEncap-Priority: 0x7
***************Display ptp global bits-clock end********************

# 查询本地时钟信息。

[~HUAWEI-diagnose] display ptp global local-clock
***************Display ptp global local-clock start*****************
---------DCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1

---------CCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1
***************Display ptp global local-clock end*******************

# 查询1588v2的状态信息。

[~HUAWEI-diagnose] display ptp global mpu-status
***************Display ptp global mpu-status start******************
---------DCS---------:
CurTracePortNum:0x0
OldTracePortNum:0x0
CurEbestPortNum:0x1090300
OldEbestPortNum:0x0
EbestCompute:0x0
EbestSend:0x0
ErbestCompute:0x0
ErbestSend:0x0
DecideState:0x0
DeviceType:0x2
SlaveOnly:0x0
PtpEnable:0x1
Domain:0x0
Static:0x0
CfgClkId:0x0
TraceState:0x2
FreqIsPtp:0x1
TimeIsLock:0x1
FreqIsLock:0x1
FrnmIsEnable:0x0
PmIsEnable:0x0
PmThreshold:0x37
RestrictBmcIsEnable:0x0
PermitClkId:0x8000000000000000

---------CCS---------:
CurTracePortNum:0x0
OldTracePortNum:0x0
CurEbestPortNum:0x1090300
OldEbestPortNum:0x1090300
EbestCompute:0x0
EbestSend:0x0
ErbestCompute:0x0
ErbestSend:0x0
DecideState:0x0
DeviceType:0x2
SlaveOnly:0x0
PtpEnable:0x1
Domain:0x0
Static:0x0
CfgClkId:0x0
TraceState:0x0
FreqIsPtp:0x0
TimeIsLock:0x1
FreqIsLock:0x1
FrnmIsEnable:0x0
PmIsEnable:0x0
PmThreshold:0x37
RestrictBmcIsEnable:0x0
PermitClkId:0x8000000000000000
***************Display ptp global mpu-status end********************

# 查询protocol全局属性。

[~HUAWEI-diagnose] display ptp global protocol-global-property
***************Display ptp global protocol-global-property start****
---------DCS---------:
CurTracePortNum:0x0
OldTracePortNum:0x0
CurEbestPortNum:0x1090300
OldEbestPortNum:0x0
EbestCompute:0x0
EbestSend:0x0
ErbestCompute:0x0
ErbestSend:0x0
DecideState:0x0
DeviceType:0x2
SlaveOnly:0x0
PtpEnable:0x1
Domain:0x0
Static:0x0
CfgClkId:0x0
TraceState:0x2
FreqIsPtp:0x1
TimeIsLock:0x1
FreqIsLock:0x1
FrnmIsEnable:0x0
PmIsEnable:0x0
PmThreshold:0x37
RestrictBmcIsEnable:0x0
PermitClkId:0x8000000000000000

---------CCS---------:
CurTracePortNum:0x0
OldTracePortNum:0x0
CurEbestPortNum:0x1090300
OldEbestPortNum:0x1090300
EbestCompute:0x0
EbestSend:0x0
ErbestCompute:0x0
ErbestSend:0x0
DecideState:0x0
DeviceType:0x2
SlaveOnly:0x0
PtpEnable:0x1
Domain:0x0
Static:0x0
CfgClkId:0x0
TraceState:0x0
FreqIsPtp:0x0
TimeIsLock:0x1
FreqIsLock:0x1
FrnmIsEnable:0x0
PmIsEnable:0x0
PmThreshold:0x37
RestrictBmcIsEnable:0x0
PermitClkId:0x8000000000000000
***************Display ptp global protocol-global-property end******

# 查询10GE1/0/1接口的ifnet数据结构信息。

[~HUAWEI-diagnose] display ptp global ifnet-data interface 10GE 1/0/1
***************Display ptp global ifnet-data start******************
IfIndex: 0x5
PortNum: 0x1090300
Position: 0x103ff00
PhyState: 0x1
PtpEnable: 0x1
Domain: 0x0
DelayMech: 0x0
Direction: 0x3
AnnDrop: 0x0
AnnRxTimeout: 0x3
AnnInterval: 0x7
SyncInterval: 0x0
DelayReqInterval: 0x7
PdelayReqInterval: 0x7
ClockStep: 0x0
PortType: 0x2
BmcState: 0x8
EncapType: 0x0
TcocClkId: 0x0000000000000000
TcocPortNum: 0x0
AsyCorrect: 0x0
MacEncap-VlanId: 0x0
MacEncap-DestMacAddr: 01-1b-19-00-00-00
MacEncap-SrcMacAddr: 00-00-00-00-00-00
MacEncap-Priority: 0x7
UdpEncap-SrcIpAddr: 0x0
UdpEncap-DestIpAddr: 0x0
UdpEncap-VlanId: 0x0
UdpEncapTable.aucDestMacAddr: 01-80-c2-00-00-0e
UdpEncap-SrcMacAddr: 00-00-00-00-00-00
UdpEncap-Dscp: 0x38
UdpEncap-Priority: 0x7

IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1
***************Display ptp global ifnet-data end********************

# 查询全部调试信息。

[~HUAWEI-diagnose] display ptp global all-property
***************Display ptp global bmc-ebest start*******************
---------DCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1

---------CCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1
***************Display ptp global bmc-ebest end*********************
***************Display ptp global bmc-erbest start******************
---------DCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1

---------CCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1
***************Display ptp global bmc-erbest end********************
***************Display ptp global local-clock start*****************
---------DCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1

---------CCS---------:
IfIndex: 0x5
PortNum: 0x1090300
GmClockId: 001122fffe003311
GmPriority1: 0xa
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0x1090300
ClockClass: 0xbb
ClockAccuracy: 0x31
OffsetScaledLogVariance: 0xffff
ParentClockId: 001122fffe003311
PortNumber: 0x1e01
LogMsgInterval: 0xfd
IsEmpty: 0x1
TimeSource: 0xa0
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x0
FrequencyTraceable: 0x1
***************Display ptp global local-clock end*******************
***************Display ptp global mpu-status start******************
---------DCS---------:
CurTracePortNum:0x0
OldTracePortNum:0x0
CurEbestPortNum:0x1090300
OldEbestPortNum:0x0
EbestCompute:0x0
EbestSend:0x0
ErbestCompute:0x0
ErbestSend:0x0
DecideState:0x0
DeviceType:0x2
SlaveOnly:0x0
PtpEnable:0x1
Domain:0x0
Static:0x0
CfgClkId:0x0
TraceState:0x2
FreqIsPtp:0x1
TimeIsLock:0x1
FreqIsLock:0x1
FrnmIsEnable:0x0
PmIsEnable:0x0
PmThreshold:0x37
RestrictBmcIsEnable:0x0
PermitClkId:0x8000000000000000

---------CCS---------:
CurTracePortNum:0x0
OldTracePortNum:0x0
CurEbestPortNum:0x1090300
OldEbestPortNum:0x1090300
EbestCompute:0x0
EbestSend:0x0
ErbestCompute:0x0
ErbestSend:0x0
DecideState:0x0
DeviceType:0x2
SlaveOnly:0x0
PtpEnable:0x1
Domain:0x0
Static:0x0
CfgClkId:0x0
TraceState:0x0
FreqIsPtp:0x0
TimeIsLock:0x1
FreqIsLock:0x1
FrnmIsEnable:0x0
PmIsEnable:0x0
PmThreshold:0x37
RestrictBmcIsEnable:0x0
PermitClkId:0x8000000000000000
***************Display ptp global mpu-status end********************
***************Display ptp global protocol-global-property start****
---------DCS---------:
CurTracePortNum:0x0
OldTracePortNum:0x0
CurEbestPortNum:0x1090300
OldEbestPortNum:0x0
EbestCompute:0x0
EbestSend:0x0
ErbestCompute:0x0
ErbestSend:0x0
DecideState:0x0
DeviceType:0x2
SlaveOnly:0x0
PtpEnable:0x1
Domain:0x0
Static:0x0
CfgClkId:0x0
TraceState:0x2
FreqIsPtp:0x1
TimeIsLock:0x1
FreqIsLock:0x1
FrnmIsEnable:0x0
PmIsEnable:0x0
PmThreshold:0x37
RestrictBmcIsEnable:0x0
PermitClkId:0x8000000000000000

---------CCS---------:
CurTracePortNum:0x0
OldTracePortNum:0x0
CurEbestPortNum:0x1090300
OldEbestPortNum:0x1090300
EbestCompute:0x0
EbestSend:0x0
ErbestCompute:0x0
ErbestSend:0x0
DecideState:0x0
DeviceType:0x2
SlaveOnly:0x0
PtpEnable:0x1
Domain:0x0
Static:0x0
CfgClkId:0x0
TraceState:0x0
FreqIsPtp:0x0
TimeIsLock:0x1
FreqIsLock:0x1
FrnmIsEnable:0x0
PmIsEnable:0x0
PmThreshold:0x37
RestrictBmcIsEnable:0x0
PermitClkId:0x8000000000000000
***************Display ptp global protocol-global-property end******
***************Display ptp global bits-clock start******************
IfIndex: 0x7ffffff5
PortNum: 0xfff4
GmClockId: fffffffffefffff2
GmPriority1: 0x80
GmPriority2: 0x80
StepsRemoved: 0x0
ReceiverPortNumber: 0xfff4
ClockClass: 0x6
ClockAccuracy: 0x20
OffsetScaledLogVariance: 0xffff
ParentClockId: fffffffffefffff2
PortNumber: 0xfff4
LogMsgInterval: 0xff
IsEmpty: 0x0
TimeSource: 0x20
CurUtcOffset: 0x23
CurUtcOffsetValid: 0x23
Leap61: 0x0
Leap59: 0x0
PtpTimescale: 0x1
TimeTraceable: 0x1
FrequencyTraceable: 0x1

IfIndex: 0x7ffffff5
PortNum: 0xfff4
Position: 0x111ffff
PhyState: 0x0
PtpEnable: 0x1
Domain: 0x0
DelayMech: 0x0
Direction: 0x1
AnnDrop: 0x0
AnnRxTimeout: 0x3
AnnInterval: 0x7
SyncInterval: 0x0
DelayReqInterval: 0x7
PdelayReqInterval: 0x7
ClockStep: 0x0
PortType: 0x0
BmcState: 0x8
EncapType: 0x0
TcocClkId: 0x0000000000000000
TcocPortNum: 0x0
AsyCorrect: 0x0
MacEncap-VlanId: 0x0
MacEncap-DestMacAddr: 00-00-00-00-00-00
MacEncap-SrcMacAddr: 00-12-30-45-60-32
MacEncap-Priority: 0x7
UdpEncap-SrcIpAddr: 0x0
UdpEncap-DestIpAddr: 0x0
UdpEncap-VlanId: 0x0
UdpEncapTable.aucDestMacAddr: 00-00-00-00-00-00
UdpEncap-SrcMacAddr: 00-12-30-45-60-32
UdpEncap-Dscp: 0x38
UdpEncap-Priority: 0x7
***************Display ptp global bits-clock end********************
翻译
下载文档
更新时间:2019-08-09

文档编号:EDOC1000178140

浏览量:5203

下载量:56

平均得分:
本文档适用于这些产品
相关版本
相关文档
Share
上一页 下一页