Cisco Nexus 7000 Series Switches

Cisco Nexus 7000 Series and 9000 Series NX-OS MIB Quick Reference

  • Viewing Options

  • PDF (1.3 MB)
  • EPUB (116.1 KB)
  • MOBI (172.1 KB)
  • Feedback
Cisco Nexus 7000 Series and 9000 Series NX-OS MIB Quick Reference

Cisco Nexus 7000 Series and 9000 Series NX-OS MIB Quick Reference

This document describes the private, or local, SNMP Management Information Base (MIB) files supported by the software.

MIBs and Network Management

The MIB list includes Cisco proprietary MIBs and many other Internet Engineering Task Force (IETF) standard MIBs. The IETF standard MIBs are defined in Requests for Comments (RFCs). To find specific MIB information, you must examine the Cisco proprietary MIB structure and related IETF-standard MIBs supported by the software.

Network management takes place between two major types of systems: those systems in control, called managing systems, and those systems that managing systems observe and control, called managed systems. The most common managing system is called a network management system (NMS). Managed systems can include hosts, servers, or network components such as switches and routers.

To promote interoperability, cooperating systems must adhere to a common framework and a common language, called a protocol. In the Internet-standard management framework, that protocol is the Simple Network Management Protocol (SNMP).

The exchange of information between managed network devices and a robust NMS is essential for reliable performance of a managed network. Because some devices have a limited ability to run management software, most of the computer processing burden is assumed by the NMS. The NMS runs the network management applications, such as Cisco Data Center Network Manager, that present management information to network managers and other users.

In a managed device, specialized low-impact software modules, called agents, access information about the device and make it available to the NMS. Managed devices maintain values for a number of variables and report those values, as required, to the NMS. For example, an agent might report such data as the number of bytes and packets sent or received by the device or the number of broadcast messages sent and received. In SNMP, each of these variables is referred to as a managed object. A managed object is anything that can be managed or anything that an agent can access and report back to the NMS. All managed objects are contained in the MIB, which is a database of the managed objects.

An NMS can control a managed device by sending a request to an agent of that managed device, requiring the device to change the value of one or more of its variables. The managed devices can respond to requests such as set or get. The NMS uses the set request to control the device. The NMS uses the get requests to monitor the device. The set and get requests are synchronous events, which means that the NMS initiates the activity, and the SNMP agent responds.

The managed device can send asynchronous events, or SNMP notifications, to the NMS to inform the NMS of some recent event. SNMP notifications (traps or informs), which are included in many MIBs, allow the NMS to less frequently send get requests to the managed devices.

Accessing MIB Variables Through SNMP

The SNMP system consists of three parts: the SNMP manager, the SNMP agent, and the MIB. You can compile Cisco MIBs with your network management software. If SNMP is configured on a device, the SNMP agent responds to MIB-related queries sent by the NMS.

SNMPv1 was the initial version of the protocol. SNMPv2 added support for 64-bit counters, and SNMPv3 added increased security for access, authentication, and encryption of managed data.

This table describes SNMP operations.

Table 1 SNMP Operations




Retrieves a value from a specific variable.


Retrieves the value following the named variable. Often used to retrieve variables from within a table.1


Retrieves large blocks of data, such as multiple rows in a table, which would otherwise require the transmission of many small blocks of data.


Stores a value in a specific variable.


Replies to the above commands sent by an NMS and to the informs sent by an agent.


Sends an unsolicited message by an SNMP agent to an SNMP manager indicating that some event has occurred.


Sends an unsolicited message by an SNMP agent to an SNMP manager indicating that some event has occurred. Differs from a trap in that an acknowledgement is required from the manager.

1 With this operation, an SNMP manager does not need to know the exact variable name. A sequential search finds the next variable from within the MIB.
2 The get-bulk command is not a part of SNMPv1.
3 The inform command is not a part of SNMPv1.

SNMP Traps and Informs

You can configure the software to send notifications to SNMP managers when particular events occur. You can send these notifications as traps or inform requests. Traps are unreliable because the receiver does not send any acknowledgment when it receives a trap. The sender cannot determine if the trap was received. However, an SNMP manager that receives an inform request acknowledges the message with an SNMP response. If the sender never receives a response, the inform request can be sent again. Informs are more likely to reach their intended destinations than traps.

Notifications may contain a list of MIB variables, or varbinds, that clarify the status that is relayed by the notification. The list of varbinds associated with a notification is included in the notification definition in the MIB. In the case of standard MIBs, Cisco has enhanced some notifications with additional varbinds that further clarify the cause of the notification.

Use the SNMP-TARGET-MIB to obtain more information on trap destinations and inform requests.


You must enable most notifications through the CLI.

