This module contains a collection of YANG definitions for Cisco IOS-XR snmp-server package configuration. This YANG module augm...
Version: 2019-06-10
module Cisco-IOS-XR-um-snmp-server-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-um-snmp-server-cfg"; prefix um-snmp-server-cfg; 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 module contains a collection of YANG definitions for Cisco IOS-XR snmp-server package configuration. This YANG module augments the modules with configuration data. Copyright (c) 2019, 2021 by Cisco Systems, Inc. All rights reserved."; revision "2019-06-10" { description "Establish semantic version baseline."; } revision "2019-04-12" { description "Initial version"; } semver:module-version "1.0.1"; container snmp-server-mibs { description "MIB for configurations"; container ifindex { description "Enable ifindex persistence"; container persist { presence "Indicates a persist node is configured."; description "Persist interface indices"; } // container persist } // container ifindex container interfaces { description "Enter the SNMP interface configuration commands"; list interface { key "interface-name"; description "Interface to configure"; leaf interface-name { type xr:Interface-name; description "Interface to configure"; } container notification { description "Allow an SNMP notification type"; container linkupdown { description "SNMP linkUp and linkDown notifications"; container enable { tailf:dependency "../../../interface-name"; when "../../../interface-name[contains(text(),'.')] or ../../../interface-name[starts-with(text(),'Serial')] or ../../../interface-name[starts-with(text(),'ATM')] or ../../../interface-name[starts-with(text(),'IMA')]"; presence "Indicates a enable node is configured."; description "Disable linkUp and linkDown notification"; } // container enable container disable { tailf:dependency "../../../interface-name"; when "../../../interface-name[not(contains(text(),'.'))] and ../../../interface-name[not(starts-with(text(),'Serial'))] and ../../../interface-name[not(starts-with(text(),'ATM'))] and ../../../interface-name[not(starts-with(text(),'IMA'))]"; presence "Indicates a disable node is configured."; description "Disable linkUp and linkDown notification"; } // container disable } // container linkupdown } // container notification container index { description "Configure ifIndex attributes"; container persistence { presence "Indicates a persistence node is configured."; description "Persistency across system reloads"; } // container persistence } // container index } // list interface container subsets { description "Add configuration for an interface subset"; list subset { must "notification/linkupdown"; key "subset-number"; description "Add configuration for an interface subset"; leaf subset-number { type uint32 { range "1..255"; } description "Add configuration for an interface subset"; } leaf regular-expression { type xr:Cisco-ios-xr-string { length "1..130"; } mandatory true; description "Interfaces matching regular expression"; } container notification { description "Allow an SNMP notification type"; container linkupdown { presence "Indicates a linkupdown node is configured."; description "SNMP linkUp and linkDown notifications"; container disable { presence "Indicates a disable node is configured."; description "Disable linkUp and linkDown notification"; } // container disable } // container linkupdown } // container notification } // list subset } // container subsets } // container interfaces container trap { description "MIB trap configurations"; container link { description "Link up/down trap configuration"; container ietf { presence "Indicates a ietf node is configured."; description "Set the varbind of linkupdown trap to the RFC specified varbinds (default cisco)"; } // container ietf } // container link } // container trap container ifmib { description "IF-MIB configuration commands"; container ifalias { description "Modify parameters for ifAlias object"; container long { presence "Indicates a long node is configured."; description "Enable support for ifAlias values longer than 64 characters"; } // container long } // container ifalias container stats { description "Modify IF-MIB statistics parameters"; container cache { presence "Indicates a cache node is configured."; description "Get cached interface statistics"; } // container cache } // container stats container ipsubscriber { presence "Indicates a ipsubscriber node is configured."; description "Enable ipsubscriber interfaces in IFMIB"; } // container ipsubscriber container internal { description "IFMIB internal lookahead cache"; container cache { description "Cached data"; leaf max-duration { type uint32 { range "0..60"; } description "Change the max duration"; } } // container cache } // container internal } // container ifmib container mplstemib { description "TE-MIB configuration commands"; container cache { description "Modify MIB cache properties"; container timers { description "Modify MIB cache timers"; leaf garbage-collect { type uint32 { range "0..3600"; } description "Modify MIB cache garbage collect timer"; } leaf refresh { type uint32 { range "0..600"; } description "Modify MIB cache refresh timer"; } } // container timers } // container cache } // container mplstemib container mplsp2mpmib { description "p2mp mib configuration commands"; container cache { description "Modify MIB cache properties"; leaf timer { type uint32 { range "0..600"; } description "Modify MIB cache timer"; } } // container cache } // container mplsp2mpmib container frrmib { description "frr mib configuration commands"; container cache { description "Modify MIB cache properties"; leaf timer { type uint32 { range "0..600"; } description "Modify MIB chache timer"; } } // container cache } // container frrmib container cmplsteextmib { description "cmplsteext mib configuration commands"; container cache { description "Modify MIB cache properties"; leaf timer { type uint32 { range "0..600"; } description "Modify MIB chache timer"; } } // container cache } // container cmplsteextmib container cmplsteextstdmib { description "cmplsteextstd mib configuration commands"; container cache { description "Modify MIB cache properties"; leaf timer { type uint32 { range "0..600"; } description "Modify MIB chache timer"; } } // container cache } // container cmplsteextstdmib } // container snmp-server-mibs container snmp-server { description "SNMP configuration subcommands"; container traps { description "Enable SNMP traps"; container entity { presence "Indicates a entity node is configured."; description "Enable SNMP entity traps"; } // container entity container cisco-entity-ext { presence "Indicates a cisco-entity-ext node is configured."; description "Enable SNMP entity traps"; } // container cisco-entity-ext container addrpool { description "Enable SNMP Address Pool traps"; container high { presence "Indicates a high node is configured."; description "Enable SNMP Address Pool High Threshold trap"; } // container high container low { presence "Indicates a low node is configured."; description "Enable SNMP Address Pool Low Threshold trap"; } // container low } // container addrpool container entity-redundancy { description "Enable SNMP CISCO-ENTITY-REDUNDANCY-MIB traps"; container all { presence "Indicates a all node is configured."; description "Enable all CISCO-ENTITY-REDUNDANCY-MIB traps"; } // container all container switchover { presence "Indicates a switchover node is configured."; description "Enable switchover traps"; } // container switchover container status { presence "Indicates a status node is configured."; description "Enable status change traps"; } // container status } // container entity-redundancy container ipsec { description "Enable SNMP IPSec traps"; container tunnel { description "Enable SNMP IPsec Tunnel traps"; container start { presence "Indicates a start node is configured."; description "Enable SNMP IPsec Tunnel Start trap"; } // container start container stop { presence "Indicates a stop node is configured."; description "Enable SNMP IPsec Tunnel Stop trap"; } // container stop } // container tunnel } // container ipsec container isakmp { description "Enable SNMP ISAKMP traps"; container tunnel { description "Enable SNMP ISAKMP Tunnel traps"; container start { presence "Indicates a start node is configured."; description "Enable SNMP ISAKMP Tunnel Start trap"; } // container start container stop { presence "Indicates a stop node is configured."; description "Enable SNMP ISAKMP Tunnel Stop trap"; } // container stop } // container tunnel } // container isakmp container syslog { presence "Indicates a syslog node is configured."; description "Enable SNMP syslog traps"; } // container syslog container config { presence "Indicates a config node is configured."; description "Enable SNMP config traps"; } // container config container l2vpn { description "Enable L2VPN traps"; container all { presence "Indicates a all node is configured."; description "Enable all L2VPN traps"; } // container all container vc-up { presence "Indicates a vc-up node is configured."; description "Enable VC up traps"; } // container vc-up container vc-down { presence "Indicates a vc-down node is configured."; description "Enable VC down traps"; } // container vc-down container cisco { presence "Indicates a cisco node is configured."; description "Cisco format including extra varbinds (default IETF)"; } // container cisco } // container l2vpn container vpls { description "Enable VPLS traps"; container all { presence "Indicates a all node is configured."; description "Enable all VPLS traps"; } // container all container status { presence "Indicates a status node is configured."; description "Enable VPLS Status traps"; } // container status container full-raise { presence "Indicates a full-raise node is configured."; description "Enable VPLS Full Raise traps"; } // container full-raise container full-clear { presence "Indicates a full-clear node is configured."; description "Enable VPLS Full Clear traps"; } // container full-clear } // container vpls container fabric { description "Enable SNMP fabric traps"; container plane { presence "Indicates a plane node is configured."; description "Enable SNMP fabric plane state change traps"; } // container plane container bundle { description "Enable SNMP fabric bundle traps"; container state { presence "Indicates a state node is configured."; description "Enable SNMP fabric bundle state change traps"; } // container state container link { presence "Indicates a link node is configured."; description "Enable SNMP fabric bundle downed link traps"; } // container link } // container bundle } // container fabric container bfd { presence "Indicates a bfd node is configured."; description "Enable BFD traps"; } // container bfd container mpls { description "Enable SNMP MPLS traps"; container traffic-eng { description "Enable MPLS TE traps"; container cisco { presence "Indicates a cisco node is configured."; description "MPLS TE tunnel traps in Cisco format (default ietf)"; } // container cisco container cisco-ext { description "cisco_ext"; container bringup-fail { presence "Indicates a bringup-fail node is configured."; description "Enable MPLS TE tunnel bringup-fail trap"; } // container bringup-fail container insuff-bw { presence "Indicates a insuff-bw node is configured."; description "Enable MPLS TE tunnel insufficient bandwidth trap"; } // container insuff-bw container preempt { presence "Indicates a preempt node is configured."; description "Enable MPLS TE tunnel preempt trap"; } // container preempt container reroute-pending { presence "Indicates a reroute-pending node is configured."; description "Enable MPLS TE tunnel reroute-pending trap"; } // container reroute-pending container reroute-pending-clear { presence "Indicates a reroute-pending-clear node is configured."; description "Enable MPLS TE tunnel reroute-pending trap"; } // container reroute-pending-clear } // container cisco-ext container down { presence "Indicates a down node is configured."; description "Enable MPLS TE tunnel down traps"; } // container down container p2mp { description "Enable MPLS TE tunnel p2mp traps"; container down { presence "Indicates a down node is configured."; description "Enable MPLS TE P2MP tunnel destination down traps"; } // container down container up { presence "Indicates a up node is configured."; description "Enable MPLS TE P2MP tunnel destination up traps"; } // container up } // container p2mp container reoptimize { presence "Indicates a reoptimize node is configured."; description "Enable MPLS TE tunnel reoptimize traps"; } // container reoptimize container reroute { presence "Indicates a reroute node is configured."; description "Enable MPLS TE tunnel reroute traps"; } // container reroute container up { presence "Indicates a up node is configured."; description "Enable MPLS TE tunnel up traps"; } // container up } // container traffic-eng container frr { description "Enable MPLS FRR traps"; container all { presence "Indicates a all node is configured."; description "Enable all MPLS FRR MIB traps"; } // container all container protected { presence "Indicates a protected node is configured."; description "Enable MPLS FRR tunnel protected traps"; } // container protected container unprotected { presence "Indicates a unprotected node is configured."; description "Enable MPLS FRR tunnel unprotected traps"; } // container unprotected } // container frr } // container mpls container vrrp { description "Enable VRRP traps"; container events { presence "Indicates a events node is configured."; description "Enable all VRRP event traps"; } // container events } // container vrrp container flash { description "Enable flash-mib traps"; container insertion { presence "Indicates a insertion node is configured."; description "Enable ciscoFlashDeviceInsertedNotif"; } // container insertion container removal { presence "Indicates a removal node is configured."; description "Enable ciscoFlashDeviceRemovedNotif"; } // container removal } // container flash container ospfv3 { description "Enable SNMP ospfv3 traps"; container errors { description "Enable SNMP traps for ospfv3 errors"; container config-error { presence "Indicates a config-error node is configured."; description "Enable SNMP traps for interface configuration errors"; } // container config-error container virt-config-error { presence "Indicates a virt-config-error node is configured."; description "Enable SNMP traps for config errors on virtual interfaces"; } // container virt-config-error container bad-packet { presence "Indicates a bad-packet node is configured."; description "Enable SNMP traps for bad packet errors received on interfaces"; } // container bad-packet container virt-bad-packet { presence "Indicates a virt-bad-packet node is configured."; description "Enable SNMP traps for bad packet errors on virtual interfaces"; } // container virt-bad-packet } // container errors container state-change { description "Enable SNMP traps for ospfv3 state change"; container if-state-change { presence "Indicates a if-state-change node is configured."; description "Enable SNMP traps for ospfv3 interface state change"; } // container if-state-change container neighbor-state-change { presence "Indicates a neighbor-state-change node is configured."; description "Enable SNMP traps for ospfv3 neighbor state change"; } // container neighbor-state-change container virtif-state-change { presence "Indicates a virtif-state-change node is configured."; description "Enable SNMP traps for ospfv3 virtual interface state change"; } // container virtif-state-change container virtneighbor-state-change { presence "Indicates a virtneighbor-state-change node is configured."; description "Enable SNMP traps for ospfv3 virtual neighbor state change"; } // container virtneighbor-state-change container restart-status-change { presence "Indicates a restart-status-change node is configured."; description "Enable SNMP traps for ospfv3 restart status change"; } // container restart-status-change container restart-helper-status-change { presence "Indicates a restart-helper-status-change node is configured."; description "Enable SNMP traps for ospfv3 restart helper status change"; } // container restart-helper-status-change container restart-virtual-helper-status-change { presence "Indicates a restart-virtual-helper-status-change node is configured."; description "Enable SNMP traps for ospfv3 virtual helper restart status change"; } // container restart-virtual-helper-status-change container nssa-state-change { presence "Indicates a nssa-state-change node is configured."; description "Enable SNMP traps for ospfv3 NSSA status change"; } // container nssa-state-change } // container state-change } // container ospfv3 container l2tun { description "Enable L2TUN traps"; container sessions { presence "Indicates a sessions node is configured."; description "Enable L2TUN sessions traps"; } // container sessions container pseudowire { description "Enable L2TUN pseudowire status traps"; container status { presence "Indicates a status node is configured."; description "Enable traps for L2TPv3 PW status"; } // container status } // container pseudowire container tunnel-up { presence "Indicates a tunnel-up node is configured."; description "Enable L2TUN tunnel UP traps"; } // container tunnel-up container tunnel-down { presence "Indicates a tunnel-down node is configured."; description "Enable L2TUN tunnel DOWN traps"; } // container tunnel-down } // container l2tun container diameter { description "Enable SNMP diameter traps"; container protocolerror { presence "Indicates a protocolerror node is configured."; description "Enable protocol error notifications"; } // container protocolerror container transientfail { presence "Indicates a transientfail node is configured."; description "Enable transient failure notification"; } // container transientfail container permanentfail { presence "Indicates a permanentfail node is configured."; description "Enable permanent failure notification"; } // container permanentfail container peerdown { presence "Indicates a peerdown node is configured."; description "Enable peer connection down notification"; } // container peerdown container peerup { presence "Indicates a peerup node is configured."; description "Enable peer connection up notification"; } // container peerup } // container diameter container copy-complete { presence "Indicates a copy-complete node is configured."; description "Enable CISCO-CONFIG-COPY-MIB ccCopyCompletion traps"; } // container copy-complete container fru-ctrl { presence "Indicates a fru-ctrl node is configured."; description "Enable SNMP entity FRU control traps"; } // container fru-ctrl container bgp { container bgp4-mib { presence "Indicates a bgp4-mib node is configured."; description "Enable BGP4-MIB and CISCO-BGP4-MIB traps"; } // container bgp4-mib container bgp4-mib-updown { presence "Indicates a updown node is configured."; description "Enable CISCO-BGP4-MIB v2 up/down traps"; } // container bgp4-mib-updown container cbgp2 { presence "Indicates a cbgp2 node is configured."; description "Enable CISCO-BGP4-MIB v2 traps"; } // container cbgp2 container cbgp2-updown { presence "Indicates a updown node is configured."; description "Enable CISCO-BGP4-MIB v2 up/down traps"; } // container cbgp2-updown } // container bgp container hsrp { presence "Indicates a hsrp node is configured."; description "Enable SNMP hsrp traps"; } // container hsrp container ntp { presence "Indicates a ntp node is configured."; description "Enable SNMP Cisco Ntp traps"; } // container ntp container system { presence "Indicates a system node is configured."; description "Enable SNMP SYSTEMMIB-MIB traps"; } // container system container entity-state { description "Enable SNMP entity-state traps"; container switchover { presence "Indicates a switchover node is configured."; description "Enable entity state switchover notifications"; } // container switchover container operstatus { presence "Indicates a operstatus node is configured."; description "Enable entity oper status enable notification"; } // container operstatus } // container entity-state container ipsla { presence "Indicates a ipsla node is configured."; description "Enable SNMP RTTMON-MIB IPSLA traps"; } // container ipsla container frequency { description "Enable Frequency Synchronization traps"; container synchronization { presence "Indicates a synchronization node is configured."; description "Enable Frequency Synchronization traps"; } // container synchronization leaf synchronization-quality-level { type enumeration { enum "dnu" { value 1; description "DNU"; } enum "prc" { value 2; description "PRC"; } enum "sec" { value 3; description "SEC"; } enum "ssu-a" { value 4; description "SSU-A"; } enum "ssu-b" { value 5; description "SSU-B"; } } description "Quality level trap"; } } // container frequency container ethernet { description "Enable SNMP Ethernet traps"; container oam { description "Enable link-oam traps"; container events { presence "Indicates a events node is configured."; description "Enable all OAM event traps"; } // container events } // container oam } // container ethernet container power { presence "Indicates a power node is configured."; description "Enable SNMP entity power traps"; } // container power container optical { presence "Indicates a optical node is configured."; description "Enable SNMP Cisco optical traps"; } // container optical container optical-ots { presence "Indicates a optical-ots node is configured."; description "Enable SNMP Cisco optical ots traps"; } // container optical-ots } // container traps container entityindex { description "Configuration pertaining to entity indices"; container persist { presence "Indicates a persist node is configured."; description "Persist indices"; } // container persist } // container entityindex } // container snmp-server } // module Cisco-IOS-XR-um-snmp-server-cfg
© 2023 YumaWorks, Inc. All rights reserved.