Introduction to Cisco MIBs

Similar documents
SNMP Simple Network Management Protocol

SNMP and Network Management

Network Management. Jaakko Kotimäki. Department of Computer Science Aalto University, School of Science. 21. maaliskuuta 2016

Simple Network Management Protocol

Network Management & Monitoring Introduction to SNMP

Simple Network Management Protocol

Simple Network Management Protocol

Simple Network Management Protocol

Network Management (NETW-1001)

Network Monitoring & Management Introduction to SNMP

SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)

System and Network Management

TELE 301 Network Management

SNMP....Simple Network Management Protocol...

SNMP Network Management Concepts

SNMP Extensions for a Self Healing Network

SNMP -overview. Based on: W.Stallings Data and Computer Communications

Subnetting and Network Management Omer F. Rana. Networks and Data Communications 1

Introduction to Simple Network Management Protocol (SNMP)

SNMP. Simple Network Management Protocol

The ABCs of SNMP. Info Sheet. The ABC of SNMP INTRODUCTION. SNMP Versions

An Overview of SNMP on the IMG

White Paper Case Study:

Outline of the SNMP Framework

Using SNMP for Remote Measurement and Automation

TÓPICOS AVANÇADOS EM REDES ADVANCED TOPICS IN NETWORKS

SNMP SNMP Overview CHAPTER

Network Management & Monitoring Introduction to SNMP

This watermark does not appear in the registered version - SNMP and OpenNMS. Part 1 SNMP.

Vanguard Applications Ware Basic Protocols. SNMP/MIB Management

Introduction Network Management Framework Structure of Management Information Names Instances Syntax...

Using RMON to Manage Remote Networks Gilbert Held

SNMP Basics BUPT/QMUL

Configuring SNMP Cisco and/or its affiliates. All rights reserved. 1

Oracle WebLogic Server

Configuring Simple Network Management Protocol (SNMP)

Configuring CitectSCADA SNMP projects with MIB2CIT. A reference for CitectSCADA Customers

Simple Network Management Protocol

Section 11.1, Simple Network Management Protocol. Section 11.2, Port Data Capture

Configuring SNMP and using the NetFlow MIB to Monitor NetFlow Data

Monitoring Oracle WebLogic Server with SNMP 12c (12.2.1)

Configuring Simple Network Management Protocol (SNMP)

BEA WebLogic Server. and BEA WebLogic Express. SNMP Management Guide

Cisco Change Management: Best Practices White Paper

Simple Network Management Protocol (SNMP) Primer

How To Configure Voice Vlan On An Ip Phone

Cisco CMTS Router MIB Overview

Simple Network Management Protocol

Simple Network Management Protocol

QoS: CBQoS Management Policy-to- Interface Mapping Support Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)

CCNA R&S: Introduction to Networks. Chapter 5: Ethernet

This Lecture. NWEN 403 Advanced Network Engineering. Network Management. Outline. Network management. Qiang Fu

School of Information Technology and Engineering (SITE) CEG 4395: Computer Network Management. Lab 4: Remote Monitoring (RMON) Operations

Network Management. What is network management?

This guide provides instructions on how to configure SNMP feature on Yealink IP phones and test SNMP feature using a free SNMP test tool.

Operations Manager: Network Monitoring

How To Understand and Configure Your Network for IntraVUE

Chapter 38 Simple Network Management Protocol (SNMP)

Brocade Product Training

Access5800 Firmware Version 1.6 Release Notes 2/28/03

Tenor SNMP Implementation

Simple Network Management Protocol SNMP

Technical Notes P/N Rev 01

Comparison of SNMP. Versions 1, 2 and 3

Lecture 5: Foundation of Network Management

Network Management Functions RMON1, RMON2. Network Management

SolarWinds Certified Professional. Exam Preparation Guide

Know the signs of potential problems. Prevent problems before they occur. This unit contains the following three lessons:

SNMP SMI Structure of Management Information

SNMP Agent Plug-In Help Kepware Technologies

ITEC310 Computer Networks II

OM2012 Network Monitoring. Phil Bracher Sr. Premier Field Engineer Microsoft Corporation

Network Discovery Protocol LLDP and LLDP- MED

Network Discovery Protocol LLDP and LLDP- MED

Configuring SNMP Monitoring

Additional Information: A link to the conference website is available at:

Network monitoring with simple network monitoring protocol in optical feeder network

Network Analysis Modules

NNMi120 Network Node Manager i Software 9.x Essentials

Simulation of an SNMP Agent: Operations, Analysis and Results

Active Management Services

SSVP SIP School VoIP Professional Certification

Procedure: You can find the problem sheet on Drive D: of the lab PCs. 1. IP address for this host computer 2. Subnet mask 3. Default gateway address

