Cisco-IOS-XE-switch-ptp-oper

YANG Data Model Tree Structure

View YANG Source on GitHub →

📚 API Documentation & Navigation

📄 Swagger API Spec 📂 Browse Operational State APIs 🌳 All Trees

📋 Module Metadata

Namespace: http://cisco.com/ns/yang/Cisco-IOS-XE-switch-ptp-oper

Prefix: switch_ptp_oper

Related Modules:
Cisco-IOS-XE-aaa-oper
Cisco-IOS-XE-acl-oper
Cisco-IOS-XE-app-cflowd-oper
Cisco-IOS-XE-app-hosting-oper
Cisco-IOS-XE-appqoe-http-oper

💡 Example Usage

# GET operational data
curl -X GET \
  -H "Accept: application/yang-data+json" \
  -u admin:password \
  --insecure \
  https://device-ip/restconf/data/Cisco-IOS-XE-switch-ptp-oper

📚 External Documentation

💻 YANG Source📖 YANG Catalog🌐 DevNet Guide
module: Cisco-IOS-XE-switch-ptp-oper
  +--ro switch-ptp-oper-data
     +--ro switch-ptp-clock-data* [clock-domain]
     |  +--ro clock-domain                uint16
     |  +--ro clock-default-data-val
     |  |  +--ro ptp-device-type?            switch-ptp-ios-xe-oper:ptp-device
     |  |  +--ro ptp-clk-id?                 uint64
     |  |  +--ro two-step-clock?             boolean
     |  |  +--ro num-ptp-ports?              uint8
     |  |  +--ro clock-priority1?            uint8
     |  |  +--ro clock-priority2?            uint8
     |  |  +--ro clock-quality
     |  |  |  +--ro clock-class?                  uint8
     |  |  |  +--ro clock-accuracy?               switch-ptp-ios-xe-oper:ptp-clock-accuracy
     |  |  |  +--ro offset-scaled-log-variance?   uint16
     |  |  +--ro ptp-local-clock-priority?   uint8
     |  |  +--ro holdover-timer-value?       uint32
     |  |  +--ro profile?                    switch-ptp-ios-xe-oper:ptp-oper-profile
     |  +--ro clock-current-data-val
     |  |  +--ro offset-from-master
     |  |  |  +--ro nano-seconds?              int64
     |  |  |  +--ro fractional-nano-seconds?   int16
     |  |  +--ro mean-path-delay
     |  |  |  +--ro nano-seconds?              int64
     |  |  |  +--ro fractional-nano-seconds?   int16
     |  |  +--ro steps-removed?            uint16
     |  |  +--ro max-offset-from-master?   uint64
     |  +--ro ptp-oper-domain-cfg-data
     |  |  +--ro transport-protocol?   switch-ptp-ios-xe-oper:ptp-oper-network-transport-protocol
     |  |  +--ro dscp-event?           uint16
     |  |  +--ro dscp-general?         uint16
     |  |  +--ro delay-mechanism?      switch-ptp-ios-xe-oper:ptp-delay-type
     |  +--ro clock-time-property-val
     |     +--ro current-utc-offset?         int32
     |     +--ro current-utc-offset-valid?   boolean
     |     +--ro leap-59?                    boolean
     |     +--ro leap-61?                    boolean
     |     +--ro time-traceable?             boolean
     |     +--ro frequency-traceable?        boolean
     |     +--ro timescale-is-ptp?           boolean
     |     +--ro time-source?                switch-ptp-ios-xe-oper:ptp-time-source
     +--ro switch-ptp-ucast-data* [if-name]
     |  +--ro if-name                 string
     |  +--ro peer-clk-ip?            inet:ip-address
     |  +--ro src-addr-type?          switch-ptp-ios-xe-oper:ptp-source-address
     |  +--ro src-ip-ptp-intf-name?   string
     |  +--ro src-ip?                 inet:ip-address
     |  +--ro vrf-id?                 uint16
     +--ro switch-ptp-port-data* [if-name]
     |  +--ro if-name                       string
     |  +--ro port-identity
     |  |  +--ro ptp-clk-id?    uint64
     |  |  +--ro port-number?   uint16
     |  +--ro port-state?                   switch-ptp-ios-xe-oper:ptp-fsm-state
     |  +--ro announce-receipt-time-out?    uint8
     |  +--ro peer-mean-path-delay
     |  |  +--ro nano-seconds?              int64
     |  |  +--ro fractional-nano-seconds?   int16
     |  +--ro log-mean-announce-interval?   int8
     |  +--ro log-mean-sync-interval?       int8
     |  +--ro lg-min-mean-pdel-req-intv?    int8
     |  +--ro lg-min-mean-del-req-intv?     int8
     |  +--ro port-enabled?                 boolean
     |  +--ro ptp-vlan-id?                  uint16
     |  +--ro ptp-vlan-id-valid?            boolean
     |  +--ro tag-native-vlan?              boolean
     |  +--ro sync-fault-limit?             uint64
     +--ro switch-ptp-parent-data* [clock-domain]
     |  +--ro clock-domain                 uint16
     |  +--ro parent-port-identity
     |  |  +--ro ptp-clk-id?    uint64
     |  |  +--ro port-number?   uint16
     |  +--ro obs-prnt-ofst-scl-log-var?   uint16
     |  +--ro obs-par-clk-phase-chg-rt?    int32
     |  +--ro grandmaster-identity?        uint64
     |  +--ro grandmaster-clock-quality
     |  |  +--ro clock-class?                  uint8
     |  |  +--ro clock-accuracy?               switch-ptp-ios-xe-oper:ptp-clock-accuracy
     |  |  +--ro offset-scaled-log-variance?   uint16
     |  +--ro grandmaster-priority1?       uint8
     |  +--ro grandmaster-priority2?       uint8
     +--ro switch-ptp-correction-data!
        +--ro ptp-correction-stats* []
           +--ro subordinate-port?   string
           +--ro time?               yang:date-and-time
           +--ro offset
           |  +--ro nano-seconds?              int64
           |  +--ro fractional-nano-seconds?   int16
           +--ro mean-path-delay
              +--ro nano-seconds?              int64
              +--ro fractional-nano-seconds?   int16