This module contains a collection of YANG definitions for Cisco IOS-XR snmp-ifmib package configuration. This YANG module augme...
Version: 2019-04-05
module Cisco-IOS-XR-snmp-ifmib-cfg { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-snmp-ifmib-cfg"; prefix snmp-ifmib-cfg; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } import Cisco-IOS-XR-snmp-agent-cfg { prefix a1; } 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-ifmib package configuration. This YANG module augments the Cisco-IOS-XR-snmp-agent-cfg, module with configuration data. Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2017-05-01" { description "Fixing backward compatibility error in module."; } revision "2015-05-14" { description "IOS XR 5.3.2 revision."; } revision "2015-01-07" { description "IOS XR 5.3.1 revision."; } semver:module-version "1.0.1"; augment /a1:mib { description "This augment extends the configuration data of 'Cisco-IOS-XR-snmp-agent-cfg'"; container interface-mib { description "Interface MIB configuration"; container interfaces { description "Enter the SNMP interface configuration commands"; list interface { key "interface-name"; description "Interface to configure"; leaf link-up-down { type boolean; description "Enable or disable LinkUpDown notification"; } leaf index-persistence { type boolean; description "Enable or disable index persistence"; } leaf interface-name { type xr:Interface-name; description "The name of the interface"; } } // list interface } // container interfaces container notification { description "MIB notification configuration"; leaf link-ietf { type empty; description "Set the varbind of linkupdown trap to the RFC specified varbinds (default cisco)"; } } // container notification container subsets { description "Add configuration for an interface subset"; list subset { key "subset-id"; description "Subset priorityID to group ifNames based on Regular Expression"; container link-up-down { description "SNMP linkUp and linkDown notifications"; leaf enable { type boolean; description "Enable or disable linkupdown notification"; } leaf regular-expression { type string; description "Regular expression to match ifName"; } } // container link-up-down leaf subset-id { type uint32 { range "1..255"; } description "The interface subset PriorityID"; } } // list subset } // container subsets leaf internal-cache { type uint32 { range "0..60"; } default "15"; description "Get cached interface statistics"; } leaf interface-alias-long { type empty; description "Enable support for ifAlias values longer than 64 characters"; } leaf ip-subscriber { type empty; description "Enable IP subscriber interfaces in IFMIB"; } leaf interface-index-persistence { type empty; description "Enable ifindex persistence"; } leaf statistics-cache { type empty; description "Enable cached interface statistics"; } } // container interface-mib } augment /a1:snmp/a1:notification/a1:snmp { description "This augment extends the configuration data of 'Cisco-IOS-XR-snmp-agent-cfg'"; leaf link-down { type empty; description "Enable link down notification"; } } augment /a1:snmp/a1:notification/a1:snmp { description "This augment extends the configuration data of 'Cisco-IOS-XR-snmp-agent-cfg'"; leaf link-up { type empty; description "Enable link up notification"; } } } // module Cisco-IOS-XR-snmp-ifmib-cfg
© 2023 YumaWorks, Inc. All rights reserved.