show ptp brief

show ptp brief

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp brief ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_ptp": {
                        "ROW_ptp": [
                            {
                                "ptp-ifindex": "Eth1/1", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/2", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/3", 
                                "state": "disabled"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/4", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/5", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/6", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/7", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/8", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/9", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/10", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/11", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/12", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/13", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/14", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/15", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/16", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/17", 
                                "state": "disabled"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/18", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/19", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/20", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/21", 
                                "state": "disabled"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/22", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/23", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/24", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/25", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/26", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/27", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/28", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/29", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/30", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/31", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/32", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/33", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/34", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/35", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/36", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/37", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/38", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/39", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/40", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/41", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/42", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/43", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/44", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/45", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/46", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/47", 
                                "state": "master"
                            }, 
                            {
                                "ptp-ifindex": "Eth1/48", 
                                "state": "master"
                            }
                        ]
                    }, 
                    "gptp-flag": "0", 
                    "ptp-end": "PTP-END"
                }, 
                "code": "200", 
                "input": "show ptp brief ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp brief command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp brief 

PTP port status
-----------------------------------
Port                  State 
--------------------- ------------
Eth1/1                Master
Eth1/2 Master
Eth1/3 Disabled
Eth1/4 Master
Eth1/5 Master
Eth1/6 Master
Eth1/7 Master
Eth1/8 Master
Eth1/9 Master
Eth1/10 Master
Eth1/11 Master
Eth1/12 Master
Eth1/13 Master
Eth1/14 Master
Eth1/15 Master
Eth1/16 Master
Eth1/17 Disabled
Eth1/18 Master
Eth1/19 Master
Eth1/20 Master
Eth1/21 Disabled
Eth1/22 Master
Eth1/23 Master
Eth1/24 Master
Eth1/25 Master
Eth1/26 Master
Eth1/27 Master
Eth1/28 Master
Eth1/29 Master
Eth1/30 Master
Eth1/31 Master
Eth1/32 Master
Eth1/33 Master
Eth1/34 Master
Eth1/35 Master
Eth1/36 Master
Eth1/37 Master
Eth1/38 Master
Eth1/39 Master
Eth1/40 Master
Eth1/41 Master
Eth1/42 Master
Eth1/43 Master
Eth1/44 Master
Eth1/45 Master
Eth1/46 Master
Eth1/47 Master
Eth1/48 Master

show ptp clock

show ptp clock

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp clock ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "accuracy": "254", 
                    "class": "248", 
                    "clock-id": "00:00:00:ff:fe:00:00:01", 
                    "correction-threshold": "100", 
                    "device-type": "bc", 
                    "domain-id": "1", 
                    "encap": "l3", 
                    "local-clock-time": "Mon Jul  2 19:18:34 2018", 
                    "mean-path-delay-threshold": "100", 
                    "mean-path-delay-to-master": "0", 
                    "num-ports": "48", 
                    "offset-from-master": "0", 
                    "priority1": "10", 
                    "priority2": "10", 
                    "scaled-log-variance": "65535", 
                    "slave-only": "disabled", 
                    "src-ip": "1.1.1.1", 
                    "steps-removed": "0", 
                    "two-step-clock": "enabled"
                }, 
                "code": "200", 
                "input": "show ptp clock ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp clock command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp clock 
PTP Device Type : boundary-clock
PTP Device Encapsulation : layer-3
PTP Source IP Address : 1.1.1.1
Clock Identity : 00:00:00:ff:fe:00:00:01
Clock Domain: 1
Two-Step Clock Mode : Enabled
Slave-Only Clock Mode : Disabled
Number of PTP ports: 48
Priority1 : 10
Priority2 : 10
Clock Quality:
 Class : 248
 Accuracy : 254
 Offset (log variance) : 65535
Offset From Master : 0
Mean Path Delay : 0
Steps removed : 0
Correction range : 100
MPD range : 100
Local clock time : Mon Jul  2 19:18:34 2018

