This module contains a collection of YANG definitions for Cisco IOS-XR snmp-agent package operational data. This module contain...
Version: 2020-09-15
module Cisco-IOS-XR-snmp-agent-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-agent-oper"; prefix snmp-agent-oper; import ietf-inet-types { prefix inet; } import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-snmp-agent-oper-sub7 { revision-date "2020-09-15"; } include Cisco-IOS-XR-snmp-agent-oper-sub6 { revision-date "2020-09-15"; } include Cisco-IOS-XR-snmp-agent-oper-sub5 { revision-date "2020-09-15"; } include Cisco-IOS-XR-snmp-agent-oper-sub4 { revision-date "2020-09-15"; } include Cisco-IOS-XR-snmp-agent-oper-sub3 { revision-date "2020-09-15"; } include Cisco-IOS-XR-snmp-agent-oper-sub2 { revision-date "2020-09-15"; } include Cisco-IOS-XR-snmp-agent-oper-sub1 { revision-date "2020-09-15"; } 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 snmp-agent package operational data. This module contains definitions for the following management objects: snmp: SNMP 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"; container snmp { config false; description "SNMP operational data"; container trap-servers { description "List of trap hosts"; list trap-server { description "Trap server and port to which the trap is to be sent and statistics"; leaf trap-host { type string; description "Trap Host"; } leaf port { type inet:port-number; description "Trap port"; } uses SNMP-TRAP-STATS; } // list trap-server } // container trap-servers container information { description "SNMP operational information"; container hosts { description "SNMP host information"; list host { key "name"; description "SNMP target host name"; leaf name { type xr:Cisco-ios-xr-string; description "Group name"; } list host-information { key "user"; description "Host name ,udp-port , user, security model and level"; leaf user { type xr:Cisco-ios-xr-string; description "SNMP host user"; } uses SNMP-SNMP-HOST-XML; } // list host-information } // list host } // container hosts container system-up-time { description "System up time"; uses SNMP-SYSUPTIME-EDM; } // container system-up-time container sub-agent-names { description "SNMP sub-agent details"; list sub-agent-name { key "sub-agent-name"; description "Subagent Name"; leaf sub-agent-name { type xr:Cisco-ios-xr-string; description "Subagent Name"; } uses SNMP-SUB-AGENT-INFO; } // list sub-agent-name } // container sub-agent-names container nms-addresses { description "SNMP request type summary "; list nms-address { key "nms-addr"; description "NMS address"; leaf nms-addr { type xr:Cisco-ios-xr-string; description "NMS address"; } uses SNMP-REQ-NMS-SUM; } // list nms-address } // container nms-addresses container engine-id { description "SNMP engine ID"; uses SNMP-ENGINEID; } // container engine-id container sub-agent-group-names { description "SNMP sub-agent details"; list sub-agent-group-name { key "sub-agent-group-name"; description "Subagent Group Name"; leaf sub-agent-group-name { type xr:Cisco-ios-xr-string; description "Subagent Group Name"; } uses SNMP-SUB-AGENT-GROUP-INFO; } // list sub-agent-group-name } // container sub-agent-group-names container rx-queue { description "SNMP rx queue statistics"; uses SNMP-RXQUE; } // container rx-queue container system-name { description "System name"; uses SNMP-SYSNAME; } // container system-name container request-type-detail { description "SNMP request type details "; container nms-addresses { description "snmp request type details "; list nms-address { key "nms-addr"; description "NMS address"; leaf nms-addr { type xr:Cisco-ios-xr-string; description "NMS address"; } uses SNMP-Q-STATS-B; } // list nms-address } // container nms-addresses } // container request-type-detail container duplicate-drop { description "Duplicate request status, count, time "; uses SNMP-STATISTICS; } // container duplicate-drop container bulk-stats-transfers { description "List of bulkstats transfer on the system"; list bulk-stats-transfer { key "transfer-name"; description "SNMP bulkstats transfer name"; leaf transfer-name { type xr:Cisco-ios-xr-string; description "Transfer name"; } uses SNMP-BULKSTATS-B; } // list bulk-stats-transfer } // container bulk-stats-transfers container trap-infos { description "SNMP trap OID"; list trap-info { description "SNMP Trap infomation like server , port and trapOID"; leaf trap-host { type string; description "Trap Host"; } leaf port { type inet:port-number; description "Trap port"; } uses SNMP-TRAPS-INFO; } // list trap-info } // container trap-infos container poll-oids { description "OID list for poll PDU"; list poll-oid { key "object-id"; description "PDU drop info for OID"; leaf object-id { type xr:Cisco-ios-xr-string; description "Object ID"; } uses SNMP-OID-STATS-B; } // list poll-oid } // container poll-oids container infom-details { description "SNMP trap OID"; list infom-detail { description "SNMP Trap infomation like server , port and trapOID"; leaf trap-host { type string; description "Trap Host"; } leaf port { type inet:port-number; description "Trap port"; } uses SNMP-TRAPS-INFO; } // list infom-detail } // container infom-details container statistics { description "SNMP statistics"; uses SNMP-STATS; } // container statistics container incoming-queue { description "Incoming queue details "; uses SNMP-INCOMING-Q-STATS-ENTRY; } // container incoming-queue container context-mapping { description "Context name, features name, topology name, instance"; uses SNMP-CTX-MAPPING-XML; } // container context-mapping container trap-oids { description "SNMP trap OID"; list trap-oid { key "trap-oid"; description "SNMP trap "; leaf trap-oid { type xr:Cisco-ios-xr-string; description "Trap object ID"; } uses SNMP-TRAPS-COUNT; } // list trap-oid } // container trap-oids container nm-spackets { description "SNMP overload statistics "; list nm-spacket { key "packetcount"; description "NMS packet drop count"; leaf packetcount { type xr:Cisco-ios-xr-string; description "NMS packet drop count"; } uses SNMP-OVERLOAD-STATS; } // list nm-spacket } // container nm-spackets container mibs { description "List of MIBS supported on the system"; list mib { key "name"; description "SNMP MIB Name"; container oids { description "List of OIDs per MIB"; list oid { key "oid"; description "Object identifiers of a mib"; leaf oid { type string; description "Object Identifier"; } leaf oid-name { type string; mandatory true; description "MIB OID Name"; } } // list oid } // container oids container mib-information { description "MIB state and information"; uses SNMP-MIB-INFO; } // container mib-information leaf name { type xr:Cisco-ios-xr-string; description "MIB Name"; } } // list mib } // container mibs container serial-numbers { description "SNMP statistics pdu "; list serial-number { description "Serial number"; leaf number { type xr:Cisco-ios-xr-string; description "Serial number"; } leaf req-id { type uint32; description "Request ID"; } leaf port { type inet:port-number; description "Port"; } uses SNMP-PDU-STATS; } // list serial-number } // container serial-numbers container drop-nms-addresses { description "NMS list for drop PDU"; list drop-nms-address { key "nms-addr"; description "PDU drop info for NMS"; leaf nms-addr { type xr:Cisco-ios-xr-string; description "NMS address"; } uses SNMP-PDU-DROP-STATS; } // list drop-nms-address } // container drop-nms-addresses container views { description "SNMP view information"; list view { key "name"; description "SNMP target view name"; leaf name { type xr:Cisco-ios-xr-string; description "View name"; } list view-information { key "object-id"; description "View name ,familytype, storagetype and status"; leaf object-id { type xr:Cisco-ios-xr-string; description "SNMP view OID"; } uses SNMP-SNMP-VIEW-XML-ENTRY; } // list view-information } // list view } // container views container udp-statistics { description "SNMP UDP statistics"; uses SNMP-UDP-STATS-INFO; } // container udp-statistics container system-descr { description "System description"; uses SNMP-SYSDESCR; } // container system-descr container tables { description "List of table"; container groups { description "List of vacmAccessTable"; list group { key "name"; description "SNMP group name"; container group-informations { description "Group Model"; list group-information { description "Group name ,status and information"; leaf modelnumber { type xr:Cisco-ios-xr-string; description "Model number"; } leaf level { type xr:Cisco-ios-xr-string; description "Level"; } uses SNMP-VACM-ACCESS-ENTRY; } // list group-information } // container group-informations leaf name { type xr:Cisco-ios-xr-string; description "Group Name"; } } // list group } // container groups container user-engine-ids { description "List of User"; list user-engine-id { key "engine-id"; description "SNMP engineId"; leaf engine-id { type xr:Cisco-ios-xr-string; description "SNMP Engine ID"; } list user-name { key "user-name"; description "User name ,storage type ,status "; leaf user-name { type xr:Cisco-ios-xr-string; description "User name"; } uses SNMP-USM-USER-ENTRY; } // list user-name } // list user-engine-id } // container user-engine-ids } // container tables container system-oid { description "System object ID"; uses SNMP-SYSOBJID; } // container system-oid container trap-queue { description "SNMP trap queue statistics"; uses SNMP-TRAPQUE; } // container trap-queue } // container information container interfaces { description "List of interfaces"; list interface { key "name"; description "Interface Name"; leaf name { type xr:Interface-name; description "Interface Name"; } leaf interface-index { type uint32; mandatory true; description "Interface Index as used by MIB tables"; } } // list interface } // container interfaces container correlator { description "Trap Correlator operational data"; container rule-details { description "Table that contains the database of correlation rule details"; list rule-detail { key "rule-name"; description "Details of one of the correlation rules"; leaf rule-name { type string { length "1..32"; } description "Correlation Rule Name"; } uses SNMP-CORR-RULE-DETAIL-BAG; } // list rule-detail } // container rule-details container buffer-status { description "Describes buffer utilization and parameters configured"; uses SNMP-CORR-BUFFER-INFO-BAG; } // container buffer-status container rule-set-details { description "Table that contains the ruleset detail info"; list rule-set-detail { key "rule-set-name"; description "Detail of one of the correlation rulesets"; leaf rule-set-name { type string { length "1..32"; } description "Ruleset Name"; } uses SNMP-CORR-RULESET-DETAIL-BAG; } // list rule-set-detail } // container rule-set-details container traps { description "Correlated traps Table"; list trap { key "entry-id"; description "One of the correlated traps"; leaf entry-id { type uint32; description "Entry ID"; } uses SNMP-CORR-TRAP-BUFFER-BAG; } // list trap } // container traps } // container correlator container interface-indexes { description "List of index"; list interface-index { key "interface-index"; description "Interface Index"; leaf interface-index { type uint32; description "Interface Index as used by MIB tables"; } leaf interface-name { type string; mandatory true; description "Interface Name"; } } // list interface-index } // container interface-indexes container if-indexes { description "List of ifnames"; list if-index { key "interface-index"; description "Interface Index"; leaf interface-index { type uint32; description "Interface Index as used by MIB tables"; } uses SNMP-IFINDEX-IFNAME; } // list if-index } // container if-indexes } // container snmp } // module Cisco-IOS-XR-snmp-agent-oper
© 2023 YumaWorks, Inc. All rights reserved.