Lec7: SNMP Management Information

Slides:



Advertisements
Similar presentations
Management Information Base for Version 2 of the Simple Network Management Protocol Presented by Zhou Ji (MIB for SNMPv2) By SNMPv2 Working Group.
Advertisements

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 24 Network Management: SNMP.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Simple Network Management Protocol (SNMP) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
TCP/IP Protocol Suite 1 Chapter 21 Upon completion you will be able to: Network Management: SNMP Understand the SNMP manager and the SNMP agent Understand.
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Simple Network Management Protocol (SNMP) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
1 SNMP Simple Network Management Protocol. 2 SNMP Overview Define mechanism for remote management of network devices (routers, bridges, etc.) Fundamental.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Simple Network Management Protocol (SNMP) Shivkumar Kalyanaraman Rensselaer Polytechnic Institute.
COMP4690, by Dr Xiaowen Chu, HKBU
SNMP Simple Network Management Protocol. Computer Center, CS, NCTU 2 Introduction  SNMP – Simple Network Management Protocol A set of standards for network.
SNMP Simple Network Management Protocol
Agenda SNMP Review SNMP Manager Management Information Base (MIB)
Network Management: SNMP
1 Kyung Hee University Prof. Choong Seon HONG SNMP Management Information.
SNMP (Simple Network Management Protocol) Jon Sevy Geometric and Intelligent Computing Laboratory Department of Mathematics and Computer Science Drexel.
ENS 1 SNMP M Clements. ENS 2 Simple Network Management Protocol Manages elements in networks – E.g. routers, switches, IP phones, printers etc. Uses manager.
Chapter 6 Overview Simple Network Management Protocol
McGraw-Hill The McGraw-Hill Companies, Inc., 2000 SNMP Simple Network Management Protocol.
TCP/IP Protocol Suite 1 Chapter 21 Upon completion you will be able to: Network Management: SNMP Understand the SNMP manager and the SNMP agent Understand.
SNMP Management Information
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 23 Simple Network Management Protocol (SNMP)
SNMP: Simple Network Management Protocol
SNMP (Simple Network Management Protocol)
Network Protocols UNIT IV – NETWORK MANAGEMENT FUNDAMENTALS.
SNMP ( Simple Network Management Protocol ) based Network Management.
Internet Standard Management Framework w.lilakiatakun.
9/15/2015© 2008 Raymond P. Jefferis IIILect Application Layer.
Internet Standard Management Framework w.lilakiatakun.
1 Introduction to Internet Network Management Mi-Jung Choi Dept. of Computer Science KNU
1 SNMP Simple network management protocol Group: Techno Presented by: Karthik Gottiparthy Gautami Parulkar Neeraj Sharma Jigar Patel Hariharan Venkataraman.
Network Management8-1 Chapter 8: Network Management Chapter goals: r introduction to network management m motivation m major components r Internet network.
1 © 1999 BMC SOFTWARE, INC. 2/10/00 SNMP Simple Network Management Protocol.
SNMP ITL. ITL: © Hans Kruse, Shawn Ostermann, Carl Bruggeman2 Objectives Overview of SNMP SNMP Tools SNMP Monitoring Infrastructure.
MRTG Speaker: Yan-Shiang Wang Adviser: Quincy Wu Date: 2005/11/23.
BAI513 - PROTOCOLS SNMP BAIST – Network Management.
SNMP 1. SNMP is an Internet protocol developed by the IETF. It is designed to facilitate the exchange of management information between network elements.
Management Information Base for Version 2 of the Simple Network Management Protocol (MIB for SNMPv2)
Network Management Security
Advanced Network Protocols CSCI 5132 Chapter 30 Simple Network Management Protocol By Chetan Singh Haaris Sheikh Lakshmi Menon Kavita Sarma.
 Introduction  Structure of Management Information  Practical Issues  Summary 2.
