This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-dhcpd package operational data. This module contain...
Version: 2020-11-20
module Cisco-IOS-XR-ipv4-dhcpd-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ipv4-dhcpd-oper"; prefix ipv4-dhcpd-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-ipv4-dhcpd-oper-sub2 { revision-date "2020-11-20"; } include Cisco-IOS-XR-ipv4-dhcpd-oper-sub1 { revision-date "2020-11-20"; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR ipv4-dhcpd package operational data. This module contains definitions for the following management objects: dhcp-client: DHCP client operational data ipv4-dhcpd: IPV4 DHCPD operational data Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-11-20" { description "Added Yang Support for ADT,to retrive statistcs with help of vrf/interface. 2020-09-30 Modified to accommodate cdm changes"; } revision "2019-06-25" { description "Introduced an option to show dhcp rate limit hit counters."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-09-20" { description "Fixing yang gaps."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.1.0"; semver:module-version "1.0.1"; container dhcp-client { config false; description "DHCP client operational data"; container nodes { description "DHCP client list of nodes"; list node { key "node-name"; description "DHCP client particular node name"; container client-stats { description "IPv4 DHCP client statistics table"; list client-stat { key "client-ifhandle"; description "DHCP client binding statistics"; leaf client-ifhandle { type xr:Cisco-ios-xr-string; description "Client Ifhandle"; } leaf interface-name { type string { length "0..65"; } description "Dhcp Client interface name"; } leaf num-events-received { type uint32; description "Number of events received"; } leaf num-create-event-received { type uint32; description "Number of create client event received"; } leaf num-delete-event-received { type uint32; description "Number of delete client event received"; } leaf num-reboot-event-received { type uint32; description "Number of client rebooted event received"; } leaf num-reinit-event-received { type uint32; description "Number of reinit client event received"; } leaf num-packet-event-received { type uint32; description "Number of packet event received"; } leaf num-init-timer-eventi { type uint32; description "Number of init timer event"; } leaf num-t1-timer-event { type uint32; description "Number of T1 timer event"; } leaf num-t2-timer-event { type uint32; description "Number of T2 timer event"; } leaf num-lease-timer-event { type uint32; description "Number of Lease timer event"; } leaf num-vbind-timer-event { type uint32; description "Number of vbind timer event"; } leaf num-discovers-sent-successfully { type uint32; description "Number of discovers sent successfully"; } leaf num-requests-sent-successfully { type uint32; description "Number of requests sent successfully"; } leaf num-releases-sent-successfully { type uint32; description "Number of releases sent successfully"; } leaf num-renews-sent-successfully { type uint32; description "Number of renews sent successfully"; } leaf num-rebinds-sent-successfully { type uint32; description "Number of rebinds sent successfully"; } leaf num-declines-sent-successfully { type uint32; description "Number of declines sent successfully"; } leaf num-request-after-reboot-sent { type uint32; description "Number of requests sent after reboot"; } leaf num-valid-offers-received { type uint32; description "Number of valid offers received"; } leaf num-valid-acks-received { type uint32; description "Number of valid acks received"; } leaf num-valid-nacks-received { type uint32; description "Number of valid nacks received"; } leaf num-unicast-packet-sent-successfully { type uint32; description "Number of unicast packet sent successfully"; } leaf num-broadcast-packet-sent-success { type uint32; description "Number of broadcast packet sent successfully"; } leaf num-init-timer-start { type uint32; description "Number of init timer starts"; } leaf num-init-timer-stop { type uint32; description "Number of init timer stops"; } leaf num-t1-timer-start { type uint32; description "Number of T1 timer starts"; } leaf num-t1-timer-stop { type uint32; description "Number of T1 timer stops"; } leaf num-t2-timer-start { type uint32; description "Number of T2 timer starts"; } leaf num-t2-timer-stop { type uint32; description "Number of T2 timer stops"; } leaf num-lease-timer-start { type uint32; description "Number of Lease timer starts"; } leaf num-lease-timer-stop { type uint32; description "Number of Lease timer stops"; } leaf num-vbind-timer-start { type uint32; description "Number of vbind timer starts"; } leaf num-vbind-timer-stop { type uint32; description "Number of vbind timer stops"; } leaf num-invalid-events { type uint32; description "Number of invalid events received"; } leaf num-discovers-failed { type uint32; description "Number of discover send failed"; } leaf num-requests-failed { type uint32; description "Number of request send failed"; } leaf num-releases-failed { type uint32; description "Number of release send failed"; } leaf num-renews-failed { type uint32; description "Number of renew send failed"; } leaf num-rebinds-failed { type uint32; description "Number of rebind send failed"; } leaf num-declines-failed { type uint32; description "Number of decline send failed"; } leaf num-request-after-reboot-failed { type uint32; description "Number of requests sent after reboot failed"; } leaf num-invalid-offers { type uint32; description "Number of invalid offers received"; } leaf num-invalid-acks { type uint32; description "Number of invalid acks received"; } leaf num-invalid-nacks { type uint32; description "Number of invalid nacks received"; } leaf num-invalid-packets { type uint32; description "Number of invalid packets dropped"; } leaf num-unicast-failed { type uint32; description "Number of unicast packet send failed"; } leaf num-broadcast-failed { type uint32; description "Number of broadcast packet send failed"; } leaf num-xid-mismatch { type uint32; description "Number of XID mismatch packets received"; } leaf num-vbind-failed { type uint32; description "Number of socket vbind failed"; } } // list client-stat } // container client-stats container clients { description "IPv4 DHCP client table"; list client { key "client-ifhandle"; description "Single DHCP client binding"; leaf client-ifhandle { type xr:Cisco-ios-xr-string; description "Client Ifhandle"; } leaf interface-name { type string { length "0..65"; } description "Dhcp Client interface name"; } leaf client-mac-address { type string { length "0..17"; } description "Dhcp Client Interface MAC address"; } leaf client-id { type string { length "0..256"; } description "Dhcp Client ID"; } leaf ipv4-client-state { type Dhcpc-ipv4-state; description "Dhcp Client State"; } leaf ipv4-address { type inet:ipv4-address; description "Dhcp Client IP Address"; } leaf ipv4-subnet-mask { type inet:ipv4-address; description "Dhcp Client IP Address mask"; } leaf ipv4-server-address { type inet:ipv4-address; description "Dhcp Client selected server IP Address"; } leaf next-hop-ipv4-address { type inet:ipv4-address; description "Dhcp Client next hop IP Address"; } leaf ipv4-lease-time { type uint32; description "Dhcp Client Lease time"; } leaf ipv4-renew-time { type uint32; description "Dhcp Client Renew time"; } leaf ipv4-rebind-time { type uint32; description "Dhcp Client Rebind time"; } leaf ipv4-address-configured { type boolean; description "Dhcp Client IPV4 address configured in interface"; } } // list client } // container clients leaf node-name { type xr:Node-id; description "Node name"; } } // list node } // container nodes } // container dhcp-client container ipv4-dhcpd { config false; description "IPV4 DHCPD operational data"; container snoop { description "DHCP Snoop operational data"; container bindings { description "DHCP Snoop Bindings"; list binding { key "client-uid"; description "DHCP Snoop binding"; leaf client-uid { type xr:Cisco-ios-xr-string; description "Client opaque handle"; } leaf snoop-binding-ch-addr { type yang:hex-string; description "DHCP client MAC address"; } leaf snoop-binding-ch-addr-len { type uint8; description "DHCP client MAC address length"; } leaf snoop-binding-i-addr { type inet:ipv4-address; description "DHCP iaddr"; } leaf snoop-binding-client-id { type yang:hex-string; description "DHCP client id"; } leaf snoop-binding-client-id-len { type uint8; description "DHCP client id len"; } leaf snoop-binding-state { type uint8; description "DHCP sm state"; } leaf snoop-binding-lease { type uint32; description "DHCP lease time"; } leaf snoop-binding-lease-start-time { type uint32; description "DHCP lease start time"; } leaf snoop-binding-profile-name { type string { length "0..65"; } description "DHCP profile name"; } leaf snoop-bindng-interface-name { type string { length "0..321"; } description "DHCP interface to client"; } leaf snoop-binding-bridge-name { type string { length "0..74"; } description "DHCP L2 bridge name"; } } // list binding } // container bindings container binding-statistics { description "DHCP snoop binding statistics"; leaf snoop-binding-total { type uint32; description "Total number of snoop bindings"; } leaf snoop-binding-timestamp { type uint32; description "Snoop binding timestamp"; } } // container binding-statistics container statistics-info { description "DHCP snoop statistics info"; leaf snoop-stats-timestamp { type uint32; description "Snoop Stats timestamp"; } } // container statistics-info container profiles { description "DHCP Snoop Profile"; list profile { key "profile-name"; description "DHCP Snoop profile"; leaf profile-name { type xr:Cisco-ios-xr-string; description "Profile name"; } leaf snoop-profile-name { type string { length "0..65"; } description "Profile Name"; } leaf snoop-profile-uid { type uint32; description "Profile unique ID"; } leaf snoop-profile-relay-info-option { type uint8; description "Relay info option"; } leaf snoop-profile-relay-info-allow-untrusted { type uint8; description "Allow untrusted relay info"; } leaf snoop-profile-relay-info-policy { type uint8; description "Relay info policy"; } leaf snoop-profile-trusted { type uint8; description "Trust"; } } // list profile } // container profiles container statistics { description "DHCP Snoop Statistics"; list statistic { key "bridge-name"; description "DHCP Snoop bridge domain statistics"; leaf bridge-name { type xr:Cisco-ios-xr-string; description "Bridge domain name"; } leaf snoop-statistics-bridge-name { type string { length "0..74"; } description "DHCP L2 bridge name"; } leaf-list snoop-statistic { type uint64; max-elements 45; description "Public snoop statistics"; } } // list statistic } // container statistics } // container snoop container nodes { description "IPv4 DHCPD operational data for a particular location"; list node { key "nodeid"; description "Location. For eg., 0/1/CPU0"; container proxy { description "IPv4 DHCP proxy operational data"; container statistics-info { description "DHCP proxy stats info"; leaf proxy-stats-timestamp { type uint32; description "Proxy Stats timestamp"; } } // container statistics-info container vrfs { description "DHCP proxy list of VRF names"; list vrf { key "vrf-name"; description "IPv4 DHCP proxy VRF name"; container statistics { description "IPv4 DHCP proxy statistics"; container discover { description "DHCP discover packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container discover container offer { description "DHCP offer packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container offer container request { description "DHCP request packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container request container decline { description "DHCP decline packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container decline container ack { description "DHCP ack packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container ack container nak { description "DHCP nak packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container nak container release { description "DHCP release packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container release container inform { description "DHCP inform packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container inform container lease-query { description "DHCP lease query packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-query container lease-not-assigned { description "DHCP lease not assigned"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-not-assigned container lease-unknown { description "DHCP lease unknown"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-unknown container lease-active { description "DHCP lease active"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-active container bootp-request { description "DHCP BOOTP request"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-request container bootp-reply { description "DHCP BOOTP reply"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-reply } // container statistics leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF name"; } } // list vrf } // container vrfs container profiles { description "IPv4 DHCP proxy profile"; list profile { key "profile-name"; description "IPv4 DHCP proxy profile"; leaf profile-name { type xr:Cisco-ios-xr-string; description "Profile name"; } container vrf-references { description "VRF references"; list ipv4-dhcpd-proxy-vrf-reference { description "ipv4 dhcpd proxy vrf reference"; leaf proxy-reference-vrf-name { type string { length "0..33"; } description "VRF name"; } } // list ipv4-dhcpd-proxy-vrf-reference } // container vrf-references container interface-references { description "Interface references"; list ipv4-dhcpd-proxy-interface-reference { description "ipv4 dhcpd proxy interface reference"; leaf proxy-reference-interface-name { type string { length "0..65"; } description "Interface name"; } } // list ipv4-dhcpd-proxy-interface-reference } // container interface-references leaf is-relay-option-enabled { type boolean; description "Is true if relay option is enabled"; } leaf relay-policy { type Relay-info-policy; description "Relay policy"; } leaf relay-authenticate { type Relay-info-authenticate; description "Relay authenticate"; } leaf is-relay-allow-untrusted-enabled { type boolean; description "Is true if relay untrusted is enabled"; } leaf is-relay-optionvpn-enabled { type boolean; description "Is true if relay VPN enabled"; } leaf relay-optionvpn-enabled-mode { type Relay-info-vpn-mode; description "Relay VPN RFC/Cisco mode"; } leaf is-relay-check { type boolean; description "Is true if relay check enabled"; } leaf is-move-allowed { type boolean; description "Is true if dhcp subscriber is allowed to move"; } leaf proxy-broadcast-flag-policy { type Broadcast-flag; description "Broadcast policy"; } leaf proxy-profile-client-lease-time { type uint32; units "second"; description "Client lease time in seconds"; } leaf proxy-lease-limit-type { type Proxy-lease-limit; description "Lease limit type"; } leaf proxy-lease-limit-count { type uint32; description "Lease limit count"; } leaf-list profile-helper-address { type inet:ipv4-address; max-elements 8; description "Helper addresses"; } leaf-list vrf-name { type String1; max-elements 8; description "VRF names"; } leaf-list gi-addr { type inet:ipv4-address; max-elements 8; description "Gateway addresses"; } } // list profile } // container profiles container statistics { description "DHCP proxy statistics"; list ipv4-dhcpd-proxy-stat { description "ipv4 dhcpd proxy stat"; container statistics { description "Proxy statistics"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container statistics leaf vrf-name { type string { length "0..33"; } description "DHCP L3 VRF name"; } } // list ipv4-dhcpd-proxy-stat } // container statistics container stats { description "IPv4 DHCP proxy stats"; list stat { description "Proxy statistics for vrf/interface"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "L3 VRF Name"; } leaf interface-name { type xr:Cisco-ios-xr-string; description "L3 Interface Name"; } container packet-info { description "Packet information"; container discover { description "DHCP discover packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container discover container offer { description "DHCP offer packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container offer container request { description "DHCP request packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container request container decline { description "DHCP decline packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container decline container ack { description "DHCP ack packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container ack container nak { description "DHCP nak packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container nak container release { description "DHCP release packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container release container inform { description "DHCP inform packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container inform container lease-query { description "DHCP lease query packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-query container lease-not-assigned { description "DHCP lease not assigned"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-not-assigned container lease-unknown { description "DHCP lease unknown"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-unknown container lease-active { description "DHCP lease active"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-active container bootp-request { description "DHCP BOOTP request"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-request container bootp-reply { description "DHCP BOOTP reply"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-reply } // container packet-info leaf vrf-name-xr { type string { length "0..33"; } description "DHCP L3 VRF name"; } leaf interface-name-xr { type string { length "0..65"; } description "DHCP L3 Interface name"; } } // list stat } // container stats container disconnect-histories { description "DHCP proxy disconnect history"; list disconnect-history { key "index"; description "Single DHCP proxy disconnect history"; leaf index { type xr:Cisco-ios-xr-string; description "Index"; } leaf session-start-time-epoch { type uint64; description "session start time epoch"; } leaf session-end-time-epoch { type uint64; description "session end time epoch"; } leaf disc-reason { type string { length "0..256"; } description "DiscReason"; } leaf sub-label { type uint32; description "sub label"; } leaf mac-address { type string { length "0..17"; } description "MACAddress"; } } // list disconnect-history } // container disconnect-histories container binding { description "DHCP proxy bindings"; container clients { description "DHCP proxy client bindings"; list client { key "client-id"; description "Single DHCP proxy binding"; leaf client-id { type xr:Cisco-ios-xr-string; description "Client ID"; } leaf client-id-xr { type string { length "0..1275"; } description "DHCP client identifier"; } leaf mac-address { type string; description "DHCP client MAC address"; } leaf vrf-name { type string { length "0..33"; } description "DHCP client/subscriber VRF name"; } leaf server-vrf-name { type string { length "0..33"; } description "DHCP server VRF name"; } leaf ip-address { type inet:ipv4-address; description "DHCP IP address"; } leaf client-gi-addr { type inet:ipv4-address; description "DHCP client GIADDR"; } leaf to-server-gi-addr { type inet:ipv4-address; description "DHCP to server GIADDR"; } leaf server-ip-address { type inet:ipv4-address; description "DHCP server IP address"; } leaf reply-server-ip-address { type inet:ipv4-address; description "DHCP reply server IP address"; } leaf lease-time { type uint32; units "second"; description "Lease time in seconds"; } leaf remaining-lease-time { type uint32; units "second"; description "Remaining lease time in seconds"; } leaf state { type Bag-dhcpd-proxy-state; description "DHCP client state"; } leaf interface-name { type xr:Interface-name; description "DHCP access interface to client"; } leaf access-vrf-name { type string { length "0..33"; } description "DHCP access interface VRF name"; } leaf proxy-binding-outer-tag { type uint32; description "DHCP VLAN outer VLAN"; } leaf proxy-binding-inner-tag { type uint32; description "DHCP VLAN inner VLAN"; } leaf profile-name { type string { length "0..65"; } description "DHCP profile name"; } leaf selected-profile-name { type string { length "0..65"; } description "DHCP Selected profile name"; } leaf is-nak-next-renew { type boolean; description "Is true if DHCP next renew from client will be NAK'd"; } leaf subscriber-label { type uint32; description "DHCP subscriber label"; } leaf old-subscriber-label { type uint32; description "DHCP old subscriber label"; } leaf subscriber-interface-name { type xr:Interface-name; description "DHCP subscriber interface"; } leaf rx-circuit-id { type string { length "0..768"; } description "DHCP received circuit ID"; } leaf tx-circuit-id { type string { length "0..768"; } description "DHCP transmitted circuit ID"; } leaf rx-remote-id { type string { length "0..768"; } description "DHCP received Remote ID"; } leaf tx-remote-id { type string { length "0..768"; } description "DHCP transmitted Remote ID"; } leaf rx-vsiso { type string { length "0..768"; } description "DHCP received VSISO"; } leaf tx-vsiso { type string { length "0..768"; } description "DHCP transmitted VSISO"; } leaf is-auth-received { type boolean; description "Is true if authentication is on received option82"; } leaf is-mbl-subscriber { type boolean; description "Is true if DHCP subscriber is Mobile"; } leaf param-request { type string { length "0..513"; } description "DHCP parameter request option"; } leaf param-response { type string { length "0..2051"; } description "DHCP saved options"; } leaf session-start-time-epoch { type uint64; description "session start time epoch"; } leaf srg-state { type uint32; description "DHCPV4 SRG state"; } leaf srg-group-id { type uint16; description "srg group id"; } leaf-list event-history { type uint32; max-elements 20; description "event history"; } } // list client } // container clients container summary { description "DHCP proxy binding summary"; leaf clients { type uint32; description "Total number of clients"; } leaf initializing-clients { type uint32; description "Number of clients in init state"; } leaf waiting-for-dpm-init { type uint32; description "Number of clients in Init DPM wait state"; } leaf waiting-for-dpm-request { type uint32; description "Number of clients in Request DPM wait state"; } leaf waiting-for-daps-init { type uint32; description "Number of clients in Init DAPS wait state"; } leaf selecting-clients { type uint32; description "Number of clients in selecting state"; } leaf offer-sent-for-client { type uint32; description "Number of clients in Offer sent state"; } leaf requesting-clients { type uint32; description "Number of clients in requesting state"; } leaf request-waiting-for-dpm { type uint32; description "Number of clients in Waiting for DPM with Request"; } leaf ack-waiting-for-dpm { type uint32; description "Number of clients in Waiting for DPM with ACK"; } leaf bound-clients { type uint32; description "Number of clients in bound state"; } leaf renewing-clients { type uint32; description "Number of clients in renewing state"; } leaf informing-clients { type uint32; description "Number of clients in informing state"; } leaf reauthorizing-clients { type uint32; description "Number of clients in reauth state"; } leaf waiting-for-dpm-disconnect { type uint32; description "Number of clients in waiting for DPM disconnect state"; } leaf waiting-for-dpm-addr-change { type uint32; description "Number of clients in Waiting for DPM after addr change"; } leaf deleting-clients-d { type uint32; description "Number of clients in deleting state"; } leaf disconnected-clients { type uint32; description "Number of clients in disconnected state"; } leaf restarting-clients { type uint32; description "Number of clients in restarting state"; } } // container summary } // container binding } // container proxy container interfaces { description "IPv4 DHCP proxy/server Interface"; list interface { key "interface-name"; description "IPv4 DHCP proxy/server interface info"; leaf interface-name { type xr:Cisco-ios-xr-string; description "Interface Name"; } leaf intf-ifhandle { type uint32; description "Ifhandle of the interface"; } leaf vrf-name { type string { length "0..33"; } description "VRF name"; } leaf intf-mode { type uint32; description "Mode of interface"; } leaf intf-is-ambiguous { type uint32; description "Is interface ambiguous"; } leaf intf-profile-name { type string { length "0..65"; } description "Name of profile attached to the interface"; } leaf intf-lease-limit-type { type uint32; description "Lease limit type on interface"; } leaf intf-lease-limit-count { type uint32; description "Lease limit count on interface"; } leaf srg-role { type Bag-dhcpd-intf-srg-role; description "DHCPv6 Interface SRG role"; } leaf mac-throttle { type boolean; description "Mac Throttle Status"; } } // list interface } // container interfaces container base { description "IPv4 DHCP base operational data"; container statistics { description "DHCP base statistics"; list ipv4-dhcpd-proxy-stat { description "ipv4 dhcpd proxy stat"; container statistics { description "Proxy statistics"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container statistics leaf vrf-name { type string { length "0..33"; } description "DHCP L3 VRF name"; } } // list ipv4-dhcpd-proxy-stat } // container statistics container drops { description "DHCP base drop statistics"; leaf rate-limit-hit { type uint64; description "base Drop statistics"; } } // container drops container issu-status { description "IPv4 DHCP ISSU status"; leaf issu-sync-complete-time { type uint64; units "nanosecond"; description "Timestamp for the ISSU sync complete in nanoseconds since Epoch, i.e. since 00:00:00 UTC , January 1, 1970"; } leaf issu-sync-start-time { type uint64; units "nanosecond"; description "Timestamp for the ISSU sync start in nanoseconds since Epoch, i.e. since 00:00:00 UTC, January 1, 1970"; } leaf issu-ready-time { type uint64; units "nanosecond"; description "Timestamp for the ISSU ready declaration in nanoseconds since Epoch, i.e. since 00:00:00 UTC , January 1, 1970"; } leaf big-bang-time { type uint64; units "nanosecond"; description "Timestamp for the Big Bang notification time in nanoseconds since Epoch, i.e. since 00:00:00 UTC , January 1, 1970"; } leaf primary-role-time { type uint64; units "nanosecond"; description "Timestamp for the change to Primary role notification time in nanoseconds since Epoch, i .e. since 00:00:00 UTC, January 1, 1970"; } leaf role { type Dhcp-issu-role; description "The current role of the DHCP process"; } leaf phase { type Dhcp-issu-phase; description "The current ISSU phase of the DHCP process"; } leaf version { type Dhcp-issu-version; description "The current version of the DHCP process in the context of an ISSU"; } leaf issu-ready-issu-mgr-connection { type boolean; description "Whether or not DHCP is currently connected to ISSU Manager during the ISSU Load Phase"; } leaf issu-ready-entries-replicate { type boolean; description "Whether or not DHCP has received all replicated entries during the ISSU Load Phase"; } } // container issu-status container vrfs { description "DHCP base list of VRF names"; list vrf { key "vrf-name"; description "IPv4 DHCP base VRF name"; container statistics { description "IPv4 DHCP base statistics"; container discover { description "DHCP discover packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container discover container offer { description "DHCP offer packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container offer container request { description "DHCP request packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container request container decline { description "DHCP decline packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container decline container ack { description "DHCP ack packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container ack container nak { description "DHCP nak packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container nak container release { description "DHCP release packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container release container inform { description "DHCP inform packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container inform container lease-query { description "DHCP lease query packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-query container lease-not-assigned { description "DHCP lease not assigned"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-not-assigned container lease-unknown { description "DHCP lease unknown"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-unknown container lease-active { description "DHCP lease active"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-active container bootp-request { description "DHCP BOOTP request"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-request container bootp-reply { description "DHCP BOOTP reply"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-reply } // container statistics leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF name"; } } // list vrf } // container vrfs container profiles { description "IPv4 DHCP Base profile"; list profile { key "profile-name"; description "IPv4 DHCP base profile"; leaf profile-name { type xr:Cisco-ios-xr-string; description "Profile name"; } container interface-references { description "Interface references"; list ipv4-dhcpd-base-interface-reference { description "ipv4 dhcpd base interface reference"; leaf base-reference-interface-name { type string { length "0..65"; } description "Interface name"; } } // list ipv4-dhcpd-base-interface-reference } // container interface-references container child-profile-info { description "child profile info"; list ipv4-dhcpd-base-child-profile-info { description "ipv4 dhcpd base child profile info"; leaf base-child-profile-name { type string { length "0..65"; } description "Base Child Profile name"; } leaf mode { type uint8; description "Profile mode"; } leaf matched-option-code { type uint8; description "Matched option code"; } leaf matched-option-len { type uint8; description "Matched option len"; } leaf option-data { type yang:hex-string; description "Matched option data"; } } // list ipv4-dhcpd-base-child-profile-info } // container child-profile-info leaf base-default-profile-name { type string { length "0..65"; } description "Base Default Profile name"; } leaf default-profile-mode { type uint8; description "Default Profile mode"; } leaf relay-authenticate { type Relay-info-authenticate; description "Relay authenticate"; } leaf remote-id { type string { length "0..768"; } description "DHCP configured Remote ID"; } leaf child-profile-count { type uint8; description "Child profile count"; } leaf intf-ref-count { type uint8; description "Interface reference count"; } } // list profile } // container profiles container database { description "IPv4 DHCP database"; leaf configured { type boolean; description "Database feature configured"; } leaf version { type uint32; description "Current file version"; } leaf full-file-write-interval { type uint32; units "minute"; description "Full file write interval in minutes"; } leaf last-full-write-file-name { type string { length "0..64"; } description "Last full write file name"; } leaf last-full-write-time { type uint32; description "Last full write time since epoch"; } leaf full-file-write-count { type uint32; description "Full file write count"; } leaf failed-full-file-write-count { type uint32; description "Failed full file write count"; } leaf full-file-record-count { type uint32; description "Full file record count"; } leaf last-full-file-write-error-timestamp { type uint32; description "Last full file write error timestamp since epoch"; } leaf incremental-file-write-interval { type uint32; units "minute"; description "Incremental file write interval in minutes"; } leaf last-incremental-write-file-name { type string { length "0..64"; } description "Last incremental write file name"; } leaf last-incremental-write-time { type uint32; description "Last incremental write time since epoch"; } leaf incremental-file-write-count { type uint32; description "Incremental file write count"; } leaf failed-incremental-file-write-count { type uint32; description "Failed incremental file write count"; } leaf incremental-file-record-count { type uint32; description "Incremental file record count"; } leaf last-incremental-file-write-error-timestamp { type uint32; description "Last incremental file write error timestamp since epoch"; } } // container database container stats { description "IPv4 DHCP base stats"; list stat { description "Base statistics for vrf/interface"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "L3 VRF Name"; } leaf interface-name { type xr:Cisco-ios-xr-string; description "L3 Interface Name"; } container packet-info { description "Packet information"; container discover { description "DHCP discover packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container discover container offer { description "DHCP offer packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container offer container request { description "DHCP request packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container request container decline { description "DHCP decline packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container decline container ack { description "DHCP ack packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container ack container nak { description "DHCP nak packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container nak container release { description "DHCP release packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container release container inform { description "DHCP inform packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container inform container lease-query { description "DHCP lease query packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-query container lease-not-assigned { description "DHCP lease not assigned"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-not-assigned container lease-unknown { description "DHCP lease unknown"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-unknown container lease-active { description "DHCP lease active"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-active container bootp-request { description "DHCP BOOTP request"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-request container bootp-reply { description "DHCP BOOTP reply"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-reply } // container packet-info leaf vrf-name-xr { type string { length "0..33"; } description "DHCP L3 VRF name"; } leaf interface-name-xr { type string { length "0..65"; } description "DHCP L3 Interface name"; } } // list stat } // container stats } // container base container server { description "IPv4 DHCP Server operational data"; container profiles { description "IPv4 DHCP Server profile"; list profile { key "server-profile-name"; description "IPv4 DHCP server profile"; leaf server-profile-name { type xr:Cisco-ios-xr-string; description "Profile name"; } leaf server-profile-name-xr { type string { length "0..65"; } description "Profile Name"; } leaf secure-arp { type boolean; description "Secure ARP"; } leaf requested-address-check { type boolean; description "Requested Address Check"; } leaf server-id-check { type boolean; description "Server ID Check"; } leaf duplicate-mac-address-check { type boolean; description "Duplicate MAC Address Check"; } leaf duplicate-ip-address-check { type boolean; description "Duplicate IP Address Check"; } leaf is-move-allowed { type boolean; description "Is true if dhcp subscriber is allowed to move"; } leaf bcast-policy { type uint8; description "Bcast Policy"; } leaf giaddr-policy { type uint8; description "Giaddr Policy"; } leaf subnet-mask { type inet:ipv4-address; description "Subnet Mask"; } leaf server-pool-name { type string { length "0..65"; } description "Pool Name"; } leaf server-profile-lease { type uint32; description "Lease"; } leaf server-profile-netbios-node-type { type uint8; description "Server netbios node type"; } leaf server-bootfile-name { type string { length "0..256"; } description "Server Bootfile name"; } leaf server-domain-name { type string { length "0..256"; } description "Server Domain name"; } leaf server-profileiedge-check { type uint8; description "Server iEdge Check"; } leaf server-profile-server-dns-count { type uint8; description "Server DNS Count"; } leaf server-profiledefault-router-count { type uint8; description "Server default count "; } leaf server-profile-netbios-name-svr-count { type uint8; description "Server netbios svr count "; } leaf server-profile-time-svr-count { type uint8; description "Server time svr count "; } leaf lease-limit-type { type uint8; description "Lease Limit Type"; } leaf lease-limit-count { type uint32; description "Lease Limit Count"; } leaf-list server-profile-dns { type inet:ipv4-address; max-elements 9; description "Server DNS addresses"; } leaf-list server-profile-default-router { type inet:ipv4-address; max-elements 9; description "Server default addresses"; } leaf-list server-profile-netbious-name-server { type inet:ipv4-address; max-elements 9; description "Server netbios addresses"; } leaf-list server-profile-time-server { type inet:ipv4-address; max-elements 9; description "Server Time addresses"; } } // list profile } // container profiles container statistics { description "DHCP Server statistics"; list ipv4-dhcpd-proxy-stat { description "ipv4 dhcpd proxy stat"; container statistics { description "Proxy statistics"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container statistics leaf vrf-name { type string { length "0..33"; } description "DHCP L3 VRF name"; } } // list ipv4-dhcpd-proxy-stat } // container statistics container stats { description "IPv4 DHCP server stats"; list stat { description "Server statistics for vrf/interface"; leaf vrf-name { type xr:Cisco-ios-xr-string; description "L3 VRF Name"; } leaf interface-name { type xr:Cisco-ios-xr-string; description "L3 Interface Name"; } container packet-info { description "Packet information"; container discover { description "DHCP discover packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container discover container offer { description "DHCP offer packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container offer container request { description "DHCP request packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container request container decline { description "DHCP decline packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container decline container ack { description "DHCP ack packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container ack container nak { description "DHCP nak packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container nak container release { description "DHCP release packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container release container inform { description "DHCP inform packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container inform container lease-query { description "DHCP lease query packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-query container lease-not-assigned { description "DHCP lease not assigned"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-not-assigned container lease-unknown { description "DHCP lease unknown"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-unknown container lease-active { description "DHCP lease active"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-active container bootp-request { description "DHCP BOOTP request"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-request container bootp-reply { description "DHCP BOOTP reply"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-reply } // container packet-info leaf vrf-name-xr { type string { length "0..33"; } description "DHCP L3 VRF name"; } leaf interface-name-xr { type string { length "0..65"; } description "DHCP L3 Interface name"; } } // list stat } // container stats container binding { description "DHCP server bindings"; container summary { description "DHCP server binding summary"; leaf clients { type uint32; description "Total number of clients"; } leaf initializing-clients { type uint32; description "Number of clients in init state"; } leaf waiting-for-dpm-init { type uint32; description "Number of clients in Init DPM wait state"; } leaf waiting-for-dpm-request { type uint32; description "Number of clients in Request DPM wait state"; } leaf waiting-for-daps-init { type uint32; description "Number of clients in Init DAPS wait state"; } leaf selecting-clients { type uint32; description "Number of clients in selecting state"; } leaf offer-sent-for-client { type uint32; description "Number of clients in Offer sent state"; } leaf requesting-clients { type uint32; description "Number of clients in requesting state"; } leaf request-waiting-for-dpm { type uint32; description "Number of clients in Waiting for DPM with Request"; } leaf ack-waiting-for-dpm { type uint32; description "Number of clients in Waiting for DPM with ACK"; } leaf bound-clients { type uint32; description "Number of clients in bound state"; } leaf renewing-clients { type uint32; description "Number of clients in renewing state"; } leaf informing-clients { type uint32; description "Number of clients in informing state"; } leaf reauthorizing-clients { type uint32; description "Number of clients in reauth state"; } leaf waiting-for-dpm-disconnect { type uint32; description "Number of clients in waiting for DPM disconnect state"; } leaf waiting-for-dpm-addr-change { type uint32; description "Number of clients in Waiting for DPM after addr change"; } leaf deleting-clients-d { type uint32; description "Number of clients in deleting state"; } leaf disconnected-clients { type uint32; description "Number of clients in disconnected state"; } leaf restarting-clients { type uint32; description "Number of clients in restarting state"; } } // container summary container clients { description "DHCP server client bindings"; list client { key "client-id"; description "Single DHCP Server binding"; leaf client-id { type xr:Cisco-ios-xr-string; description "Client ID"; } leaf client-id-xr { type string { length "0..1275"; } description "DHCP client identifier"; } leaf mac-address { type string; description "DHCP client MAC address"; } leaf vrf-name { type string { length "0..33"; } description "DHCP client/subscriber VRF name"; } leaf server-vrf-name { type string { length "0..33"; } description "DHCP server VRF name"; } leaf ip-address { type inet:ipv4-address; description "DHCP IP address"; } leaf client-gi-addr { type inet:ipv4-address; description "DHCP client GIADDR"; } leaf to-server-gi-addr { type inet:ipv4-address; description "DHCP to server GIADDR"; } leaf server-ip-address { type inet:ipv4-address; description "DHCP server IP address"; } leaf reply-server-ip-address { type inet:ipv4-address; description "DHCP reply server IP address"; } leaf lease-time { type uint32; units "second"; description "Lease time in seconds"; } leaf remaining-lease-time { type uint32; units "second"; description "Remaining lease time in seconds"; } leaf state { type Bag-dhcpd-proxy-state; description "DHCP client state"; } leaf interface-name { type xr:Interface-name; description "DHCP access interface to client"; } leaf access-vrf-name { type string { length "0..33"; } description "DHCP access interface VRF name"; } leaf proxy-binding-outer-tag { type uint32; description "DHCP VLAN outer VLAN"; } leaf proxy-binding-inner-tag { type uint32; description "DHCP VLAN inner VLAN"; } leaf profile-name { type string { length "0..65"; } description "DHCP profile name"; } leaf selected-profile-name { type string { length "0..65"; } description "DHCP Selected profile name"; } leaf is-nak-next-renew { type boolean; description "Is true if DHCP next renew from client will be NAK'd"; } leaf subscriber-label { type uint32; description "DHCP subscriber label"; } leaf old-subscriber-label { type uint32; description "DHCP old subscriber label"; } leaf subscriber-interface-name { type xr:Interface-name; description "DHCP subscriber interface"; } leaf rx-circuit-id { type string { length "0..768"; } description "DHCP received circuit ID"; } leaf tx-circuit-id { type string { length "0..768"; } description "DHCP transmitted circuit ID"; } leaf rx-remote-id { type string { length "0..768"; } description "DHCP received Remote ID"; } leaf tx-remote-id { type string { length "0..768"; } description "DHCP transmitted Remote ID"; } leaf rx-vsiso { type string { length "0..768"; } description "DHCP received VSISO"; } leaf tx-vsiso { type string { length "0..768"; } description "DHCP transmitted VSISO"; } leaf is-auth-received { type boolean; description "Is true if authentication is on received option82"; } leaf is-mbl-subscriber { type boolean; description "Is true if DHCP subscriber is Mobile"; } leaf param-request { type string { length "0..513"; } description "DHCP parameter request option"; } leaf param-response { type string { length "0..2051"; } description "DHCP saved options"; } leaf session-start-time-epoch { type uint64; description "session start time epoch"; } leaf srg-state { type uint32; description "DHCPV4 SRG state"; } leaf srg-group-id { type uint16; description "srg group id"; } leaf-list event-history { type uint32; max-elements 20; description "event history"; } } // list client } // container clients } // container binding container disconnect-histories { description "DHCP server disconnect history"; list disconnect-history { key "index"; description "Single DHCP server disconnect history"; leaf index { type xr:Cisco-ios-xr-string; description "Index"; } leaf session-start-time-epoch { type uint64; description "session start time epoch"; } leaf session-end-time-epoch { type uint64; description "session end time epoch"; } leaf disc-reason { type string { length "0..256"; } description "DiscReason"; } leaf sub-label { type uint32; description "sub label"; } leaf mac-address { type string { length "0..17"; } description "MACAddress"; } } // list disconnect-history } // container disconnect-histories container statistics-info { description "DHCP proxy stats info"; leaf proxy-stats-timestamp { type uint32; description "Proxy Stats timestamp"; } } // container statistics-info container vrfs { description "DHCP Server list of VRF names"; list vrf { key "vrf-name"; description "IPv4 DHCP server VRF name"; container statistics { description "IPv4 DHCP server statistics"; container discover { description "DHCP discover packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container discover container offer { description "DHCP offer packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container offer container request { description "DHCP request packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container request container decline { description "DHCP decline packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container decline container ack { description "DHCP ack packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container ack container nak { description "DHCP nak packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container nak container release { description "DHCP release packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container release container inform { description "DHCP inform packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container inform container lease-query { description "DHCP lease query packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-query container lease-not-assigned { description "DHCP lease not assigned"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-not-assigned container lease-unknown { description "DHCP lease unknown"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-unknown container lease-active { description "DHCP lease active"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-active container bootp-request { description "DHCP BOOTP request"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-request container bootp-reply { description "DHCP BOOTP reply"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-reply } // container statistics leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF name"; } } // list vrf } // container vrfs } // container server container relay { description "IPv4 DHCPD Relay operational data"; container profiles { description "DHCP Relay Profiles"; list profile { key "profile-name"; description "DHCP Relay profile"; leaf profile-name { type xr:Cisco-ios-xr-string; description "Profile name"; } leaf relay-profile-name { type string { length "0..65"; } description "Profile Name"; } leaf relay-profile-uid { type uint32; description "Profile UID"; } leaf relay-profile-helper-count { type uint8; description "Helper address count"; } leaf relay-profile-relay-info-option { type uint8; description "Relay info option"; } leaf relay-profile-relay-info-policy { type uint8; description "Relay info policy"; } leaf relay-profile-relay-info-allow-untrusted { type uint8; description "Relay info untrusted"; } leaf relay-profile-relay-info-optionvpn { type uint8; description "Relay info option vpn"; } leaf relay-profile-relay-info-optionvpn-mode { type Relay-info-vpn-mode; description "Relay info option vpn-mode"; } leaf relay-profile-relay-info-check { type uint8; description "Relay info check"; } leaf relay-profile-gi-addr-policy { type uint8; description "GIADDR policy"; } leaf relay-profile-broadcast-flag-policy { type uint8; description "Broadcast policy"; } leaf relay-profile-mac-mismatch-action { type uint8; description "Mac Mismatch Action"; } leaf-list relay-profile-helper-address { type inet:ipv4-address; max-elements 32; description "Helper addresses"; } leaf-list relay-profile-helper-vrf { type Vrf-string; max-elements 32; description "Helper address vrfs"; } leaf-list relay-profile-gi-addr { type inet:ipv4-address; max-elements 32; description "Gateway addresses"; } } // list profile } // container profiles container statistics-info { description "DHCP relay statistics info"; leaf relay-stats-timestamp { type uint32; description "Relay Stats timestamp"; } } // container statistics-info container statistics { description "DHCP Relay VRF statistics"; list ipv4-dhcpd-relay-stat { description "ipv4 dhcpd relay stat"; container statistics { description "Public relay statistics"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container statistics leaf relay-statistics-vrf-name { type string { length "0..33"; } description "DHCP L3 VRF Name"; } } // list ipv4-dhcpd-relay-stat } // container statistics container vrfs { description "DHCP relay list of VRF names"; list vrf { key "vrf-name"; description "IPv4 DHCP relay VRF name"; container vrf-statistics { description "IPv4 DHCP relay statistics"; container discover { description "DHCP discover packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container discover container offer { description "DHCP offer packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container offer container request { description "DHCP request packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container request container decline { description "DHCP decline packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container decline container ack { description "DHCP ack packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container ack container nak { description "DHCP nak packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container nak container release { description "DHCP release packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container release container inform { description "DHCP inform packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container inform container lease-query { description "DHCP lease query packets"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-query container lease-not-assigned { description "DHCP lease not assigned"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-not-assigned container lease-unknown { description "DHCP lease unknown"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-unknown container lease-active { description "DHCP lease active"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container lease-active container bootp-request { description "DHCP BOOTP request"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-request container bootp-reply { description "DHCP BOOTP reply"; leaf received-packets { type uint64; description "Received packets"; } leaf transmitted-packets { type uint64; description "Transmitted packets"; } leaf dropped-packets { type uint64; description "Dropped packets"; } } // container bootp-reply } // container vrf-statistics leaf vrf-name { type xr:Cisco-ios-xr-string; description "VRF name"; } } // list vrf } // container vrfs } // container relay leaf nodeid { type xr:Node-id; description "The node id to filter on. For eg., 0/1/CPU0"; } } // list node } // container nodes } // container ipv4-dhcpd } // module Cisco-IOS-XR-ipv4-dhcpd-oper
© 2024 YumaWorks, Inc. All rights reserved.