The display ptp-adaptive all command displays the configuration of the 1588 ACR or 1588 ATR function.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> system-view [~HUAWEI] display ptp-adaptive all Device config info ------------------------------------------------------------------------------ Ptp adaptive state :enable Device type :server Sync mode :frequency Current state :master Packet dscp :56 Domain value :0 Local ip :33.33.33.20 Profile :none Server board :6 VPN :none Client info ID Ip Address Clock ID Mode Announce Sync Delay_resp ------------------------------------------------------------------------------ 1 500 33.33.33.10 00259efffed1efcf two-way 1 -3 -3 2 489 11.11.11.10 286ed4fffebcdc76 one-way 1 -3 -3
<HUAWEI> system-view [~HUAWEI] display ptp-adaptive client 0 *************************client0 information begin************************** Client id :0 IP address :33.33.33.10 Clock id :00259efffed1efcf Mode :two-way Announce interval :1 Announce duration :300 Sync interval :-3 Sync duration :300 Delay_resp interval :-3 Delay_resp duration :300 Receive packet statistics ------------------------------------------------------------------------------ Signaling :1 Delay_req :0 Send packet statistics ------------------------------------------------------------------------------ Signaling :0 Announce :564 Sync :0 Delay_resp :0 Discard packet statistics ------------------------------------------------------------------------------ Signaling :1 Delay_req :0 *************************client0 information end****************************
<HUAWEI> system-view [~HUAWEI] display ptp-adaptive client *************************client0 information begin************************** Client id :0 IP address :33.33.33.10 Clock id :00259efffed1efcf Mode :two-way Announce interval :1 Announce duration :300 Sync interval :-3 Sync duration :300 Delay_resp interval :-3 Delay_resp duration :300 Receive packet statistics ------------------------------------------------------------------------------ Signaling :1 Delay_req :0 Send packet statistics ------------------------------------------------------------------------------ Signaling :0 Announce :564 Sync :0 Delay_resp :0 Discard packet statistics ------------------------------------------------------------------------------ Signaling :1 Delay_req :0 *************************client0 information end**************************** *************************client1 information begin************************** Client id :1 IP address :33.33.33.11 Clock id :00259efffed1efc0 Mode :two-way Announce interval :1 Announce duration :300 Sync interval :-3 Sync duration :300 Delay_resp interval :-3 Delay_resp duration :300 Receive packet statistics ------------------------------------------------------------------------------ Signaling :1 Delay_req :0 Send packet statistics ------------------------------------------------------------------------------ Signaling :0 Announce :564 Sync :0 Delay_resp :0 Discard packet statistics ------------------------------------------------------------------------------ Signaling :1 Delay_req :0 *************************client1 information end****************************
<HUAWEI> system-view [~HUAWEI] disp ptp-adaptive all Device config info ------------------------------------------------------------------------------ Ptp adaptive state :enable Device type :client Sync mode :time Current state :slave Packet dscp :56 Domain value :44 Announce interval :10 Announce duration :300s Sync interval :3 Sync duration :300s Delay_resp interval :3 Delay_resp duration:300s Announce receipt timeout:3 One-way or two-way :two-way Local ip :20.20.20.120 Profile :time Client board :5 Hop-by-hop mode :yes VPN :none BMCA run info ------------------------------------------------------------------------------ Current trace source :server1 Time performance statistics ------------------------------------------------------------------------------ Realtime(T2-T1) :+2s, 0ns Max(T2-T1) :-1s, 294967296ns Min(T2-T1) :+0s, 460392448ns
<HUAWEI> system-view [~HUAWEI] display ptp-adaptive all Device config info ------------------------------------------------------------------------------ Ptp adaptive state :enable Device type :server Sync mode :time Current state :master Packet dscp :56 Domain value :44 Local ip :33.33.33.20 Profile :time Server board :6 VPN :none Client info ID Ip Address Clock ID Mode Announce Sync Delay_resp ------------------------------------------------------------------------------ 1 500 33.33.33.10 00259efffed1efcf two-way 1 -3 -3 2 489 11.11.11.10 286ed4fffebcdc76 two-way 1 -3 -3
<HUAWEI> system-view [~HUAWEI] display ptp-adaptive all Device config info ------------------------------------------------------------------------------ Ptp adaptive state :enable Device type :server Sync mode :frequency Current state :master Packet dscp :56 Domain value :4 Local ip :33.33.33.20 Profile :frequency Server board :6 VPN :none Client info ID Ip Address Clock ID Mode Announce Sync Delay_resp ------------------------------------------------------------------------------ 1 500 33.33.33.10 00259efffed1efcf two-way 1 -3 -3 2 489 11.11.11.10 286ed4fffebcdc76 one-way 1 -3 -3
<HUAWEI> system-view [~HUAWEI] display ptp-adaptive all Device config info ------------------------------------------------------------------------------ Ptp adaptive state :enable Device type :client Sync mode :frequency Current state :slave Packet dscp :56 Domain value :0 Announce interval :11 Announce duration :300s Sync interval :3 Sync duration :300s Delay_resp interval :3 Delay_resp duration:300s Announce receipt timeout:3 One-way or two-way :one-way Local ip :3.3.3.5 Profile :none Client board :1 VPN :none BMCA run info ------------------------------------------------------------------------------ Current trace source :server1 Time performance statistics ------------------------------------------------------------------------------ Realtime(T2-T1) :+0s, 619589345ns Max(T2-T1) :+0s, 294942707ns Min(T2-T1) :-0s, 0ns Remote server info ------------------------------------------------------------------------------ Ip address Negotiate state Pri1 Class Accuracy Pri2 Server1: 3.3.3.4 Nego success 128 84 0x22 128 Server2:
<HUAWEI> system-view [~HUAWEI] display ptp-adaptive all Device config info ------------------------------------------------------------------------------ Ptp adaptive state :enable Device type :client Sync mode :frequency Current state :slave Packet dscp :56 Domain value :4 Announce interval :11 Announce duration :300s Sync interval :3 Sync duration :300s Delay_resp interval :3 Delay_resp duration:300s Announce receipt timeout:3 One-way or two-way :one-way Local ip :3.3.3.5 Profile :frequency Client board :1 VPN :none BMCA run info ------------------------------------------------------------------------------ Current trace source :server1 Time performance statistics ------------------------------------------------------------------------------ Realtime(T2-T1) :+0s, 990847154ns Max(T2-T1) :+0s, 294848249ns Min(T2-T1) :+0s, 3623ns Remote server info ------------------------------------------------------------------------------ Ip address Negotiate state SSM Priority PTSF Server1: 3.3.3.4 Nego success PRC 1 normal Server2:
<HUAWEI> system-view [~HUAWEI] display ptp-adaptive server 1 **************************server1 information begin*************************** Server id :1 Ip address :10.1.1.1/24 Grand clock id :704433fffe297564 Time source :0x10 Parent clock id :504123fffe293344 Parent portnumber :1 Priority1 :128 Priority2 :128 Clock class :84 Clock accuracy :0x22 Two-step flag :false Steps removed :0 Timescale :PTP Offset scaled :0xffff Time traceable :false Frequency traceable :false Loss announce :false Loss sync :false Loss follow_up :false Loss resp :false Sync uncertain :false PTSF unusable :false Detect asymmetry(ns):0 Receive packet statistics ------------------------------------------------------------------------------ Signaling :0 Announce :0 Sync :46297 Delay_resp :4776 follow_up :0 Send packet statistics ------------------------------------------------------------------------------ Signaling :0 Delay_req :4839 Discard packet statistics ------------------------------------------------------------------------------ Signaling :0 Announce :0 Sync :0 Delay_resp :0 follow_up :0 **************************server1 information end***************************** **************************server2 information begin*************************** **************************server2 information end*****************************
<HUAWEI> system-view [~HUAWEI] display ptp-adaptive server 1 **************************server1 information begin*************************** Server id :1 Ip address :10.1.1.1/24 Grand clock id :704433fffe297564 Time source :0x10 Parent clock id :504123fffe293344 Parent portnumber :1 Priority1 :128 Priority2 :128 Clock class :84 Clock accuracy :0x22 Two-step flag :false Steps removed :0 Timescale :PTP Offset scaled :0xffff Time traceable :false Frequency traceable :false Loss announce :false Loss sync :false Loss follow_up :false Loss resp :false Sync uncertain :false Receive packet statistics ------------------------------------------------------------------------------ Signaling :0 Announce :0 Sync :46297 Delay_resp :4776 follow_up :0 Send packet statistics ------------------------------------------------------------------------------ Signaling :0 Delay_req :4839 Discard packet statistics ------------------------------------------------------------------------------ Signaling :0 Announce :0 Sync :0 Delay_resp :0 follow_up :0 **************************server1 information end*****************************
Item | Description |
---|---|
Device type | Current working mode of a device. |
Ptp adaptive state | 1588 ACR status. |
Sync interval | Interval at which Sync messages are sent. |
Sync duration | Lifetime of Sync packets. |
Sync mode | Device synchronization mode. Frequency: frequency synchronization. Time: time synchronization. |
Sync | Interval at which Sync packets are sent, which the server negotiates with the client. |
Sync uncertain | Unstable time synchronization flag. |
Current state | Current master/slave status of a device. |
Current trace source | Current synchronization source. The value can be server1 or server2. |
Packet dscp | QoS scheduling priority (DSCP priority) of 1588 packets. |
Domain value | Value. |
Local ip | Priority 1 value of a clock source. |
Profile | frequency: indicates that the ITUT-G.8265.1 protocol is supported. time: indicates that the ITUT-G.8275.2 protocol is supported. none: indicates partial support. |
Server board | Slot ID of the interface board that processes 1588v2 packets on the server. |
Server id | Server ID. |
VPN | Name of a VPN instanced bound to the interface to which the local IP address is assigned to. |
Client board | Priority 2 value of a clock source. |
Client info | Client list. |
Client id | Client ID. |
Client number | Number of master-only-vport clients. |
ID | - |
Ip address | IP address of a clock server. |
Ip address | IP address of a client. |
Ip Address | Client IP address. |
Ip address | IP address of the clock server. |
Clock id | Client clock ID. |
Clock ID | Client clock ID. |
Clock class | Class of a clock source. |
Clock accuracy | Clock source accuracy. |
Mode | Frequency recovery mode. none. One-way. Two-way. |
Announce receipt timeout | Number of timeout times for announce packets receiving. |
Announce interval | Interval at which Announce packets are sent. |
Announce duration | Lifetime of Announce packets. |
Announce | Interval at which Announce packets are sent, which the server negotiates with the client. |
Delay_resp interval | Interval at which Delay_Resp packets are sent. |
Delay_resp duration | Lifetime of Delay_Resp packets. |
Delay_resp | Interval at which Delay_Resp packets are sent, which the server negotiates with the client. |
Signaling | Number of Signaling packets. |
Delay_req | Count of Delay_req packets. |
Send Packet Statistics | Count of sent 1588 packets. |
Discard Packet Statistics | Count of discarded 1588 packets. |
One-way or two-way | Time source attribute value of the clock source. |
Hop-by-hop mode | Configuring 1588 ATR Client in Hop-by-Hop Mode. |
BMCA run info | 1588 ACR/ATR best master clock source selection information. |
Time performance statistics(ns) | Timestamp statistics. |
Time source | Time source attribute value of the clock source. |
Time traceable | Traceable flag of the clock source's time. |
Realtime(T2-T1) | Realtime value of t2 minus t1. |
Max(T2-T1) | Maximum value of t2 minus t1. |
Min(T2-T1) | Minimum value of t2 minus t1. |
Remote server info | Remote clock server list. |
Negotiate state | Status of the negotiation between the client and the server. The value can be init, success, or error. |
Pri1 | BMCA source selection attribute: priority 1. |
Class | Clock class which is used to select the master BMC. |
Accuracy | Time accuracy which is used to select the master BMC. |
Pri2 | Priority 2 which is used to select the master BMC. |
SSM | After the frequency profile is enabled, the SSM level is converted from the class. (for BMCA clock source selection). |
Priority | The value is fixed at 1 for server 1 and 2 for server 2 (for BMCA clock source selection). |
PTSF | Packet timing signal fail status: |
PTSF unusable | PTSF use status. |
Grand clock id | ID of the master clock source of the clock server. |
Parent clock id | Clock ID of the server. |
Parent portnumber | Port number of the clock server. |
Priority1 | Priority 1 value of a clock source. |
Priority2 | Priority 2 value of a clock source. |
Two-step flag | Two-step flag in a Sync packet of the clock source. |
Steps removed | Number of hops of the clock source. |
Timescale | Clock source timescale. |
Offset scaled | Clock source accuracy. |
Frequency traceable | Traceable flag of the clock source's frequency. |
Loss announce | Announce packet loss flag. |
Loss sync | Loss flag of sync packets. |
Loss follow_up | Follow_up packet loss flag. |
Loss resp | resp packet loss flag. |
Detect asymmetry(ns) | Measured asymmetry value. |
Server1 | Clock server 1. |
Server2 | Clock server 2. |
Recv Packet Statistics | Count of received 1588 packets. |
Vport list | Virtual port information table. |
Port state | Port status. |
Master-only-vport list | master-only-vport list. |