C H A P T E R 1

SNMP Overview

Topics
Description | Links
--- | ---
Learn about SNMP, SNMP components, and SNMP MIBs | About Simple Network Management Protocol
Learn about preparing your system to use SNMP, SNMP components, and SNMP MIBs | Preparing Your System to Use SNMP SNMP Components ILOM SNMP MIBs
Quick reference of Net-SNMP Command examples | SNMP Command Examples

Related Topics
For ILOM | Section | Guide
--- | --- | ---
Concepts | ILOM Overview | Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide (820-6410)
CLI | CLI Overview | Oracle Integrated Lights Out Manager (ILOM) 3.0 CLI Procedures Guide (820-6412)
Web interface | Web Interface Overview | Oracle Integrated Lights Out Manager (ILOM) 3.0 Web Interface Procedures Guide (820-6411)
IPMI | IPMI Overview | Oracle Integrated Lights Out Manager (ILOM) 3.0 Management Protocols Reference Guide (820-6413)
The ILOM 3.0 Documentation Collection is available at: `http://docs.sun.com/app/docs/prod/int.lights.mgr30#hic`

##

About Simple Network Management Protocol

ILOM supports the Simple Network Management Protocol (SNMP), which is used to exchange data about network activity. SNMP is an open, industry-standard protocol technology that enables the management of networks and devices, or nodes, that are connected to the network. Using SNMP, data travels between a managed device (node) and a management station with network access. A managed device can be any device that runs SNMP, such as hosts, routers, web servers, or other servers on the network. SNMP messages are sent over IP using the User Datagram Protocol (UDP). Any management application that supports SNMP can manage your server.

For a more complete description of SNMP, see the SNMP five-part, introductory tutorial available at:

`http://www.dpstele.com/layers/l2/snmp_l2_tut_part1.php`

ILOM supports SNMP versions 1, 2c, and 3. Using SNMP v3 is strongly advised since SNMP v3 provides additional security, authentication, and privacy beyond SNMP v1 and v2c.

SNMP is a protocol, not an application, so you need an application to utilize SNMP messages. Your SNMP management software might provide this functionality, or you can use an open source tool like Net-SNMP, which is available at:

`http://net-snmp.sourceforge.net/`

Note - ILOM users reading this document are assumed to have a working knowledge of SNMP. SNMP client-side commands are used in this text as examples of using SNMP. Users who do not have a working knowledge of SNMP should complete the tutorial at:`http://net-snmp.sourceforge.net/wiki/index.php/Main_Page` This tutorial is more advanced than the introductory tutorial referred to above.

##

Preparing Your System to Use SNMP

To prepare your system to use SNMP, you must download and install the latest version (version 5.2.1 or higher) of Net-SNMP that works with the operating system of your management station or the SNMP tool of your choice.

For more information about preparing your system to use SNMP, see one of the following guides:

- Oracle Integrated Lights Out Manager (ILOM) 3.0 CLI Procedures Guide

- Oracle Integrated Lights Out Manager (ILOM) 3.0 Web Interface Procedures Guide

##

SNMP Components

SNMP functionality requires the following two components:

- Network management station - A network management station hosts management applications, which monitor and control managed nodes.

- Managed node - A managed node is a device such as a server, router, or hub that hosts SNMP management agents that are responsible for carrying out requests from management stations, such as a service processor (SP) running ILOM. Managed nodes can also provide unsolicited status information to a management station in the form of a trap.

SNMP is the protocol used to communicate management information between management stations and SNMP agents.

The SNMP agent is preinstalled on your Oracle Sun server platform and runs on ILOM, so all SNMP management occurs through ILOM. To utilize this feature, your operating system must have an SNMP client application.

Both management stations and agents use SNMP messages to communicate. Management stations can send and receive information. Agents can respond to requests and send unsolicited messages in the form of traps. Management stations and agents use the following functions:

- Get

- GetNext

- GetResponse

- Set

- Trap

##

ILOM SNMP MIBs

The base component of an SNMP implementation is the Management Information Base (MIB). A MIB is a text file that describes a managed node’s available information. This tree-like, hierarchical system classifies information about resources in a network as a list of data objects, each with a unique identifier, or object ID. Thus, the MIB defines the data objects, or variables, that the SNMP agent can access. When a management station requests information from a managed node, the agent receives the request and retrieves the appropriate information from the MIBs. In ILOM, the MIB makes it possible to access the server’s network configuration, status, and statistics.