Network Management Tools for Tactical Network Testing and Monitoring on Test Ranges

SSVVP SIP School VVoIP Professional Certification

Presented by Aurang Zeb 14CS-03. Network Management System

TECHNICAL NOTES. Technical Notes P/N REV A01. EMC ITOI VoIP Management Suite 8.1. May, 2012

Troubleshooting and Maintaining Cisco IP Networks Volume 1

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

Dell OpenManage SNMP Reference Guide Version 8.0.1

CA Spectrum. Certification User Guide. Release 9.4

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

MANAGING NETWORK COMPONENTS USING SNMP

Configuring and Managing Token Ring Switches Using Cisco s Network Management Products

Transcription:

CHAPTER 1 Introduction to Cisco MIBs This online reference provides a basic description about Management Information Base (MIB) objects and how they are used with Enterprise switches. This section contains the following information: MIB Definition Cisco MIB Files SNMP Description MIB Hierarchy MIB Definition Network management takes place between two major types of systems: those in control, called managing systems, and those observed and controlled, 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 routers or intelligent repeaters. To promote interoperability, cooperating systems must adhere to a common framework and a common language, called a protocol. In the Internet network management framework, that protocol is the Simple Network Management Protocol (SNMP). (Refer to SNMP Description for additional information.) 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, as required, to the NMS. For example, an agent might report such data as the number of bytes and packets in and out of the device, Introduction to Cisco MIBs 1-1

MIB Definition or the number of broadcast messages sent and received. In the Internet network management framework, each variable is referred to as a managed object, which is 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. The managed objects, or variables, can be set or read to provide information on network devices and interfaces. An NMS can control a managed device by sending a message to an agent of that managed device requiring the device to change the value of one or more of its variables. Object Identifier Each MIB variable is assigned 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 iso.org.dod.internet.private.enterprise.cisco.workgroup products.stack group.tftp group.tftphost variable or 1.3.6.1.4.1.9.5.1.5.1. Figure 1-1 provides a visual representation of this variable. The last value is the number of the MIB variable tftphost. Refer to the section MIB Hierarchy for additional information. Figure 1-1 Object Identifier Example for a MIB Variable iso.org.dod.internet.private.enterprise.cisco workgroup products.stack group.tftp group.[mib Variable] 1.3.6.1.4.1.9.5.1.5.[MIB Variable] tftphost [1] S5899 1-2 Enterprise MIB User Quick Reference

MIB Definition Tables When network management protocols use names of MIB variables in messages, each name has an appended suffix. This suffix is called an instance identifier. For simple variables, the instance identifier 0 refers to the instance of the variable with that name. A MIB also can contain tables of related variables. An excerpt of the information on the local IP routing table (known as liproutingtable) from the associated MIB file follows: Note The local IP routing table is not supported by Catalyst 5000 series switches and is used as an example only. liproutingtable OBJECT-TYPE SYNTAX SEQUENCE OF liprouteentry ACCESS not-accessible STATUS mandatory DESCRIPTION A list of IP routing entries. ::= { lip 2 } liprouteentry OBJECT-TYPE SYNTAX liprouteentry ACCESS not-accessible STATUS mandatory DESCRIPTION A collection of additional objects in the cisco IP routing implementation. INDEX { iproutedest } ::= { liproutingtable 1 } liprouteentry ::= SEQUENCE { locrtmask lipaddress, locrtcount INTEGER, } Introduction to Cisco MIBs 1-3

Cisco MIB Files In the example, the liproutingtable contains two variables: locrtmask and locrtcount. The index for this table is the destination address of the IP route, or iproutedest. With n number of routes available to a device, n rows are available in the IP routing table. Typically, an instance identifier might be a unique interface number or a 0. An instance identifier can also be an IP address. For example, to find the network mask for the route with a destination address of 131.104.211.243, use the variable locrtmask (locate route mask) with an instance identifier of 131.104.211.243. The format is locrtmask.131.104.211.243. For additional information on instance identifiers, refer to the section Defining Instance Identifiers and Displaying the IF-INDEX. Cisco MIB Files The Cisco MIB for Cisco IOS is provided with all Cisco software releases and with CiscoWorks router management software. The Cisco MIB is a set of variables that are private extensions to the Internet standard MIB II. The MIB II is documented in RFC 1213, Management Information Base for Network Management of TCP/IP-based Internets: MIB-II. Many other Internet-standard MIBs are supported by Cisco agents. These standard MIBs are defined in publications called Requests for Comments (RFCs). To find specific MIB information, you must examine the Cisco proprietary MIB structure and the standard RFC MIBs supported by Cisco. If your NMS is unable to get requested information from a managed device such as a Cisco router, 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 Workgroup 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 Cisco IOS or system software you are running. Different MIBs are supported in different software releases. 1-4 Enterprise MIB User Quick Reference

