The display ptp-adaptive vport command displays the configuration and status of a virtual port (vPort).
The display ptp-adaptive master-only-vport command displays the configuration of a master-only-vport and the information about the client connected to the port.
The actual command output varies according to the device. The command output here is only an example.
[~HUAWEI] display ptp-adaptive vport Vport 1 ------------------------------------------------------------------------------ VPN :-- Local ip :10.0.0.2 Remote port ip :10.0.0.1 Negotiate state :Nego init Port state :master Clock Class :0 Pri2 :0 Accuracy :0x0 Local priority :128 Asymmetry(ns) :0 Vport 2 ------------------------------------------------------------------------------ VPN :-- Local ip :3.3.3.3 Remote port ip :3.3.3.1 Negotiate state :Nego init Port state :255 Clock Class :0 Pri2 :0 Accuracy :0x0 Local priority :10 Asymmetry(ns) :0
[~HUAWEI] display ptp-adaptive master-only-vport Master-only-vport list ------------------------------------------------------------------------------ ID Ip Address VPN Client number 1 2.2.2.2 -- 1 Master-only-vport 1 client list ------------------------------------------------------------------------------ ID Ip Address Clock ID Mode Announce Sync Delay_resp ------------------------------------------------------------------------------ 0 0 2.2.2.8 049fcafffe2ef40b two-way 1 -7 -7
<~HUAWEI> display ptp-adaptive vport 1 Vport 1 ------------------------------------------------------------------------------ VPN :-- Local ip :10.0.0.1 Remote port ip :10.0.0.2 Negotiate state :Nego success Port state :slave Clock Class :187 Pri2 :128 Accuracy :0x20 Local priority :128 Asymmetry(ns) :0
<~HUAWEI> display ptp-adaptive master-only-vport 1 Master-only-vport 1 client list ------------------------------------------------------------------------------ ID Ip Address Clock ID Mode Announce Sync Delay_resp ------------------------------------------------------------------------------ 0 0 10.0.0.1 202008fffe261204 two-way 0 -7 -7
Item | Description |
---|---|
Vport | Virtual port. |
VPN | VPN instance name. |
Local ip | IP address of a clock server. |
Local priority | Local priority (for BMCA clock source selection). |
Remote port ip | IP address of the peer device. |
Negotiate state | Negotiation status between the local and peer ends. The value can be init, success, or error. |
Port state | Local status. The value can be master. slave, listening, or passive. |
Clock Class | Class of a clock source. |
Clock ID | Client clock ID. |
Pri2 | BMCA source selection attribute: priority 2. |
Accuracy | Accuracy of the local clock. |
Asymmetry(ns) | Asymmetric compensation value. |
Master-only-vport list | master-only-vport list. |
ID | - |
Ip Address | Client IP address. |
Ip Address | Client IP address. |
Client number | Number of clients connected to the virtual port. |
Mode | Frequency recovery mode. none. One-way. Two-way. |
Announce | Interval at which Announce packets are sent, which the server negotiates with the client. |
Sync | Interval at which Sync packets are sent, which the server negotiates with the client. |
Delay_resp | Interval at which Delay_Resp packets are sent, which the server negotiates with the client. |