Lec 2: Infrastructure of Network Management Part1 from : Computer Networking: A Top Down Approach 6 th edition – Chapter 9 1 Organized by: Nada Alhirabi.
Chapter 36 Network Management & SNMP. Network management monitors network related hardware & software; troubleshoot network problems Detects major failures.
ITL Getting Information: Packet Sniffing Cisco Router Commands SNMP.
Manajemen Jaringan, Sukiswo ST, MT 1 SNMP Management Information Sukiswo
Network Management Workshop June 2009 Papeete, French Polynesia
The Structure of Management Information (SMI) Naming OIDs, Defining OIDs SNMP Operations Hamdamboy Urunov, a Ph.D. Researcher student. Special Communication.
Simple Network Management Protocol
Network management Communication model
SNMP Simple network management protocol
SNMP.
Karl Quinn 23rd November 2004 NDS M.Sc.
Network Management: SNMP
Advanced Network Protocols
APRICOT 2008 Network Management Taipei, Taiwan February 20-24, 2008
SNMP M Clements ENS.
Network Management Workshop November 2009 Nadi, Fiji
SNMP M Clements ENS.
Network Management Workshop June 2009 Papeete, French Polynesia
Network Management Computer Networks.
Dept. of Computer Science and Engineering
Introduction to Internet Network Management
System and Network Management
SNMP M Clements ENS.
SNMP (Simple Network Management Protocol) based Network Management
Network Management Workshop intERlab at AIT Thailand March 11-15, 2008
SNMP (Simple Network Management Protocol) based Network Management
COMS/CSEE 4140 Networking Laboratory Lecture 10
Simple Network Management Protocol
A Brief Introduction to Internet Network Management
Standards, Models and Language
Presentation transcript:

Lec7: SNMP Management Information

Outline Introduction Structure of Management Information Practical Issues Summary

SNMP Management Structure

Introduction In order to retrieve or change values stored within a managed device with SNMP information must be kept by the managed device information must be kept in a standard way Information in a managed object is kept in a MIB (Management Information Base)

Introduction (cont.) Each Resource to be managed is represented by an Object. The MIB is a structured collection of such objects. For SNMP, the MIB is, in essence a database structure in form of a tree. Each system (workstation, server, router, bridge etc.) in a network or internetwork maintains a MIB that reflects the status of the managed resources at that system. A network management entity can monitor the resources at that system by reading the values of objects in the MIB and may control the resources at that system by modifying those vales.

SNMP defines the format of packets exchanged between a manager and an agent. It reads and changes the status (values) of objects (variables) in SNMP packets.

Structure of Management Information Base SMI (RFC 1155) defines the general framework within which a MIB can be defined and constructed. identifies data types, and specifies how resources within the MIB are represented and named. Encourages simplicity and extensibility within the MIB. Stores simple data: scalars and two-dimensional arrays of scalars One example of a scalar object could be an ip Address and that for a Tabular object could be a table of user information Each object has an associated identifier of the Abstract Syntax Notation One (ASN.1) type Object Identifier (OID) When an SNMP manager requests an object, it sends the OID to the SNMP agent

SNMP MANAGEMENT INFORMATION BASE SMI Object Tree All managed objects in the SNMP environment are arranged in a hierarchical or tree structure. Any node with children is a Subtree Otherwise a leaf node. e.g. OID for internet is 1.3.6.1, directory is 1.3.6.1.1 and for tcpConnTable is 1.3.6.1.2.1.6.13 that is; iso org dod internet mgmt mib-2 tcp tcpConnTable Manufacturers of networking equipment can add product specific objects to the hierarchy; under enterprises. mib – 2 (1) enterprises (1) system(1) interfaces(2) at(3) ip(4) icmp(5) tcp(6) udp(7) egp(8) transmission(10) snmp(11) tcpConnTable(13)

SNMP MANAGEMENT INFORMATION BASE Defining Objects – ASN.1 allowed Object Syntax Each object within an SNMP MIB is defined in a formal way. Definition specifies the data type of the object, its allowed value ranges, and its relationship to other objects in the MIB. ASN.1 includes a number of predefined universal types and a grammar for defining new types that are derived from the existing ones. Universal Types INTEGER OCTETSTRING NULL OBJECT IDENTIFIER SEQUENCE SEQUENCE-OF Application-wide Types Networkaddress Ipaddress Counter Gauge Timeticks Opaque