Interpreting the MIB Structure

A MIB presents the managed data in a logical tree hierarchy, using an IETF standard syntax called the Structure of Management Information (SMI). Branches of this MIB tree are organized into individual tables, which contain the managed data as leaf objects.

Object Identifiers

The MIB structure is logically represented by a tree hierarchy. The root of the tree is unnamed and splits into three main branches: Consultative Committee for International Telegraph and Telephone (CCITT), International Organization for Standardization (ISO), and joint ISO/CCITT.

These branches and those branches that fall below each category have short text strings and integers to identify them. Text strings describe object names, while integers allow computer software to create compact, encoded representations of the names.

Each MIB variable is assigned with an object identifier. The object identifier is the sequence of numeric labels on the nodes along a path from the root to the object. For example, the MIB variable tftpHost is indicated by the number 1. The object identifier for tftpHost is products.stack group.tftp group.tftpHost or . The last value is the number of the MIB variable tftpHost.


SNMP MIBs organize information into tables. When network management protocols use names of MIB objects in messages, each name has an appended suffix. This suffix is called an instance identifier. It identifies one occurrence of the associated MIB object. For simple scalar objects, the instance identifier 0 refers to the instance of the object with that name (for example, sysUpTime.0).

A MIB can also contain tables of related objects. For example, ifOperStatus is a MIB object inside the ifTable from the IF-MIB. It reports the operational state for an interface on a device. Because devices may have more than one interface, it is necessary to have more than one instance of ifOperStatus. This instance value is added to the end of the MIB object as the instance identifier (for example, ifOperStatus.2 reports the operational state for interface number 2).

Each object in a table is constructed with a set of clauses defined by the SMI. These clauses include the SYNTAX clause, MAX-ACCESS clause, STATUS clause, and DESCRIPTION clause.