show ptp clock foreign-masters record

show ptp clock foreign-masters record

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp clock foreign-masters record ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "ptp-end": "PTP-END"
                }, 
                "code": "200", 
                "input": "show ptp clock foreign-masters record ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp clock foreign-masters record command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp clock foreign-masters record 

P1=Priority1, P2=Priority2, C=Class, A=Accuracy,
OSLV=Offset-Scaled-Log-Variance, SR=Steps-Removed
GM=Is grandmaster

---------   -----------------------  ---  ----  ----  ---  -----  --------
Interface         Clock-ID           P1   P2    C     A    OSLV   SR
--------- ----------------------- --- ---- ---- --- ----- --------

show ptp corrections

show ptp corrections

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp corrections ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "ptp-end": "PTP-END"
                }, 
                "code": "200", 
                "input": "show ptp corrections ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp corrections command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp corrections 

PTP past corrections
-----------------------------------------------------------------------------------
Slave Port              SUP Time               Correction(ns)    MeanPath Delay(ns)
----------  -------------------------------  ------------------  ------------------

show ptp cost

show ptp cost

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp cost ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_ptp": {
                        "ROW_ptp": [
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/1"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/2"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/3"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/4"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/5"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/6"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/7"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/8"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/9"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/10"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/11"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/12"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/13"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/14"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/15"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/16"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/17"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/18"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/19"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/20"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/21"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/22"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/23"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/24"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/25"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/26"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/27"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/28"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/29"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/30"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/31"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/32"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/33"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/34"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/35"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/36"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/37"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/38"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/39"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/40"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/41"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/42"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/43"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/44"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/45"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/46"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/47"
                            }, 
                            {
                                "cost": "200", 
                                "ptp-ifindex": "Eth1/48"
                            }
                        ]
                    }, 
                    "ptp-end": "PTP-END"
                }, 
                "code": "200", 
                "input": "show ptp cost ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp cost command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp cost 

PTP port costs
-----------------------
Port         Cost 
-------  --------------
Eth1/1        200
Eth1/2        200
Eth1/3        200
Eth1/4        200
Eth1/5        200
Eth1/6        200
Eth1/7        200
Eth1/8        200
Eth1/9        200
Eth1/10       200
Eth1/11       200
Eth1/12       200
Eth1/13       200
Eth1/14       200
Eth1/15       200
Eth1/16       200
Eth1/17       200
Eth1/18       200
Eth1/19       200
Eth1/20       200
Eth1/21       200
Eth1/22       200
Eth1/23       200
Eth1/24       200
Eth1/25       200
Eth1/26       200
Eth1/27       200
Eth1/28       200
Eth1/29       200
Eth1/30       200
Eth1/31       200
Eth1/32       200
Eth1/33       200
Eth1/34       200
Eth1/35       200
Eth1/36       200
Eth1/37       200
Eth1/38       200
Eth1/39       200
Eth1/40       200
Eth1/41       200
Eth1/42       200
Eth1/43       200
Eth1/44       200
Eth1/45       200
Eth1/46       200
Eth1/47       200
Eth1/48       200

show ptp counters all