As of ILOM 3.0.4, SNMP MIBs are a part of the ILOM firmware. You can download MIBs directly from ILOM. For more information about MIBs, and instructions for downloading MIBs from ILOM, see the following guides:

- Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide

- Oracle Integrated Lights Out Manager (ILOM) 3.0 CLI Procedures Guide

- Oracle Integrated Lights Out Manager (ILOM) 3.0 Web Interface Procedures Guide

FIGURE 1-1 shows the standard MIB tree and the location of the ILOM MIB modules in that tree. The ILOM MIB modules are highlighted in boldface text.

FIGURE 1-1 Location of ILOM MIB Modules

TABLE 1-1 provides a description of the ILOM MIB modules and lists the object ID for each MIB name.

TABLE 1-1 SNMP MIBs Used With ILOM
MIB Name | Description | MIB Object ID
--- | --- | ---
ENTITY-MIB | The MIB module for representing multiple physical entities supported by a single SNMP agent. Note - The entPhysicalTable is the only part of this MIB that is implemented. | 1.3.6.1.2.1.47
SUN-HW-CTRL-MIB | This MIB allows controls for all Oracle Sun server platform devices using ILOM. Note - Only the Power Management portions of this MIB are implemented. | 1.3.6.1.4.1.42.2.175.104
SUN-HW-TRAP-MIB | This MIB describes the hardware related notifications/traps that may be generated by Oracle Sun server platforms. | 1.3.6.1.4.1.42.2.175.103
SUN-ILOM-CONTROL-MIB | This MIB provides objects for configuring and managing all ILOM functions. Configuration covered by this MIB includes functions such as authorization, authentication, logging, services, networking, and firmware management. | 1.3.6.1.4.1.42.2.175.102
SUN-PLATFORM- MIB | This MIB provides extensions to the ENTITY-MIB (RFC 2737) where each entity modeled in the system is represented by means of extensions to the entPhysicalTable. | 1.3.6.1.4.1.42.2.70.101

Portions of the standard MIBs listed in TABLE 1-2 are implemented by ILOM.

TABLE 1-2 Standard MIBs Implemented by ILOM
MIB Name | Description | MIB Object ID
--- | --- | ---
IF-MIB | The MIB module for describing generic objects for network interface sub-layers. This MIB is an updated version of MIB-II’s ifTable, and incorporates the extensions defined in RFC 1229. | 1.3.6.1.2.1.31
IP-MIB | The MIB module for managing IP and ICMP implementations, but excluding their management of IP routes. | 1.3.6.1.2.1.4.
SNMP-FRAMEWORK-MIB | The SNMP Management Architecture MIB. | 1.3.6.1.6.3.10
SNMPv2-MIB | The MIB module for SNMP entities. Note - Only the system and SNMP groups from this MIB module apply to ILOM. | 1.3.6.1.6.3.1
TCP-MIB | The MIB module for managing TCP implementations. | 1.3.6.1.2.1.49
UDP-MIB | The MIB module for managing UDP implementations. | 1.3.6.1.2.1.50

TABLE 1-3 describes MIBs that are used in support of the ILOM SNMP implementation.

TABLE 1-3 MIBs Used in Support of the ILOM SNMP Implementation
MIB Name | Description | MIB Object ID
--- | --- | ---
HOST-RESOURCES-MIB | This MIB is for use in managing host systems. This MIB supports attributes common to all internet hosts including, for example, both personal computers and systems that run variants of UNIX. | 1.3.6.1.2.1.25.1
IANAifType-MIB | This MIB module defines the IANAifType Textual Convention, and thus the enumerated values of the ifType object defined in MIB-II’s ifTable. | 1.3.6.1.2.1.30
NOTIFICATION-LOG-MIB | This MIB module is used for logging SNMP notifications (traps). | 1.3.6.2.1.92.1.1.3
SNMP-MPD-MIB | This MIB module is used for Message Processing and Dispatching. | 1.3.6.1.6.3.11
SNMPv2-TM | This MIB module is used for SNMP transport mappings. | 1.3.6.1.6.3.19
SNMPv2-SMI | This MIB module contains definitions for the structure of management information, version 2. | 1.3.6.1.6

Copyright © 2010, Oracle and/or its affiliates. All rights reserved.