Cisco MIB Files Cisco MIB File Subdirectories Cisco s public MIB files are organized into two subdirectories: SNMPv1 MIBs are in the v1/ subdirectory and SNMPv2 MIBs are in the v2/ subdirectory. Determine which MIBs the switch supports and get a description of the files by retrieving the following: supportlists.txt file Describes which MIBs the switch supports v1/readme Describes the SNMPv1 MIBs in the subdirectory v2/readme Describes the SNMPv2 MIBs in the subdirectory MIB-Loading Order Many MIBs use definitions that are defined in other MIBs. These definitions are listed in the section titled IMPORTS near the top of the MIB. 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, the MIB compiler might complain about what was imported claiming it as undefined or not listed in IMPORTS. If this happens, 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. Following is a list of MIBs from which many other MIBs import definitions and the order in which you should load these MIBs: 1 SNMPv2-SMI.my 2 SNMPv2-TC.my 3 SNMPv2-MIB.my 4 RFC1213-MIB.my 5 IF-MIB.my 6 CISCO-SMI.my 7 CISCO-PRODUCTS-MIB.my 8 CISCO-TC.my If you load the MIBs in this order, you can eliminate 95 percent of your load-order definition problems. Introduction to Cisco MIBs 1-5

SNMP Description Note You can load most other MIBs (not in the list shown in the section MIB-Loading Order ) in any order. SNMP Description You can access the Cisco MIB variables through the SNMP, an application-layer protocol designed to facilitate the exchange of management information between network devices. The SNMP system consists of three parts: SNMP manager, SNMP agent, and MIB. The SNMP manager can be part of a network management system (NMS), and the SNMP agent can reside on a networking device such as a switch. You can compile the Cisco MIB with your network management software. If SNMP is configured on a Catalyst 5000 series switch, the SNMP agent responds to MIB-related queries being sent by the NMS. As shown in Figure 1-2, the SNMP agent gathers data from the MIB. Then, the agent can send traps, or notifications of certain events, to the manager. The SNMP manager uses information in the MIB to perform the operations described in Table 1-1. Figure 1-2 SNMP Network 1-6 Enterprise MIB User Quick Reference

Table 1-1 SNMP Manager Operations Operation get-request get-next-request get-bulk 2 set-request get-response trap Description Retrieve a value from a specific variable. Retrieve the value following the named variable. Often used to retrieve variables from within a table. 1 Retrieve large blocks of data, such as multiple rows in a table, which would otherwise require the transmission of many small blocks of data. Store a value in a specific variable. The reply to the above commands sent by an NMS. An unsolicited message sent by an SNMP agent to an SNMP manager indicating that some event has occurred. 1. With this operation, an SNMP manager does not need to know the exact variable name. A sequential search is performed to find the needed variable from within the MIB. 2. The get-bulk command only works with SNMP version 2. MIB Hierarchy The MIB structure is logically represented by a tree hierarchy. (See Figure 1-3.) 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 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. For example, the Cisco MIB variable authaddr is an object name and is denoted by number 5, which is listed at the end of its object identifier number 1.3.6.1.4.1.9.2.1.5. The Internet standard MIB is represented by the object identifier 1.3.6.1.2.1. It also can be expressed as iso.org.dod.internet.mgmt.mib. (See Figure 1-3.) Introduction to Cisco MIBs 1-7

Figure 1-3 Internet MIB Hierarchy ISO 1 Org 3 Dod 6 Internet 1 Directory 1 Mgmt 2 Experimental 3 Private 4 S3182 MIB 1-8 Enterprise MIB User Quick Reference

Cisco MIB Hierarchy The object identifier 1.3.6.1.4.1.9, or iso.org.dod.internet.private.enterprise.cisco represents the Cisco Workgroup MIB. The Cisco Workgroup MIB splits into two main areas: Workgroup Products and Cisco Management. Note Local variables do not change; they are supported by the Cisco Workgroup or Management MIBs in each subsequent system software release. As indicated by the name, temporary variables might have a limited time span or change with each system software release. (See Figure 1-4.) Catalyst 5000 MIB Hierarchy In Figure 1-4, the Stack MIB group is identified by 1; its subgroup, called tftp grp, is identified by 5. Therefore, a variable in the subgroup tftp grp has an object identifier (OID) of 1.3.6.1.4.1.9.5.1.5.n, where n equals the variable number. An appended 0 (for example, 1.3.6.1.4.1.9.5.1.5.n.0) indicates that there is only one instance of this variable. LightStream 1010 MIB Hierarchy In Figure 1-5, the Local MIB group is identified by 2; its subgroups, called SYSTEM, are identified by 1 and its subgroup called ciscoping, are identified by 7. Therefore, the variable in the subgroup ciscoping has an OID of 1.3.6.1.4.1.9.2.1.7.0. The appended 0 indicates that 1.3.6.1.4.1.9.2.1.7.0 is the only instance of this variable. Note Local variables do not change; they are supported by the Cisco MIB in each subsequent system software release. As indicated by the name, temporary variables might have a limited time span or change with each system software release. Introduction to Cisco MIBs 1-9