show ptp counters all

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp counters all ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_ptp": {
                        "ROW_ptp": [
                            {
                                "interface_name": "Eth1/1", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647071", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155377", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155497"
                            }, 
                            {
                                "interface_name": "Eth1/2", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "1280125", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "1", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "1", 
                                "tx-announce-pkts": "647032", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "1280123", 
                                "tx-follow-up-pkts": "5155092", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155206"
                            }, 
                            {
                                "interface_name": "Eth1/3", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "0", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "0", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "0"
                            }, 
                            {
                                "interface_name": "Eth1/4", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647032", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155078", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155206"
                            }, 
                            {
                                "interface_name": "Eth1/5", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647080", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155474", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155594"
                            }, 
                            {
                                "interface_name": "Eth1/6", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647030", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155068", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155195"
                            }, 
                            {
                                "interface_name": "Eth1/7", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "7", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "7", 
                                "tx-announce-pkts": "647029", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155054", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155182"
                            }, 
                            {
                                "interface_name": "Eth1/8", 
                                "rx-announce-pkts": "2", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "15", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "15", 
                                "tx-announce-pkts": "647028", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155056", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155179"
                            }, 
                            {
                                "interface_name": "Eth1/9", 
                                "rx-announce-pkts": "2", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "9", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "9", 
                                "tx-announce-pkts": "647028", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155059", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155180"
                            }, 
                            {
                                "interface_name": "Eth1/10", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "7", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "7", 
                                "tx-announce-pkts": "647028", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155051", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155178"
                            }, 
                            {
                                "interface_name": "Eth1/11", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "7", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "7", 
                                "tx-announce-pkts": "647028", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155058", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155177"
                            }, 
                            {
                                "interface_name": "Eth1/12", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647027", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155044", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155173"
                            }, 
                            {
                                "interface_name": "Eth1/13", 
                                "rx-announce-pkts": "2", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "9", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "9", 
                                "tx-announce-pkts": "647030", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155071", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155191"
                            }, 
                            {
                                "interface_name": "Eth1/14", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647027", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155048", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155172"
                            }, 
                            {
                                "interface_name": "Eth1/15", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "6", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "6", 
                                "tx-announce-pkts": "647027", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155044", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155170"
                            }, 
                            {
                                "interface_name": "Eth1/16", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "1", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "1", 
                                "tx-announce-pkts": "647027", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155057", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155173"
                            }, 
                            {
                                "interface_name": "Eth1/17", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "0", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "0", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "0"
                            }, 
                            {
                                "interface_name": "Eth1/18", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647018", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5154975", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155098"
                            }, 
                            {
                                "interface_name": "Eth1/19", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "3", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "3", 
                                "tx-announce-pkts": "647028", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155057", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155181"
                            }, 
                            {
                                "interface_name": "Eth1/20", 
                                "rx-announce-pkts": "2", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "15", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "15", 
                                "tx-announce-pkts": "647025", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155029", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155153"
                            }, 
                            {
                                "interface_name": "Eth1/21", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "0", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "0", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "0"
                            }, 
                            {
                                "interface_name": "Eth1/22", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "4", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "4", 
                                "tx-announce-pkts": "647026", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155043", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155164"
                            }, 
                            {
                                "interface_name": "Eth1/23", 
                                "rx-announce-pkts": "2", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "9", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "9", 
                                "tx-announce-pkts": "647026", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155043", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155166"
                            }, 
                            {
                                "interface_name": "Eth1/24", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647027", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155059", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155174"
                            }, 
                            {
                                "interface_name": "Eth1/25", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "6", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "6", 
                                "tx-announce-pkts": "647026", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155040", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155164"
                            }, 
                            {
                                "interface_name": "Eth1/26", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647027", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155044", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155173"
                            }, 
                            {
                                "interface_name": "Eth1/27", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647026", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155040", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155161"
                            }, 
                            {
                                "interface_name": "Eth1/28", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647026", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155034", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155162"
                            }, 
                            {
                                "interface_name": "Eth1/29", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647020", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5154985", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155114"
                            }, 
                            {
                                "interface_name": "Eth1/30", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647017", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5154964", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155087"
                            }, 
                            {
                                "interface_name": "Eth1/31", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "1", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "1", 
                                "tx-announce-pkts": "647022", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155016", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155133"
                            }, 
                            {
                                "interface_name": "Eth1/32", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "3", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "3", 
                                "tx-announce-pkts": "647023", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155023", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155136"
                            }, 
                            {
                                "interface_name": "Eth1/33", 
                                "rx-announce-pkts": "647097", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "5155712", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "5155742", 
                                "tx-announce-pkts": "647025", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155033", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155153"
                            }, 
                            {
                                "interface_name": "Eth1/34", 
                                "rx-announce-pkts": "2", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "10", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "10", 
                                "tx-announce-pkts": "647023", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155016", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155137"
                            }, 
                            {
                                "interface_name": "Eth1/35", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "6", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "6", 
                                "tx-announce-pkts": "647014", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5154954", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155067"
                            }, 
                            {
                                "interface_name": "Eth1/36", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647024", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155019", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155148"
                            }, 
                            {
                                "interface_name": "Eth1/37", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647024", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155030", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155148"
                            }, 
                            {
                                "interface_name": "Eth1/38", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647024", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155023", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155148"
                            }, 
                            {
                                "interface_name": "Eth1/39", 
                                "rx-announce-pkts": "2", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "8", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "8", 
                                "tx-announce-pkts": "647027", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155045", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155172"
                            }, 
                            {
                                "interface_name": "Eth1/40", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647023", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155014", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155140"
                            }, 
                            {
                                "interface_name": "Eth1/41", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647024", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155015", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155147"
                            }, 
                            {
                                "interface_name": "Eth1/42", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647024", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155022", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155147"
                            }, 
                            {
                                "interface_name": "Eth1/43", 
                                "rx-announce-pkts": "2", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "9", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "9", 
                                "tx-announce-pkts": "647022", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155011", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155132"
                            }, 
                            {
                                "interface_name": "Eth1/44", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647023", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155017", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155140"
                            }, 
                            {
                                "interface_name": "Eth1/45", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647022", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5155006", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155130"
                            }, 
                            {
                                "interface_name": "Eth1/46", 
                                "rx-announce-pkts": "1", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "5", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "5", 
                                "tx-announce-pkts": "647020", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5154992", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155114"
                            }, 
                            {
                                "interface_name": "Eth1/47", 
                                "rx-announce-pkts": "0", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "0", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "0", 
                                "tx-announce-pkts": "647018", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5154968", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155099"
                            }, 
                            {
                                "interface_name": "Eth1/48", 
                                "rx-announce-pkts": "2", 
                                "rx-delay-req-pkts": "0", 
                                "rx-delay-resp-pkts": "0", 
                                "rx-follow-up-pkts": "14", 
                                "rx-pdelay-follow-up-pkts": "0", 
                                "rx-pdelay-req-pkts": "0", 
                                "rx-pdelay-resp-pkts": "0", 
                                "rx-sync-pkts": "14", 
                                "tx-announce-pkts": "647017", 
                                "tx-delay-req-pkts": "0", 
                                "tx-delay-resp-pkts": "0", 
                                "tx-follow-up-pkts": "5154976", 
                                "tx-pdelay-follow-up-pkts": "0", 
                                "tx-pdelay-req-pkts": "0", 
                                "tx-pdelay-resp-pkts": "0", 
                                "tx-sync-pkts": "5155091"
                            }
                        ]
                    }, 
                    "ptp-end": "PTP-END"
                }, 
                "code": "200", 
                "input": "show ptp counters all ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp counters all command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp counters all 

