Cisco-IOS-XE-ntp-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-ntp-oper

Prefix: ntp_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-ntp-oper

📚 External Documentation

💻 YANG Source📖 YANG Catalog🌐 DevNet Guide
module: Cisco-IOS-XE-ntp-oper
  +--ro ntp-oper-data
     +--ro ntp-status-info!
        +--ro refid
        |  +--ro (refid-pkt-type-choice)?
        |     +--:(ntp-ref-state-resolved-with-ip-addr)
        |     |  +--ro ip-addr?            inet:ip-address
        |     +--:(ntp-ref-state-kod)
        |     |  +--ro kod-data
        |     |     +--ro kod-type?   ntp-ios-xe-oper:kiss-code-type
        |     +--:(ntp-ref-state-resolved-with-clk-source)
        |     |  +--ro ref-clk-src-data
        |     |     +--ro ref-clk-src-type?   ntp-ios-xe-oper:ref-clock-source-type
        |     +--:(ntp-ref-state-bad-state)
        |        +--ro exception-code?     uint32
        +--ro reftime?            yang:date-and-time
        +--ro sys-poll?           uint8
        +--ro stratum?            uint32
        +--ro root-delay?         decimal64
        +--ro root-disp?          decimal64
        +--ro offset?             decimal64
        +--ro ntp-associations* [assoc-id]
        |  +--ro assoc-id                      uint16
        |  +--ro peer-reach?                   uint8
        |  +--ro peer-stratum?                 uint32
        |  +--ro refid
        |  |  +--ro (refid-pkt-type-choice)?
        |  |     +--:(ntp-ref-state-resolved-with-ip-addr)
        |  |     |  +--ro ip-addr?            inet:ip-address
        |  |     +--:(ntp-ref-state-kod)
        |  |     |  +--ro kod-data
        |  |     |     +--ro kod-type?   ntp-ios-xe-oper:kiss-code-type
        |  |     +--:(ntp-ref-state-resolved-with-clk-source)
        |  |     |  +--ro ref-clk-src-data
        |  |     |     +--ro ref-clk-src-type?   ntp-ios-xe-oper:ref-clock-source-type
        |  |     +--:(ntp-ref-state-bad-state)
        |  |        +--ro exception-code?     uint32
        |  +--ro reftime?                      yang:date-and-time
        |  +--ro last-poll-time?               uint64
        |  +--ro poll?                         uint32
        |  +--ro delay?                        decimal64
        |  +--ro offset?                       decimal64
        |  +--ro jitter?                       decimal64
        |  +--ro ntp-address
        |  |  +--ro ip-addr?    inet:ip-address
        |  |  +--ro vrf-name?   string
        |  +--ro num-events?                   uint8
        |  +--ro last-peer-event?              ntp-ios-xe-oper:peer-event
        |  +--ro peer-selection-status?        ntp-ios-xe-oper:peer-select-status
        |  +--ro peer-authentication-status?   ntp-ios-xe-oper:peer-auth-status
        |  +--ro serv-type?                    ntp-ios-xe-oper:server-type
        |  +--ro psw-crypto?                   ntp-ios-xe-oper:peer-status-word
        +--ro freq-drift-ppm?     decimal64