Catalyst 3000 MIB Hierarchy In Figure 1-6, the esstack MIB is identified by 12: its subgroup, called configuration objects, is identified by 1. Therefore, a variable in the subgroup configuration objects has an OID of 1.3.6.1.4.1.9.5.14.2.n, where n equals the variable number. An appended 0 (for example, 1.3.6.1.4.1.9.5.14.2.n.0) indicates that there is only one instance of this variable. Catalyst 8510 MIB Hierarchy The MIB hierarchy for the Catalyst 8510 are the same as those illustrated for the LightStream 1010 (see Figure 1-5). 1-10 Enterprise MIB User Quick Reference

Figure 1-4 Workgroup products 5 Catalyst 5000 MIB Hierarchy Cisco 9 Label from the root to this point is 1.3.6.1.4.1 Stack 1 System group [1] Chassis group [2] Module group [3] Port group [4] Trivial File Transfer Protocol group [5] Bridging/Router Group [6] Filter group [7] Monitor group [8] VLAN group [9] Security group [10] Token Ring group [11] Multicast group [12] Domain Naming System group [13] System Log Information group [14] Network Time Protocol group [15] Terminal Access Controller Access Control System group [16] IP Permit List group [17] Port Channel group [18] Port Capabilities Group [19] Port TopNl group [20] Multiple Default Gateway group [21] Trace Route group [24] S5929 Introduction to Cisco MIBs 1-11

Figure 1-5 LightStream 1010 MIB Hierarchy Enterprise 1 Cisco 9 Local 2 Temporary 3 Workgroup 5 CiscoManagement 9 CiscoExperiment 10 SYSTEM (1) ciscoping (7) CHASSIS (6) CISCO-RHINO-MIB (11) - CISCO-ATM-RM-MIB (10) - CISCO-ATM-TRAFFIC-MIB (11) - CISCO-ATM-ADDR-MIB (12) - CISCO-ATM-CONN-MIB (13) - CISCO-ATM-IF-MIB (14) - CISCO-OAM-MIB (15) - ATM-RMON-MIB (16) - ACCOUNTING-CONTROL-MIB (17) - ATM-ACCOUNTING-INFORMATION-MIB (18) - CISCO-ATM2-MIB (23) - CISCO-DS0BUNDLE-MIB (32): 8510 MSR only - CISCO-DS0BUNDLE-EXT-MIB (33): 8510 MSR only - CISCO-FLASH-MIB (10) - CISCO-PING-MIB (16) - CISCO-CDP-MIB (23) - CISCO-IMAGE-MIB (25) - CISCO-LECS-MIB (38) - CISCO-LES-MIB (39) - CISCO-BUS-MIB (40) - CISCO-SYSLOG-MIB (41) - CISCO-CONFIG-MAN-MIB (43) - CISCO-ATM-IF-PHYS-MIB (45) - CISCO-MEMORY-POOL-MIB (48) - CISCO-ATM-SERVICE-REGISTRY-MIB (50) - CISCO-ATM-SWITCH-ADDR-MIB (51) - CISCO-PNNI-MIB (65) - CISCO-ATM-ACCESS-LIST-MIB (67) - CISCO-LEC-DATA-VCC-MIB (69) - CISCO-LEC-EXT-MIB (77) - CISCO-ATM-SIG-DIAG-MIB (78) - CISCO-ATM-SWITCH-CUG-MIB (89) - CISCO-CONFIG-COPY-MIB (96) - CISCO-C8500-REDUNDANCY-MIB (105): 8540 MSR only - CISCO-ATM-SWITCH-FR-RM-MIB (110): 8510 MSR only - CISCO-ATM-SWITCH-FR-IWF-MIB (112): 8510 MSR only - CISCO-TELCO-PHY-DEV-MIB (119) - CISCO-ATM-NETWORK-CLOCK-MIB (121) S6748 1-12 Enterprise MIB User Quick Reference

Figure 1-6 Catalyst 3000 MIB Hierarchy Cisco 9 Workgroup products 5 esstack 1 Configuration Objects [1] Stack Management group [2] Module group [3] Port group [4] EtherChannel Table [6] Filter group [7] VLAN group [8] Router group [9] 12512 Introduction to Cisco MIBs 1-13

1-14 Enterprise MIB User Quick Reference