PTP Packet Counters of Interface Eth1/1:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647073                    0
Sync                         5155516                    0
FollowUp                     5155396                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/2:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647034                    1
Sync                         5155226                    1
FollowUp                     5155112                    1
Delay Request                      0              1280129
Delay Response               1280127                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/3:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                           0                    0
Sync                               0                    0
FollowUp                           0                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/4:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647034                    0
Sync                         5155225                    0
FollowUp                     5155097                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/5:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647082                    0
Sync                         5155613                    0
FollowUp                     5155493                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/6:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647032                    0
Sync                         5155214                    0
FollowUp                     5155087                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/7:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647031                    1
Sync                         5155201                    7
FollowUp                     5155073                    7
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/8:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647030                    2
Sync                         5155198                   15
FollowUp                     5155075                   15
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/9:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647030                    2
Sync                         5155199                    9
FollowUp                     5155078                    9
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/10:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647030                    1
Sync                         5155197                    7
FollowUp                     5155070                    7
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/11:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647030                    1
Sync                         5155196                    7
FollowUp                     5155077                    7
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/12:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647029                    0
Sync                         5155192                    0
FollowUp                     5155063                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/13:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647032                    2
Sync                         5155210                    9
FollowUp                     5155090                    9
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/14:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647029                    0
Sync                         5155191                    0
FollowUp                     5155067                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/15:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647029                    1
Sync                         5155189                    6
FollowUp                     5155063                    6
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/16:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647029                    1
Sync                         5155192                    1
FollowUp                     5155076                    1
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/17:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                           0                    0
Sync                               0                    0
FollowUp                           0                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/18:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647020                    0
Sync                         5155117                    0
FollowUp                     5154994                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/19:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647030                    1
Sync                         5155200                    3
FollowUp                     5155076                    3
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/20:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647027                    2
Sync                         5155172                   15
FollowUp                     5155048                   15
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/21:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                           0                    0
Sync                               0                    0
FollowUp                           0                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/22:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647028                    1
Sync                         5155183                    4
FollowUp                     5155062                    4
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/23:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647028                    2
Sync                         5155185                    9
FollowUp                     5155062                    9
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/24:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647029                    0
Sync                         5155193                    0
FollowUp                     5155079                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/25:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647028                    1
Sync                         5155183                    6
FollowUp                     5155059                    6
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/26:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647029                    0
Sync                         5155192                    0
FollowUp                     5155063                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/27:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647028                    0
Sync                         5155180                    0
FollowUp                     5155059                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/28:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647028                    0
Sync                         5155181                    0
FollowUp                     5155053                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/29:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647022                    0
Sync                         5155133                    0
FollowUp                     5155004                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/30:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647019                    0
Sync                         5155106                    0
FollowUp                     5154983                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/31:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647024                    1
Sync                         5155152                    1
FollowUp                     5155035                    1
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/32:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647025                    1
Sync                         5155155                    3
FollowUp                     5155042                    3
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/33:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647027               647100
Sync                         5155172              5155761
FollowUp                     5155052              5155731
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/34:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647025                    2
Sync                         5155156                   10
FollowUp                     5155035                   10
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/35:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647016                    1
Sync                         5155086                    6
FollowUp                     5154973                    6
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/36:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647026                    0
Sync                         5155167                    0
FollowUp                     5155038                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/37:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647026                    0
Sync                         5155167                    0
FollowUp                     5155049                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/38:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647026                    0
Sync                         5155167                    0
FollowUp                     5155042                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/39:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647029                    2
Sync                         5155191                    8
FollowUp                     5155064                    8
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/40:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647025                    0
Sync                         5155159                    0
FollowUp                     5155033                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/41:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647026                    0
Sync                         5155166                    0
FollowUp                     5155034                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/42:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647026                    0
Sync                         5155166                    0
FollowUp                     5155041                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/43:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647024                    2
Sync                         5155151                    9
FollowUp                     5155030                    9
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/44:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647025                    0
Sync                         5155159                    0
FollowUp                     5155036                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/45:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647024                    0
Sync                         5155149                    0
FollowUp                     5155025                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/46:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647022                    1
Sync                         5155133                    5
FollowUp                     5155011                    5
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/47:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647020                    0
Sync                         5155118                    0
FollowUp                     5154987                    0
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
PTP Packet Counters of Interface Eth1/48:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      647019                    2
Sync                         5155110                   14
FollowUp                     5154995                   14
Delay Request                      0                    0
Delay Response                     0                    0
PDelay Request                     0                    0
PDelay Response                    0                    0
PDelay Followup                    0                    0
----------------------------------------------------------------

