This submodule contains a collection of YANG definitions for Cisco IOS-XR snmp-agent package operational data. Copyright (c) 20...
Version: 2020-09-15
submodule Cisco-IOS-XR-snmp-agent-oper-sub3 { yang-version 1; belongs-to Cisco-IOS-XR-snmp-agent-oper { prefix Cisco-IOS-XR-snmp-agent-oper; } import cisco-semver { prefix semver; } 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 submodule contains a collection of YANG definitions for Cisco IOS-XR snmp-agent package operational data. Copyright (c) 2013-2020 by Cisco Systems, Inc. All rights reserved."; revision "2020-09-15" { description "Updated oper path for show snmp traps details"; } revision "2020-03-31" { description "Fixing backward compatibility error in module."; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-07-20" { description "Fixed English plural name transformation error."; } revision "2017-09-07" { description "Fixed type translation error."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2016-06-01" { description "IOS XR 6.0.1 revision."; } revision "2015-01-07" { description "IOS XR 5.3.1 revision."; } semver:module-version "2.0.0"; semver:module-version "1.1.0"; semver:module-version "1.0.1"; typedef Dup-req-drop-status { type enumeration { enum "disabled" { value 0; description "Disabled"; } enum "enabled" { value 1; description "Enabled"; } } description "Dup req drop status"; } grouping SNMP-TRAPQUE { description "SNMP Trap queue statistics"; leaf trap-min { type uint32; description "trap min"; } leaf trap-avg { type uint32; description "trap avg"; } leaf trap-max { type uint32; description "trap max"; } list trap-q { max-elements 300; description "trap q"; uses SNMP-QUEUE; } // list trap-q } // grouping SNMP-TRAPQUE grouping SNMP-SYSOBJID { description "SNMP sysObjID"; leaf sys-obj-id { type string; description "sysObjID 1.3.6.1.2.1.1.2"; } } // grouping SNMP-SYSOBJID grouping SNMP-SYSDESCR { description "SNMP sysDescr"; leaf sys-descr { type string; description "sysDescr 1.3.6.1.2.1.1.1"; } } // grouping SNMP-SYSDESCR grouping SNMP-UDP-STATS-INFO { description "SNMP udp_statistics"; leaf in-event { type uint32; description "Event"; } leaf in-buferr { type uint32; description "Buffer Error"; } leaf in-node { type uint32; description "No Data"; } leaf in-recverr { type uint32; description "Receive Error"; } leaf in-badarg { type uint32; description "Invalid Argument"; } leaf in-pkt { type uint32; description "Packet"; } leaf inm-badarg { type uint32; description "Invalid Argument"; } leaf inm-pac-conn { type uint32; description "Packet connection error"; } leaf inm-pak-nodata { type uint32; description "Packet no data"; } leaf inm-pak-recerr { type uint32; description "Packet receive error"; } leaf inm-pak-null { type uint32; description "Packet Null"; } leaf inm-pak-vrfid { type uint32; description "Packet VRF error"; } leaf inm-pak-tblid { type uint32; description "Packet table error"; } leaf inm-pak-ifinput { type uint32; description "Packet ifinput error"; } leaf inm-pak-offnet { type uint32; description "Packet network Offset error"; } leaf inm-pak-readnet { type uint32; description "Packet network read error"; } leaf inm-pak-offtrans { type uint32; description "Packet transport offset error"; } leaf inm-pak-readtrans { type uint32; description "Packet read transport error "; } leaf inm-pak-offapp { type uint32; description "Packet application offset error"; } leaf inm-pak-readapp { type uint32; description "Packet application read error"; } leaf inm-pak-trunc { type uint32; description "Packet Truncated"; } leaf out-toobig { type uint32; description "Too Big"; } leaf out-pkt { type uint32; description "Packet"; } leaf out-senderr { type uint32; description "Send Error"; } leaf outm-badarg { type uint32; description "Invalid argument"; } leaf outm-pak-buf { type uint32; description "Packet Buffer Error"; } leaf outm-pak-vrfid { type uint32; description "Packet VRF Error"; } leaf outm-pak-tblid { type uint32; description "Packet table error"; } leaf outm-pak-write { type uint32; description "Packet write error"; } leaf outm-pak-trunc { type uint32; description "Packet connection Error"; } leaf outm-pak-conn { type uint32; description "Packet Send Error"; } } // grouping SNMP-UDP-STATS-INFO grouping SNMP-PDU-DROP-STATS { description "SNMP Agent Req PDU Drop Stats"; leaf nms-address { type string; description "NMS address of server"; } leaf incoming-q-count { type uint32; description "Drop Count at Incoming Q"; } leaf threshold-incoming-q-count { type uint32; description "Drop Count at Incoming Q after threshold limit"; } leaf encode-count { type uint32; description "Drop Count with Encode errors"; } leaf duplicate-count { type uint32; description "Duplicate request drop count"; } leaf stack-count { type uint32; description "Drop Count at snmp Stack"; } leaf aipc-count { type uint32; description "drop count with AIPC Buffer Full"; } leaf overload-count { type uint32; description "Drop Count with overload notification"; } leaf timeout-count { type uint32; description "Drop count with timeout"; } leaf internal-count { type uint32; description " drop with Internal Errors"; } } // grouping SNMP-PDU-DROP-STATS grouping SNMP-PDU-STATS { description "SNMP PDU STATS"; leaf nms { type string; description " NMS address Rx PDU"; } leaf request-id { type uint32; description " SNMP request id per PDU"; } leaf port-xr { type uint16; description "NMS port number"; } leaf pdu-type { type uint16; description " PDU type"; } leaf error-status { type uint16; description "Is reques dropped due to error"; } leaf serial-num { type uint32; description "Serial number per PDU processing"; } leaf input-q { type string; description "Request inserted into input queue"; } leaf output-q { type uint32; description "De-queue the request from the input queue"; } leaf pending-q { type uint32; description "Enqueue the request into pending queue"; } leaf response-out { type uint32; description "Response sent"; } } // grouping SNMP-PDU-STATS grouping SNMP-MIB-INFO { description "SNMP MIB Information"; leaf mib-name { type string; description "Name of the MIB module"; } leaf dll-name { type string; description "MIB DLL filename, non-DLL MIBs will have no value"; } leaf mib-config-filename { type string; description "MIB config filename, non-DLL MIBs will have no value"; } leaf is-mib-loaded { type boolean; description "TRUE if MIB DLL is currently loaded, will always be TRUE for non-DLL MIBs"; } leaf dll-capabilities { type uint32; description "DLL capabilities"; } leaf trap-strings { type string; description "List of trapstring configured"; } leaf timeout { type boolean; description "TRUE is mib is in phase 1 timeout"; } leaf load-time { type uint32; description "Load time"; } } // grouping SNMP-MIB-INFO grouping SNMP-TRAPS-COUNT { description "SNMP TRAPS COUNT"; leaf trap-oid-count { type uint32; description "Total number of OID's sent"; } leaf trap-oid-xr { type string; description "TRAP OID"; } } // grouping SNMP-TRAPS-COUNT grouping SNMP-CTX-MAPPING-ENTRY-XML { description "SNMP context mapping entry xml"; leaf context { type string; description "Context name"; } leaf feature-name { type string; description "Feature name"; } leaf instance { type string; description "Instance name"; } leaf topology { type string; description "Topology name"; } leaf feature { type string; description "Feature"; } } // grouping SNMP-CTX-MAPPING-ENTRY-XML grouping SNMP-CTX-MAPPING-XML { description "SNMP context mapping"; list contex-mapping { description "Context Mapping"; uses SNMP-CTX-MAPPING-ENTRY-XML; } // list contex-mapping } // grouping SNMP-CTX-MAPPING-XML grouping SNMP-INQ-DETAIL { description "SNMP Address Information"; leaf address-of-queue { type string; description "Address of NMS Q"; } leaf request-count { type uint32; description "Request Count of Each Queue."; } leaf processed-request-count { type uint32; description "Processed request Count."; } leaf last-access-time { type string; description "Last Access time of Each Queue."; } leaf priority { type uint8; description "Priority of Each Queue."; } } // grouping SNMP-INQ-DETAIL grouping SNMP-INCOMING-Q-STATS-ENTRY { description "SNMP IncomingQ Stats Entry"; leaf queue-count { type uint32; description "Number of NMS Queues Exist."; } list inq-entry { max-elements 16; description "Each Entry Details."; uses SNMP-INQ-DETAIL; } // list inq-entry } // grouping SNMP-INCOMING-Q-STATS-ENTRY grouping SNMP-STATS { description "SNMP statistics"; leaf packets-received { type uint32; description "snmpInPkts"; } leaf bad-versions-received { type uint32; description "snmpInBadVersions"; } leaf bad-community-names-received { type uint32; description "snmpInBadCommunityNames"; } leaf bad-community-uses-received { type uint32; description "snmpInBadCommunityUses"; } leaf asn-parse-errors-received { type uint32; description "snmpInASNParseErrs"; } leaf silent-drop-count { type uint32; description "snmpSilentDrops"; } leaf proxy-drop-count { type uint32; description "snmpProxyDrops"; } leaf too-big-packet-received { type uint32; description "snmpInTooBigs"; } leaf max-packet-size { type uint32; description "snmp maximum packet size"; } leaf no-such-names-received { type uint32; description "snmpInNoSuchNames"; } leaf bad-values-received { type uint32; description "snmpInBadValues"; } leaf read-only-received { type uint32; description "snmpInReadOnlys"; } leaf total-general-errors { type uint32; description "snmpInGenErrs"; } leaf total-requested-variables { type uint32; description "snmpInTotalReqVars"; } leaf total-set-variables-received { type uint32; description "snmpInTotalSetVars"; } leaf get-requests-received { type uint32; description "snmpInGetRequests"; } leaf get-next-requests-received { type uint32; description "snmpInGetNexts"; } leaf set-requests-received { type uint32; description "snmpInSetRequests"; } leaf get-responses-received { type uint32; description "snmpInGetResponses"; } leaf traps-received { type uint32; description "snmpInTraps"; } leaf total-packets-sent { type uint32; description "snmpOutPkts"; } leaf too-big-packets-sent { type uint32; description "snmpOutTooBigs"; } leaf no-such-names-sent { type uint32; description "snmpOutNoSuchNames"; } leaf bad-values-sent { type uint32; description "snmpOutBadValues"; } leaf general-errors-sent { type uint32; description "snmpOutGenErrs"; } leaf get-requests-sent { type uint32; description "snmpOutGetRequests"; } leaf get-next-request-sent { type uint32; description "snmpOutGetNexts"; } leaf set-requests-sent { type uint32; description "snmpOutSetRequests"; } leaf get-responses-sent { type uint32; description "snmpOutGetResponses"; } leaf traps-sent { type uint32; description "snmpOutTraps"; } } // grouping SNMP-STATS grouping SNMP-TRAP-OID-INFO { description "SNMP TRAP OID INFO"; leaf trap-oid { type string; description "TRAP OID"; } leaf count { type uint32; description "Number of traps sent"; } leaf drop-count { type uint32; description "Number of Traps Dropped at InternalQ"; } leaf drop-host-count { type uint32; description "Number of Traps Dropped at HostQ"; } leaf drop-delay-timer { type uint32; description "Number of Traps Dropped due to trap delay timer expiry"; } leaf retry-count { type uint32; description "Num of times retry"; } leaf lastsent-time { type string; description "Timestamp of latest successfully sent"; } leaf lastdrop-time { type string; description "Timestamp of latest dropped"; } leaf last-hostdrop-time { type string; description "Timestamp of latest dropped at host"; } leaf last-host-delay-time { type string; description "Timestamp of latest dropped due to delay timer expiry"; } } // grouping SNMP-TRAP-OID-INFO grouping SNMP-TRAPS-INFO { description "SNMP TRAPS INFO"; leaf host { type string; description "NMS/Host address"; } leaf port-xr { type uint16; description "udp port number"; } leaf vrf-name { type string; description "vrf name"; } leaf time { type uint32; description "Trap delay time Left"; } leaf trap-oid-count { type uint32; description "Total number of OID's sent"; } list trap-oi-dinfo { description "Per trap OID statistics"; uses SNMP-TRAP-OID-INFO; } // list trap-oi-dinfo } // grouping SNMP-TRAPS-INFO grouping SNMP-BULKSTATS-B { description "SNMP Bulkstats transfer Information"; leaf transfer-name-xr { type string; description "Name of the bulkstats transfer session"; } leaf url-primary { type string; description "Bulkstats transfer primary URL"; } leaf url-secondary { type string; description "Bulkstats transfer secondary URL"; } leaf retained-file { type string; description "Bulkstats transfer retained file name"; } leaf time-left { type uint32; units "second"; description "Bulkstats transfer retry time left in seconds"; } leaf retry-left { type uint32; description "Bulkstats transfer retry attempt left"; } } // grouping SNMP-BULKSTATS-B grouping SNMP-STATISTICS { description "SNMP Statistics extension"; leaf duplicate-request-status { type Dup-req-drop-status; description "Duplicate requests drop feature status."; } leaf last-status-change-time { type string; description "Duplicate request drop feature last enable disable time (Day Mon Date HH:MM:SS)"; } leaf duplicate-drop-configured-timeout { type uint32; description "Configured Duplicate Drop feature Timeout."; } leaf duplicate-dropped-requests { type uint32; description "Number of duplicate SNMP requests are dropped."; } leaf retry-processed-requests { type uint32; description "Number of Retry SNMP requests are Processed."; } leaf first-enable-time { type string; description "Duplicate request drop feature first enable time (Day Mon Date HH:MM:SS)"; } leaf latest-duplicate-dropped-requests { type uint32; description "Number of duplicate SNMP requests dropped, from the last enable time."; } leaf latest-retry-processed-requests { type uint32; description "Number of retry SNMP requests processed, from the last enable time."; } leaf duplicate-request-latest-enable-time { type string; description "Duplicate request drop feature last enable time(Day Mon Date HH:MM:SS)"; } leaf duplicate-drop-enable-count { type uint32; description " Number of times duplicate request drop feature is enabled."; } leaf duplicate-drop-disable-count { type uint32; description " Number of times duplicate request drop feature is disabled."; } } // grouping SNMP-STATISTICS grouping SNMP-Q-STATS-B { description "SNMP incomming/processing queue statistics"; leaf total-count { type uint32; description "Total request count for each managment station or client"; } leaf agent-request-count { type uint32; description "Processing agent request count for each client for particluar managment station"; } leaf interface-request-count { type uint32; description "Processing interfce request count for each client for particluar managment station"; } leaf entity-request-count { type uint32; description "Processing entity request count for each client for particluar managment station"; } leaf route-request-count { type uint32; description "Processing route request count for each client for particluar Managment station"; } leaf infra-request-count { type uint32; description "Processing infra request count for each client for particluar Managment station"; } } // grouping SNMP-Q-STATS-B grouping SNMP-SYSNAME { description "SNMP sysName"; leaf system-name { type string; description "sysName 1.3.6.1.2.1.1.5"; } } // grouping SNMP-SYSNAME grouping SNMP-QUEUE { description "SNMP QUEUE"; leaf min { type uint32; description "min"; } leaf avg { type uint32; description "avg"; } leaf max { type uint32; description "max"; } } // grouping SNMP-QUEUE grouping SNMP-RXQUE { description "SNMP Incoming queue statistics"; leaf qlen { type uint32; description "qlen"; } leaf in-min { type uint32; description "in min"; } leaf in-avg { type uint32; description "in avg"; } leaf in-max { type uint32; description "in max"; } leaf pend-min { type uint32; description "pend min"; } leaf pend-avg { type uint32; description "pend avg"; } leaf pend-max { type uint32; description "pend max"; } list incoming-q { max-elements 300; description "incoming q"; uses SNMP-QUEUE; } // list incoming-q list pending-q { max-elements 300; description "pending q"; uses SNMP-QUEUE; } // list pending-q } // grouping SNMP-RXQUE grouping SNMP-SUB-AGENT-MIB-OBJ-INFO { description "SNMP SubAgent MIB object detail"; leaf object-name { type string; description "Name of MIB object"; } } // grouping SNMP-SUB-AGENT-MIB-OBJ-INFO grouping SNMP-SUB-AGENT-MIB-INFO { description "SNMP SubAgent MIB details"; leaf mib-name { type string; description "Name of the SubAgent MIB module"; } list mib-object-name { description "Object Names in MIB"; uses SNMP-SUB-AGENT-MIB-OBJ-INFO; } // list mib-object-name } // grouping SNMP-SUB-AGENT-MIB-INFO grouping SNMP-SUB-AGENT-GROUP-INFO { description "SNMP sub-agent Details"; leaf sub-agent-group { type string; description "Snmp SubAgent name"; } leaf sub-agent-client-id { type uint16; description "Client ID of SubAgent"; } leaf mib-count { type uint16; description "Total Number of MIB in each SubAgent"; } list mib-detail { description "MIB details (MIB name, OID count and Object Names)"; uses SNMP-SUB-AGENT-MIB-INFO; } // list mib-detail } // grouping SNMP-SUB-AGENT-GROUP-INFO grouping SNMP-ENGINEID { description "SNMPv3 engineID Information"; leaf engine-id { type string; description "SNMPv3 engineID"; } } // grouping SNMP-ENGINEID grouping SNMP-REQ-NMS-SUM { description "SNMP Agent Req NMS Summary "; leaf nms-address { type string; description "NMS address of server"; } leaf get-request-count { type uint32; description "Get Request Count"; } leaf getnext-request-count { type uint32; description "Getnext Request Count"; } leaf getbulk-request-count { type uint32; description "Getbulk Request Count"; } leaf set-request-count { type uint32; description "Set Request Count"; } leaf test-request-count { type uint32; description "Test Request Count"; } } // grouping SNMP-REQ-NMS-SUM grouping SNMP-SUB-AGENT-INFO { description "SNMP SubAgent Details"; leaf sub-agent-group { type string; description "Snmp SubAgent Name"; } leaf sub-agent-client-id { type uint16; description "Client ID of SubAgent"; } leaf mib-count { type uint16; description "Total Number of MIB in each SubAgent"; } } // grouping SNMP-SUB-AGENT-INFO grouping SNMP-SYSUPTIME-EDM { description "SNMP sysUpTime in days time format for edm"; leaf system-up-time-edm { type string; description "sysUpTime 1.3.6.1.2.1.1.3"; } } // grouping SNMP-SYSUPTIME-EDM } // submodule Cisco-IOS-XR-snmp-agent-oper-sub3
© 2023 YumaWorks, Inc. All rights reserved.