📊 IF-MIB

MIB YANG Tree Visualization - IOS-XE 17.18.1

📚 API Documentation & Navigation

📄 View Swagger Spec 🚀 Open in Swagger UI 📂 Browse All MIB APIs 📄 YANG Source 🌳 All MIB Trees 🏠 Main Tree Browser

📋 Module Metadata

Namespace: http://cisco.com/ns/yang/IF-MIB

Prefix: if

Related Modules:
ATM-MIB
BGP4-MIB
BRIDGE-MIB
CISCO-AAA-SERVER-MIB
CISCO-AAA-SESSION-MIB

💡 Example Usage

# GET module data
curl -X GET \
  -H "Accept: application/yang-data+json" \
  -u admin:password \
  --insecure \
  https://device-ip/restconf/data/IF-MIB

📚 External Documentation

💻 YANG Source📖 YANG Catalog
module: IF-MIB
  +--ro IF-MIB
     +--ro interfaces
     |  +--ro ifNumber?   int32
     +--ro ifMIBObjects
     |  +--ro ifTableLastChange?   yang:timeticks
     |  +--ro ifStackLastChange?   yang:timeticks
     +--ro ifTable
     |  +--ro ifEntry* [ifIndex]
     |     +--ro ifIndex                       IF-MIB:InterfaceIndex
     |     +--ro ifDescr?                      snmpv2-tc:DisplayString
     |     +--ro ifType?                       ianaiftype-mib:IANAifType
     |     +--ro ifMtu?                        int32
     |     +--ro ifSpeed?                      yang:gauge32
     |     +--ro ifPhysAddress?                yang:phys-address
     |     +--ro ifAdminStatus?                enumeration
     |     +--ro ifOperStatus?                 enumeration
     |     +--ro ifLastChange?                 yang:timeticks
     |     +--ro ifInOctets?                   yang:counter32
     |     +--ro ifInUcastPkts?                yang:counter32
     |     x--ro ifInNUcastPkts?               yang:counter32
     |     +--ro ifInDiscards?                 yang:counter32
     |     +--ro ifInErrors?                   yang:counter32
     |     +--ro ifInUnknownProtos?            yang:counter32
     |     +--ro ifOutOctets?                  yang:counter32
     |     +--ro ifOutUcastPkts?               yang:counter32
     |     x--ro ifOutNUcastPkts?              yang:counter32
     |     +--ro ifOutDiscards?                yang:counter32
     |     +--ro ifOutErrors?                  yang:counter32
     |     x--ro ifOutQLen?                    yang:gauge32
     |     x--ro ifSpecific?                   yang:object-identifier-128
     |     +--ro ifName?                       snmpv2-tc:DisplayString
     |     +--ro ifInMulticastPkts?            yang:counter32
     |     +--ro ifInBroadcastPkts?            yang:counter32
     |     +--ro ifOutMulticastPkts?           yang:counter32
     |     +--ro ifOutBroadcastPkts?           yang:counter32
     |     +--ro ifHCInOctets?                 yang:counter64
     |     +--ro ifHCInUcastPkts?              yang:counter64
     |     +--ro ifHCInMulticastPkts?          yang:counter64
     |     +--ro ifHCInBroadcastPkts?          yang:counter64
     |     +--ro ifHCOutOctets?                yang:counter64
     |     +--ro ifHCOutUcastPkts?             yang:counter64
     |     +--ro ifHCOutMulticastPkts?         yang:counter64
     |     +--ro ifHCOutBroadcastPkts?         yang:counter64
     |     +--ro ifLinkUpDownTrapEnable?       enumeration
     |     +--ro ifHighSpeed?                  yang:gauge32
     |     +--ro ifPromiscuousMode?            boolean
     |     +--ro ifConnectorPresent?           boolean
     |     +--ro ifAlias?                      snmpv2-tc:DisplayString
     |     +--ro ifCounterDiscontinuityTime?   yang:timestamp
     |     x--ro ifTestId?                     snmpv2-tc:TestAndIncr
     |     x--ro ifTestStatus?                 enumeration
     |     x--ro ifTestType?                   snmpv2-tc:AutonomousType
     |     x--ro ifTestResult?                 enumeration
     |     x--ro ifTestCode?                   yang:object-identifier-128
     |     x--ro ifTestOwner?                  IF-MIB:OwnerString
     +--ro ifStackTable
     |  +--ro ifStackEntry* [ifStackHigherLayer ifStackLowerLayer]
     |     +--ro ifStackHigherLayer    IF-MIB:InterfaceIndexOrZero
     |     +--ro ifStackLowerLayer     IF-MIB:InterfaceIndexOrZero
     |     +--ro ifStackStatus?        snmpv2-tc:RowStatus
     +--ro ifRcvAddressTable
        +--ro ifRcvAddressEntry* [ifIndex ifRcvAddressAddress]
           +--ro ifIndex                -> /IF-MIB/ifTable/ifEntry/ifIndex
           +--ro ifRcvAddressAddress    yang:phys-address
           +--ro ifRcvAddressStatus?    snmpv2-tc:RowStatus
           +--ro ifRcvAddressType?      enumeration

  notifications:
    +---n linkDown
    |  +--ro object-1
    |  |  +--ro ifIndex?   -> /IF-MIB/ifTable/ifEntry/ifIndex
    |  +--ro object-2
    |  |  +--ro ifIndex?         -> /IF-MIB/ifTable/ifEntry/ifIndex
    |  |  +--ro ifAdminStatus?   -> /IF-MIB/ifTable/ifEntry/ifAdminStatus
    |  +--ro object-3
    |     +--ro ifIndex?        -> /IF-MIB/ifTable/ifEntry/ifIndex
    |     +--ro ifOperStatus?   -> /IF-MIB/ifTable/ifEntry/ifOperStatus
    +---n linkUp
       +--ro object-1
       |  +--ro ifIndex?   -> /IF-MIB/ifTable/ifEntry/ifIndex
       +--ro object-2
       |  +--ro ifIndex?         -> /IF-MIB/ifTable/ifEntry/ifIndex
       |  +--ro ifAdminStatus?   -> /IF-MIB/ifTable/ifEntry/ifAdminStatus
       +--ro object-3
          +--ro ifIndex?        -> /IF-MIB/ifTable/ifEntry/ifIndex
          +--ro ifOperStatus?   -> /IF-MIB/ifTable/ifEntry/ifOperStatus

About this tree: This visualization shows the hierarchical structure of the IF-MIB MIB YANG module. Generated using pyang -f tree command. • +--rw = read-write node • +--ro = read-only node • +-- = configuration data • x-- = deprecated node