show ptp counters interface ethernet 1/20

show ptp counters interface ethernet 1/20

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp counters interface ethernet 1/20",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_ptp": {
                        "ROW_ptp": {
                            "interface_name": "Eth1/20",
                            "rx-announce-pkts": "2",
                            "rx-delay-req-pkts": "0",
                            "rx-delay-resp-pkts": "0",
                            "rx-follow-up-pkts": "15",
                            "rx-pdelay-follow-up-pkts": "0",
                            "rx-pdelay-req-pkts": "0",
                            "rx-pdelay-resp-pkts": "0",
                            "rx-sync-pkts": "15",
                            "tx-announce-pkts": "648382",
                            "tx-delay-req-pkts": "0",
                            "tx-delay-resp-pkts": "0",
                            "tx-follow-up-pkts": "5165848",
                            "tx-pdelay-follow-up-pkts": "0",
                            "tx-pdelay-req-pkts": "0",
                            "tx-pdelay-resp-pkts": "0",
                            "tx-sync-pkts": "5165972"
                        }
                    },
                    "ptp-end": "PTP-END"
                },
                "code": "200",
                "input": "show ptp counters interface ethernet 1/20",
                "msg": "Success"
            }
        },
        "sid": "eoc",
        "type": "cli_show",
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp counters interface ethernet 1/20 command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp counters interface ethernet 1/20