SNMP MANAGEMENT INFORMATION BASE Defining Objects – Cont’d A Management Information base consists of a set of Objects Each object has a type and a value SNMP Managed Objects are defined using macro Object definition levels are; Macro definition, macro instance, and macro instance value. Macro used for SNMP MIBs was initially defined in RFC 1155 (SMI), and later expanded in RFC 1212 (Concise MIB definitions) RFC 1155 is used for defining MOs in MIB-I RFC 1212 is used for defining MOs in MIB-II which is implemented in most SNMP agents today.

SNMP MANAGEMENT INFORMATION BASE Defining Objects – Cont’d MIB Object definition is mainly composed of: Syntax, Access and Status OBJECT-TYPE String that describes the MIB object. Object IDentifier (OID). SYNTAX Defines what kind of info is stored in the MIB object. “datatype” ACCESS read-only, write-only, read-write, not accessible. STATUS Implementation support required. Either mandatory, optional, or deprecated DESCRIPTION Textual description describing this particular managed object. Reason why the MIB object exists. Unique OID that defines this object Object Definition Example tcpMaxConn OBJECT-TYPE SYNTAX INTEGER ACCESS read-only STATUS mandatory DESCRIPTION “The limit on the total number of TCP connections the entity can support.” ::= {tcp 4}

SNMP MANAGEMENT INFORMATION BASE Defining Tables SNMP MIB structure only supports a simple 2-dimensional table with scalar-valued entries The definition of tables involves the use of the sequence and sequence-of ASN.1 types and the IndexPart of the OBEJECT-TYPE macro. For example: the tcpconnTable seen earlier has OID 1.3.6.1.2.1.6.13 that contains information about TCP connections, may contain: state, local address, local port, remote address, remote port e.t.c In particular, definition involves use of: Sequence of Sequence

Table Definition SEQUENCE OF TcpConnEntry SEQUENCE ASN.1 constructs SEQUENCE OF consists of one or more elements, all of the same type Each element is a row of the table A table consists of zero or more rows SEQUENCE ASN.1 constructs SEQUENCE consists of a fixed no. of elements, possibly of more than one type Each row of the table contains elements of type INTEGER, IpAddress, INTEGER (..65535), IpAddress, INTEGER

SNMP MANAGEMENT INFORMATION BASE Defining Tables – Cont’d xxxxTable xxxxEntry SEQUENCE OF Element-1 Elements can only be scalar objects. Nesting tables not supported. IndexPart used to distinguish each row in the table. Element-2 SEQUENCE Element-3 Element-n

SNMP MANAGEMENT INFORMATION BASE Defining Tables – MIB II Specification of TCP connection table (RFC 1213)

SNMP MANAGEMENT INFORMATION BASE Defining Tables – Instance of a TCP connection table

SNMP MANAGEMENT INFORMATION BASE MIB II MIB-II (RFC 1213) defines the second version of the MIB; the first version, MIB-I is in RFC 1156. MIB-II is a superset of MIB-I with some additional objects and groups. Every device that supports SNMP must also support MIB-II Some criteria for object inclusion in MIB II include: Only essential objects, Weak Control Objects, Evidence of current use and utility, Unlimited number of Objects, No derived objects, e.t.c

SNMP MANAGEMENT INFORMATION BASE MIB II Object Groups

Results We can compare the task of network management to the task of writing a program. ❏ Both tasks need rules. In network management this is handled by SMI. ❏ Both tasks need variable declarations. In network management this is handled by MIB. ❏ Both tasks have actions performed by statements. In network management this is handled by SNMP.

References Chu-Sing Yang, Chapter 5: SNMP Management Information, Department of Electrical Engineering National Cheng Kung University Rashid Mijumbi, SNMP MANAGEMENT INFORMATION BASE Chapter 21:Network Management:SNMP