An excerpt of the information in the VSAN table (known as vsanTable) from CISCO-VSAN-MIB follows:

		        SYNTAX     SEQUENCE OF VsanEntry
		        MAX-ACCESS not-accessible
		        STATUS     current
		        "A table of VSANs configured on this device."
		::= { vsanConfiguration 3 }
		vsanEntry OBJECT-TYPE
		        SYNTAX     VsanEntry
		        MAX-ACCESS not-accessible
		        STATUS     current
		               "An entry (conceptual row) in the vsanTable."
		        INDEX { vsanIndex }
		        ::= { vsanTable 1 }
		VsanEntry ::= SEQUENCE {
		        vsanIndex                 VsanIndex,
		        vsanName                  SnmpAdminString,

In the example, vsanTable contains two variables: vsanIndex and vsanName. (There are more values in the actual vsanTable.) The index for this table is the ID of the VSAN, which is referred to as the vsanIndex. With n number of VSANs configured, n rows are present in the table. If you want to retrieve the vsanName that matches VSAN ID 3 (vsanIndex is 3), you would issue an SNMP get for vsanName.3.


The SYNTAX clause describes the format of the information, or value, that is returned when you monitor or set information in a MIB.

The Cisco MIBs are defined with the SNMPv2 Structure of Management Information version 2 (SNMPv2-SMI) defined in RFC 1902. Some examples of SNMPv2-SMI syntax are as follows:


A nonnegative integer that increases until it reaches some maximum value. After reaching the maximum value, it rolls over to zero. For example, the variable ifInOctets, with a Counter32 syntax, counts the number of input octets on an interface.


A nonnegative integer that increases until it reaches some maximum value. After reaching the maximum value, it stays fixed (no rollover).


A nonnegative 64-bit integer that increases until it reaches some maximum value. After reaching the maximum value, it rolls back to zero. Counter64 is used for MIB objects that can reach high values in a short period of time (for example, a packet counter for a Gigabit Ethernet port).


An integer from –232 to 232–1.


An octet string that represents an IP address. For example, the variable hostConfigAddr indicates the IP address of the host that provided the host configuration file for a device.


A nonnegative integer that counts the hundredths of a second that have elapsed since an event. For example, the variable loctcpConnElapsed provides the length of time that a TCP connection has been established.


The MAX-ACCESS clause identifies the maximum access level for the associated MIB object. This clause can represent one of the following five states: read-create, read-write, read-only, accessible-for-notify, and not-accessible.


You can read, modify, or create objects as rows in a table.


You can read or modify this object


You can only read this object.


You cannot read or write to this object. SNMP notifications can send this object as part of their event information.


You cannot read or write to this object. Table indices are typically objects that are not accessible.


In SNMP, capabilities files provide implementation details for the associated MIB. These files, called AGENT-CAPABILITIES, list supported conformance groups and any deviations from the MIB as implemented in the associated software version. For example, the CISCO-AAA-SERVER-CAPABILITY provides the implementation details for the CISCO-AAA-SERVER-MIB in different software releases.


Capabilities files might have implementation details for more than one software release. You need to match your software release to the corresponding AGENT-CAPABILITIES clause in this file.

About Cisco MIB Files

MIB II is documented in RFC 1213, Management Information Base for Network Management of TCP/IP-based Internets: MIB-II. Portions of MIB-II have been updated since RFC 1213. See the IETF website http:/​/​ for the latest updates to this MIB.

If your NMS cannot get requested information from a managed device, such as a Cisco switch, the MIB that allows that specific data collection might be missing. Typically, if an NMS cannot retrieve a particular MIB variable, either the NMS does not recognize the MIB variable, or the agent does not support the MIB variable. If the NMS does not recognize a specified MIB variable, you might need to load the MIB into the NMS, usually with a MIB compiler. For example, you might need to load the Cisco private MIB or the supported RFC MIB into the NMS to execute a specified data collection. If the agent does not support a specified MIB variable, you must find out what version of system software that you are running. Different software releases support different MIBs


Cisco and IETF MIBs are updated frequently. You should download the latest MIBs from whenever you upgrade your software.

MIB Loading Order

Many MIBs use definitions that are defined in other MIBs. These definitions are listed in the IMPORTS section near the top of the MIB.

For example, if MIB B imports a definition from MIB A, some MIB compilers require you to load MIB A prior to loading MIB B. If you get the MIB loading order wrong, you might get an error message about what was imported, claiming it is undefined or not listed in IMPORTS. If you receive an error, look at the loading order of the MIB definitions from the IMPORTS of the MIB. Make sure that you have loaded all the preceding MIBs first.

The following is a list of MIBs from which many other MIBs import definitions (the MIBs are listed in the order in which you should load them):


If you load the MIBs in this order, you can eliminate most of your load-order definition problems. You can load most other MIBs (those not listed here) in any order.

Accessing and Downloading Cisco MIB Files

You can use passive FTP to access and download the Cisco MIB files.


You can also access and download Cisco MIB files using the SNMP Object Navigator tool located at the following site:


You can use this tool to translate SNMP object identifiers (OIDs) into object names, search object names and descriptions, browse OID trees, and download MIB files.

Enabling Passive FTP on Internet Explorer


    Step 1   Open Internet Explorer, and choose Tools > Internet Options.
    Step 2   Click the Advanced tab at the top of the dialog box.
    Step 3   Scroll down to the Browsing category.
    Step 4   Check the Use Passive FTP [for firewall and DSL modem compatibility] check box.
    Step 5   Click OK to save this change.

    Using Passive FTP to Access and Download the MIB Files

    To access MIB files using passive FTP, you must know the names of the MIB files that you want to download. See the MIB support list for the names of supported MIBs. This procedure assumes that your passive FTP utility has UNIX-like commands.

      Step 1   Access using passive FTP.
      Step 2   Log in with your username and password, or as anonymous, with your e-mail address.
      Step 3   Enter cd /pub/mibs/v2/ to change directories.
      Step 4   Use the get command to copy the desired files to your local system.
      Step 5   Use the quit command to exit passive FTP.

      Understanding the ENTITY-MIB and Extensions

      The ENTITY-MIB provides basic management and identification of physical and logical entities within a network device. Cisco NX-OS support for the ENTITY-MIB focuses on the physical entities within a device. This MIB provides details about each module, power supply, and fan tray within a switch chassis. It gives enough information to correctly map the containment of these entities within the switch, building up a chassis view.

      Cisco has developed a number of private extensions to the ENTITY-MIB to provide more details for these physical entities. Each MIB extension shares the common index value, entPhysicalIndex, which allows the management application developer to link information across multiple MIBs.

      This table lists the Cisco MIB extensions that are linked to the ENTITY-MIB by entPhysical Index.

      Table 2 ENTITY-MIB Extensions




      Provides manufacturing asset number and revision information per physical entity in the switch.


      Extends the entityPhysicalTable for modules with processors. For each of these modules, this MIB provides memory statistics and LED information.


      Manages field-replaceable units, such as power supplies, fans, and modules.


      Provides sensor data for environmental monitors such as temperature gauges.


      Provides module image management based on entPhysicalIndex.

      Extending the IF-MIB

      The IF-MIB provides basic management status and control of interfaces and sublayers within a network device. Multiple standard and Cisco-specific MIBs use ifIndex from the IF-MIB to extend the management for specific interface types. Some Cisco products also add varbinds to the IF-MIB interface notifications, linkUp and linkDown, to provide a clearer indication of the reason for these notifications.