PTP Packet Counters of Interface Eth1/20:
----------------------------------------------------------------
Packet Type                  TX                      RX
----------------    --------------------    --------------------
Announce                      648350                       2
Sync                         5165714                      15
FollowUp                     5165590                      15
Delay Request                      0                       0
Delay Response                     0                       0
PDelay Request                     0                       0
PDelay Response                    0                       0
PDelay Followup                    0                       0
----------------------------------------------------------------

show ptp domain data

show ptp domain data

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp domain data ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_ptp": {
                        "ROW_ptp": {
                            "TABLE_ptp_domain": {
                                "ROW_ptp_domain": [
                                    {
                                        "domain_number": "0", 
                                        "domain_priority": "255", 
                                        "ptp-ifindex": [
                                            "Eth1/1", 
                                            "Eth1/3", 
                                            "Eth1/4", 
                                            "Eth1/5", 
                                            "Eth1/6", 
                                            "Eth1/7", 
                                            "Eth1/8", 
                                            "Eth1/9", 
                                            "Eth1/10", 
                                            "Eth1/11", 
                                            "Eth1/12", 
                                            "Eth1/13", 
                                            "Eth1/14", 
                                            "Eth1/15", 
                                            "Eth1/16", 
                                            "Eth1/17", 
                                            "Eth1/18", 
                                            "Eth1/19", 
                                            "Eth1/20", 
                                            "Eth1/21", 
                                            "Eth1/22", 
                                            "Eth1/23", 
                                            "Eth1/24", 
                                            "Eth1/25", 
                                            "Eth1/26", 
                                            "Eth1/27", 
                                            "Eth1/28", 
                                            "Eth1/29", 
                                            "Eth1/30", 
                                            "Eth1/31", 
                                            "Eth1/32", 
                                            "Eth1/33", 
                                            "Eth1/34", 
                                            "Eth1/35", 
                                            "Eth1/36", 
                                            "Eth1/37", 
                                            "Eth1/38", 
                                            "Eth1/39", 
                                            "Eth1/40", 
                                            "Eth1/41", 
                                            "Eth1/42", 
                                            "Eth1/43", 
                                            "Eth1/44", 
                                            "Eth1/45", 
                                            "Eth1/46", 
                                            "Eth1/47", 
                                            "Eth1/48"
                                        ], 
                                        "ptp_clock_accuracy_threshold": "254", 
                                        "ptp_clock_class_threshold": "248"
                                    }, 
                                    {
                                        "domain_number": "1", 
                                        "domain_priority": "255", 
                                        "ptp-ifindex": "Eth1/2", 
                                        "ptp_clock_accuracy_threshold": "254", 
                                        "ptp_clock_class_threshold": "248"
                                    }
                                ]
                            }, 
                            "def_dom": "1", 
                            "gm_cap": "ENABLED", 
                            "gm_convergence_time": "11", 
                            "multidom_cap": "ENABLED", 
                            "transition_priority1": "10", 
                            "transition_priority2": "10"
                        }
                    }, 
                    "ptp-end": "PTP-END"
                }, 
                "code": "200", 
                "input": "show ptp domain data ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp domain data command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp domain data 
