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

Prefix: dhcp_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-dhcp-oper

📚 External Documentation

💻 YANG Source📖 YANG Catalog🌐 DevNet Guide
module: Cisco-IOS-XE-dhcp-oper
  +--ro dhcp-oper-data
     +--ro dhcpv4-server-oper* [pool-name client-ip vrf-name]
     |  +--ro pool-name         string
     |  +--ro client-ip         inet:ip-address
     |  +--ro vrf-name          string
     |  +--ro client-id-type?   dhcp-ios-xe-oper:dhcp-client-id-type
     |  +--ro client-id?        string
     |  +--ro expiration
     |  |  +--ro (expiration-time-choice)?
     |  |     +--:(dhcp-expiration-time)
     |  |     |  +--ro time?       yang:date-and-time
     |  |     +--:(dhcp-expiration-infinite)
     |  |        +--ro infinite?   empty
     |  +--ro type?             dhcp-ios-xe-oper:dhcp-server-binding-type
     |  +--ro state?            dhcp-ios-xe-oper:dhcp-server-binding-state
     |  +--ro interface?        string
     +--ro dhcpv4-client-oper* [if-name client-addr vrf-name]
     |  +--ro if-name                  string
     |  +--ro client-addr              inet:ip-address
     |  +--ro vrf-name                 string
     |  +--ro state?                   dhcp-ios-xe-oper:dhcp-client-state
     |  +--ro lease-server-addr?       inet:ip-address
     |  +--ro gateway-addr?            inet:ip-address
     |  +--ro lease-time?              uint32
     |  +--ro lease-expiry
     |  |  +--ro (expiration-time-choice)?
     |  |     +--:(dhcp-expiration-time)
     |  |     |  +--ro time?       yang:date-and-time
     |  |     +--:(dhcp-expiration-infinite)
     |  |        +--ro infinite?   empty
     |  +--ro lease-remaining?         uint32
     |  +--ro dns-address?             inet:ip-address
     |  +--ro dns-address-secondary?   inet:ip-address
     |  +--ro subnet-mask?             inet:ip-address
     +--ro dhcpv4-pool* [pool-name]
     |  +--ro pool-name            string
     |  +--ro vrf?                 string
     |  +--ro (pool-type-choice)?
     |     +--:(server)
     |     |  +--ro subnet-info
     |     |     +--ro stats
     |     |     |  +--ro total-addresses?      uint32
     |     |     |  +--ro leased-addresses?     uint32
     |     |     |  +--ro excluded-addresses?   uint32
     |     |     |  +--ro first-subnet-size?    uint16
     |     |     |  +--ro next-subnet-size?     uint16
     |     |     |  +--ro high-util-mark?       uint16
     |     |     |  +--ro low-util-mark?        uint16
     |     |     |  +--ro auto-grow?            boolean
     |     |     |  +--ro autogrow-pool-size?   uint16
     |     |     |  +--ro pending-event?        dhcp-ios-xe-oper:dhcpv4-pending-event
     |     |     +--ro ddns-updates?   dhcp-ios-xe-oper:dhcpv4-ddns-updates
     |     |     +--ro subnet-count?   uint32
     |     |     +--ro subnet* []
     |     |        +--ro current-index?        inet:ipv4-address
     |     |        +--ro first-address?        inet:ipv4-address
     |     |        +--ro last-address?         inet:ipv4-address
     |     |        +--ro excluded-addresses?   uint32
     |     |        +--ro leased-addresses?     uint32
     |     |        +--ro total-addresses?      uint32
     |     +--:(relay)
     |        +--ro relay-info
     |           +--ro source* []
     |           |  +--ro address?   inet:ipv4-address
     |           |  +--ro mask?      inet:ipv4-address
     |           +--ro target* []
     |           |  +--ro address?   inet:ipv4-address
     |           |  +--ro vrf?       string
     |           +--ro class-info* []
     |              +--ro class-name?     string
     |              +--ro class-target* []
     |                 +--ro target-address?   inet:ipv4-address
     |                 +--ro target-vrf?       string
     o--ro dhcpv6-binding-vrf-oper* [v6-vrf]
     |  +--ro v6-vrf                string
     |  +--ro client-addr?          inet:ipv6-address
     |  +--ro duid?                 string
     |  +--ro ppp-username?         string
     |  +--ro interface?            string
     |  +--ro iaid?                 uint32
     |  +--ro t1?                   uint32
     |  +--ro t2?                   uint32
     |  +--ro preferred-lifetime?   uint32
     |  +--ro valid-lifetime?       uint32
     |  +--ro expiring-time?        yang:date-and-time
     +--ro dhcpv6-intf-at-relay-oper* [v6-intf-at-relay]
     |  +--ro v6-intf-at-relay       string
     |  +--ro mode?                  dhcp-ios-xe-oper:dhcpv6-interface-mode
     |  +--ro ipv6-dhcp-intf-addr?   inet:ipv6-address
     |  +--ro via-intf?              string
     +--ro dhcpv6-intf-at-srv-oper* [v6-intf-at-srv]
     |  +--ro v6-intf-at-srv     string
     |  +--ro mode?              dhcp-ios-xe-oper:dhcpv6-interface-mode
     |  +--ro poolname?          string
     |  +--ro preference?        uint8
     |  +--ro hint?              uint8
     |  +--ro rapid-commit?      uint8
     |  +--ro pending-aaa-req?   uint8
     |  +--ro prefix?            inet:ipv6-address
     |  +--ro prefix-len?        uint8
     +--ro dhcpv6-intf-at-client-oper* [v6-intf-at-client]
     |  +--ro v6-intf-at-client       string
     |  +--ro mode?                   dhcp-ios-xe-oper:dhcpv6-interface-mode
     |  +--ro prefix-state?           dhcp-ios-xe-oper:dhcpv6-client-state
     |  +--ro address-state?          dhcp-ios-xe-oper:dhcpv6-client-state
     |  +--ro renew-time?             uint32
     |  +--ro refersh-time?           uint32
     |  +--ro retransmission-time?    uint32
     |  +--ro rebind-time?            uint32
     |  +--ro reachable-via-addr?     inet:ipv6-address
     |  +--ro duid?                   string
     |  +--ro preference?             uint8
     |  +--ro dns?                    inet:ipv6-address
     |  +--ro domain?                 string
     |  +--ro sip-dns?                inet:ipv6-address
     |  +--ro sip-domain?             string
     |  +--ro nis-dns?                inet:ipv6-address
     |  +--ro nis-domain?             string
     |  +--ro bootf-url?              string
     |  +--ro nsip-dns?               inet:ipv6-address
     |  +--ro nsip-domain?            string
     |  +--ro sntp-dns?               inet:ipv6-address
     |  +--ro info-refresh-time?      uint32
     |  +--ro vendor-ent-id?          uint32
     |  +--ro prefix-name?            string
     |  +--ro prefix-rapid-commit?    boolean
     |  +--ro address-rapid-commit?   boolean
     |  +--ro prefix?                 inet:ipv6-address
     |  +--ro prefix-len?             uint8
     o--ro dhcpv6-relay-binding-oper* [v6-relay-vrf]
     |  +--ro v6-relay-vrf                string
     |  +--ro num-binding?                uint32
     |  +--ro iapd-binding?               uint32
     |  +--ro iana-binding?               uint32
     |  +--ro binding-bulk-lease-query?   uint32
     |  +--ro addr?                       inet:ipv6-address
     |  +--ro prefix?                     inet:ipv6-address
     |  +--ro prefix-len?                 uint32
     |  +--ro duid?                       string
     |  +--ro iaid?                       uint32
     |  +--ro lifetime?                   uint32
     |  +--ro expiration?                 uint32
     +--ro dhcpv6-bndg-oper* [pool-name link-addr]
     |  +--ro pool-name     string
     |  +--ro link-addr     inet:ipv6-address
     |  +--ro duid*         uint8
     |  +--ro ppp-uname?    string
     |  +--ro if-ingress
     |  |  +--ro (conn-type-choice)?
     |  |     +--:(dhcpv6-conn-direct)
     |  |     |  +--ro name?      string
     |  |     +--:(dhcpv6-conn-relayed)
     |  |        +--ro relayed?   empty
     |  +--ro ni-name?      string
     |  +--ro ni-type?      common-types-ios-xe:net-inst-type
     |  +--ro iana-lst* []
     |  |  +--ro iaid?          uint32
     |  |  +--ro t1
     |  |  |  +--ro (type-choice)?
     |  |  |     +--:(dhcpv6-time-finite)
     |  |  |     |  +--ro sec?        uint32
     |  |  |     +--:(dhcpv6-time-infinite)
     |  |  |        +--ro infinite?   empty
     |  |  +--ro t2
     |  |  |  +--ro (type-choice)?
     |  |  |     +--:(dhcpv6-time-finite)
     |  |  |     |  +--ro sec?        uint32
     |  |  |     +--:(dhcpv6-time-infinite)
     |  |  |        +--ro infinite?   empty
     |  |  +--ro ia-addr-lst* []
     |  |     +--ro addr?          inet:ipv6-address
     |  |     +--ro pref-lftime
     |  |     |  +--ro (type-choice)?
     |  |     |     +--:(dhcpv6-time-finite)
     |  |     |     |  +--ro sec?        uint32
     |  |     |     +--:(dhcpv6-time-infinite)
     |  |     |        +--ro infinite?   empty
     |  |     +--ro vld-lftime
     |  |     |  +--ro (type-choice)?
     |  |     |     +--:(dhcpv6-time-finite)
     |  |     |     |  +--ro sec?        uint32
     |  |     |     +--:(dhcpv6-time-infinite)
     |  |     |        +--ro infinite?   empty
     |  |     +--ro xprtion
     |  |        +--ro (type-choice)?
     |  |           +--:(dhcpv6-time-finite)
     |  |           |  +--ro time?       yang:date-and-time
     |  |           +--:(dhcpv6-time-infinite)
     |  |              +--ro infinite?   empty
     |  +--ro iapd-lst* []
     |     +--ro iaid?         uint32
     |     +--ro t1
     |     |  +--ro (type-choice)?
     |     |     +--:(dhcpv6-time-finite)
     |     |     |  +--ro sec?        uint32
     |     |     +--:(dhcpv6-time-infinite)
     |     |        +--ro infinite?   empty
     |     +--ro t2
     |     |  +--ro (type-choice)?
     |     |     +--:(dhcpv6-time-finite)
     |     |     |  +--ro sec?        uint32
     |     |     +--:(dhcpv6-time-infinite)
     |     |        +--ro infinite?   empty
     |     +--ro ia-pfx-lst* []
     |        +--ro pfx?           inet:ip-prefix
     |        +--ro pref-lftime
     |        |  +--ro (type-choice)?
     |        |     +--:(dhcpv6-time-finite)
     |        |     |  +--ro sec?        uint32
     |        |     +--:(dhcpv6-time-infinite)
     |        |        +--ro infinite?   empty
     |        +--ro vld-lftime
     |        |  +--ro (type-choice)?
     |        |     +--:(dhcpv6-time-finite)
     |        |     |  +--ro sec?        uint32
     |        |     +--:(dhcpv6-time-infinite)
     |        |        +--ro infinite?   empty
     |        +--ro xprtion
     |           +--ro (type-choice)?
     |              +--:(dhcpv6-time-finite)
     |              |  +--ro time?       yang:date-and-time
     |              +--:(dhcpv6-time-infinite)
     |                 +--ro infinite?   empty
     +--ro dhcpv6-relay-binding-stats!
     |  +--ro bndg-cnt?           uint32
     |  +--ro iana-bndg-cnt?      uint32
     |  +--ro iapd-bndg-cnt?      uint32
     |  +--ro bulk-lq-bndg-cnt?   uint32
     +--ro dhcpv6-relay-bndg-oper* [ni-type ni-name pfx route-type]
        +--ro ni-type         common-types-ios-xe:net-inst-type
        +--ro ni-name         string
        +--ro pfx             inet:ip-prefix
        +--ro route-type      dhcp-ios-xe-oper:dhcpv6-relay-route-type
        +--ro iaid?           uint32
        +--ro duid*           uint8
        +--ro vld-lftime
        |  +--ro (type-choice)?
        |     +--:(dhcpv6-time-finite)
        |     |  +--ro sec?        uint32
        |     +--:(dhcpv6-time-infinite)
        |        +--ro infinite?   empty
        +--ro xprtion
        |  +--ro (type-choice)?
        |     +--:(dhcpv6-time-finite)
        |     |  +--ro time?       yang:date-and-time
        |     +--:(dhcpv6-time-infinite)
        |        +--ro infinite?   empty
        +--ro bulk-lq-rcvd?   boolean