MULTI DOMAIN :ENABLED
GM CAPABILITY :ENABLED
GRANDMASTER CONVERGENCE TIME  :11
PTP DEFAULT DOMAIN : 1
PTP TRANSITION PRIORITY1 : 10
PTP TRANSITION PRIORITY2 : 10
PTP DOMAIN PROPERTY
Domain-Number Domain-Priority Clock-Class Clock-Accuracy Ports

0  255  248  254 Eth1/1 Eth1/3 Eth1/4 
       Eth1/5 Eth1/6 Eth1/7 
       Eth1/8 Eth1/9 Eth1/10 
       Eth1/11 Eth1/12 Eth1/13 
       Eth1/14 Eth1/15 Eth1/16 
       Eth1/17 Eth1/18 Eth1/19 
       Eth1/20 Eth1/21 Eth1/22 
       Eth1/23 Eth1/24 Eth1/25 
       Eth1/26 Eth1/27 Eth1/28 
       Eth1/29 Eth1/30 Eth1/31 
       Eth1/32 Eth1/33 Eth1/34 
       Eth1/35 Eth1/36 Eth1/37 
       Eth1/38 Eth1/39 Eth1/40 
       Eth1/41 Eth1/42 Eth1/43 
       Eth1/44 Eth1/45 Eth1/46 
       Eth1/47 Eth1/48 
1  255  248  254 Eth1/2 

show ptp interface domain

show ptp interface domain

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp interface domain ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "TABLE_ptp": {
                        "ROW_ptp": [
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/1"
                            }, 
                            {
                                "interface-domain": "1", 
                                "ptp-ifindex": "Eth1/2"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/3"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/4"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/5"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/6"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/7"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/8"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/9"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/10"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/11"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/12"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/13"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/14"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/15"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/16"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/17"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/18"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/19"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/20"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/21"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/22"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/23"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/24"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/25"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/26"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/27"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/28"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/29"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/30"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/31"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/32"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/33"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/34"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/35"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/36"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/37"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/38"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/39"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/40"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/41"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/42"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/43"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/44"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/45"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/46"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/47"
                            }, 
                            {
                                "interface-domain": "0", 
                                "ptp-ifindex": "Eth1/48"
                            }
                        ]
                    }, 
                    "ptp-end": "PTP-END"
                }, 
                "code": "200", 
                "input": "show ptp interface domain ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp interface domain command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp interface domain 

PTP port interface domain
--------------------------
Port         Domain 
-------  -----------------
Eth1/1        0
Eth1/2        1
Eth1/3        0
Eth1/4        0
Eth1/5        0
Eth1/6        0
Eth1/7        0
Eth1/8        0
Eth1/9        0
Eth1/10       0
Eth1/11       0
Eth1/12       0
Eth1/13       0
Eth1/14       0
Eth1/15       0
Eth1/16       0
Eth1/17       0
Eth1/18       0
Eth1/19       0
Eth1/20       0
Eth1/21       0
Eth1/22       0
Eth1/23       0
Eth1/24       0
Eth1/25       0
Eth1/26       0
Eth1/27       0
Eth1/28       0
Eth1/29       0
Eth1/30       0
Eth1/31       0
Eth1/32       0
Eth1/33       0
Eth1/34       0
Eth1/35       0
Eth1/36       0
Eth1/37       0
Eth1/38       0
Eth1/39       0
Eth1/40       0
Eth1/41       0
Eth1/42       0
Eth1/43       0
Eth1/44       0
Eth1/45       0
Eth1/46       0
Eth1/47       0
Eth1/48       0

show ptp parent

show ptp parent

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp parent ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "clock-id": "00:00:00:ff:fe:00:00:01", 
                    "gm-accuracy": "254", 
                    "gm-class": "248", 
                    "gm-id": "00:00:00:ff:fe:00:00:01", 
                    "gm-priority1": "10", 
                    "gm-priority2": "10", 
                    "gm-scaled-log-variance": "65535", 
                    "obs-parent-clk-phase-chg": "N/A", 
                    "obs-parent-offset": "N/A", 
                    "port-num": "0"
                }, 
                "code": "200", 
                "input": "show ptp parent ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp parent command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp parent 

PTP PARENT PROPERTIES

Parent Clock:
Parent Clock Identity: 00:00:00:ff:fe:00:00:01
Parent Port Number: 0
Observed Parent Offset (log variance): N/A
Observed Parent Clock Phase Change Rate: N/A

Grandmaster Clock:
Grandmaster Clock Identity: 00:00:00:ff:fe:00:00:01
Grandmaster Clock Quality:
 Class: 248
 Accuracy: 254
 Offset (log variance): 65535
 Priority1: 10
 Priority2: 10

show ptp port interface ethernet1/20

show ptp port interface ethernet1/20

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp port interface ethernet1/20",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "ann-intv": "0",
                    "ann-rx-tout": "2",
                    "clock-id": "00:00:00:ff:fe:00:00:01",
                    "cost": "200",
                    "delay-mechanism": "End to End",
                    "delay-req-intv": "-1",
                    "int-domain-id": "0",
                    "intf-name": "Eth1/20",
                    "peer-mean-path-delay": "0",
                    "port-num": "19",
                    "state": "master",
                    "sync-intv": "-3",
                    "version": "2",
                    "vlan": "1"
                },
                "code": "200",
                "input": "show ptp port interface ethernet1/20",
                "msg": "Success"
            }
        },
        "sid": "eoc",
        "type": "cli_show",
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp port interface ethernet1/20 command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp port interface ethernet1/20
PTP Port Dataset: Eth1/20
Port identity: clock identity: 00:00:00:ff:fe:00:00:01
Port identity: port number: 19
PTP version: 2
Port state: Master
VLAN info: 1
Delay request interval(log mean): -1
Announce receipt time out: 2
Peer mean path delay: 0
Announce interval(log mean): 0
Sync interval(log mean): -3
Delay Mechanism: End to End
Cost: 200
Domain: 0

show ptp time-property

show ptp time-property

import json

"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'

myheaders={'content-type':'application/json'}
payload={
  "ins_api":{
  "version": "1.0",
  "type": "cli_show",
  "chunk": "0",
  "sid": "1",
  "input": "show ptp time-property ",
  "output_format": "json"
}

response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)


{

    "ins_api": {
        "outputs": {
            "output": {
                "body": {
                    "current-utc-offset": "37", 
                    "current-utc-offset-valid": "0", 
                    "freq-traceable": "0", 
                    "leap-59": "0", 
                    "leap-61": "0", 
                    "ptp-timescale": "1", 
                    "time-source": "0xa0(Internal Oscillator)", 
                    "time-traceable": "0"
                }, 
                "code": "200", 
                "input": "show ptp time-property ", 
                "msg": "Success"
            }
        }, 
        "sid": "eoc", 
        "type": "cli_show", 
        "version": "1.0"
    }
}

The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show ptp time-property command, see the CLI command reference:

http//www.cisco.com/c/en/us/support/switches/nexus-3000-series-switches/products-command-reference-list.html

CLI Output
Switch# show ptp time-property 
PTP CLOCK TIME PROPERTY:
 Current UTC Offset valid: 0
 Current UTC Offset: 37
 Leap59: 0
 Leap61: 0
 Time Traceable: 0
 Frequency Traceable: 0
 PTP Timescale: 1
 Time Source: 0xa0(Internal Oscillator)