1 SNMPv2 by Behzad Akbari Fall 2008 In the Name of the Most High.

Slides:



Advertisements
Similar presentations
Chapter 6 SNMPv2 6-1 Network Management: Principles and Practice
Advertisements

1 Pertemuan 05 Model Informasi - SMI Matakuliah: H0372/Manajemen Jaringan Tahun: 2005 Versi: 1/0.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 24 Network Management: SNMP.
1 Pertemuan 03 Garis besar manajemen jaringan Matakuliah: H0372/Manajemen Jaringan Tahun: 2005 Versi: 1/0.
Chapter 7  Management Information Base (MIB) 1 Chapter 7 Overview  Structure of management info (SMI)  Definition of mib-2 objects  Use of MIB browser.
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.
1 Fundamentals of SNMP. 2 Simple Network Management Protocol Three Essentials Structure for Management Information (SMI) Set of rules for specifying management.
CSEE W4140 Networking Laboratory Lecture 11: SNMP Jong Yul Kim
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
MJ04/07041 Session 04 Arsitektur SNMP Organization Model Adapted from Network Management: Principles and Practice © Mani Subramanian 2000 and solely used.
Pertemuan 10 Perbedaan antar versi SNMP
CSEE W4140 Networking Laboratory Lecture 11: SNMP Jong Yul Kim
1 SNMP Simple Network Management Protocol. 2 SNMP Overview Define mechanism for remote management of network devices (routers, bridges, etc.) Fundamental.
MJ08/07041 Session 08 SNMPv2 Adapted from Network Management: Principles and Practice © Mani Subramanian 2000 and solely used for Network Management course.
SNMP Plugin TSC Update December,
COMP4690, by Dr Xiaowen Chu, HKBU
1 Network Management and SNMP  What is Network Management?  ISO Network Management Model (FCAPS)  Network Management Architecture  SNMPv1 and SNMPv2.
SNMP & MIME Rizwan Rehman, CCS, DU. Basic tasks that fall under this category are: What is Network Management? Fault Management Dealing with problems.
SNMP Simple Network Management Protocol
1 SNMPv2 by Behzad Akbari Fall 2011 In the Name of the Most High These slides are based in parts upon slides of Prof. Dssouli (Concordia university )
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.
Chapter 6 Overview Simple Network Management Protocol
SNMPv2 Yen-Cheng Chen Department of Information Management National Chi Nan University Puli, Nantou, Taiwan.
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.
SNMP Management: Management Information Base by Behzad Akbari Fall 2008 In the Name of the Most High.
Internet Standard Management Framework w.lilakiatakun.
1 Introduction to Internet Network Management Mi-Jung Choi Dept. of Computer Science KNU
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.
Communication and Functional Models
ICT 6621 : Advanced NetworkingKhaled Mahbub, IICT, BUET, 2008 Lecture 13 Network Management.
Abierman-rmonwg-17mar03 1 RMONMIB WG 56th IETF San Francisco, California March 17, 2003 Discussion: Admin:
Fundamentals of Network Management by Behzad Akbari Fall 2008 In the Name of the Most High.
CS 453 Computer Networks Lecture 22 Network Management.
Prof. Younghee Lee 1 1 Computer Networks u Lecture 14: Network Management Prof. Younghee Lee * Some part of this teaching materials are prepared referencing.
1 Based on Behzad Akbari Fall 2011 Network Management lectures.
Internet Standard Management Framework
SNMP 1. SNMP is an Internet protocol developed by the IETF. It is designed to facilitate the exchange of management information between network elements.
Network Management: Principles and Practice
Network Management Security
SNMP Management: Organization and Information Model by Behzad Akbari Fall 2008 In the Name of the Most High.
Abierman-sming-nov02 1 SMIv3 Open Issues Andy Bierman.
1 Chapter 3 Basic Foundations: Standards, Models, and Language Network Management: Principles and Practice © Mani Subramanian 2000 Chapter 3 And Chapter.
 Introduction  Structure of Management Information  Practical Issues  Summary 2.
SMI STRUCTURE OF MANAGEMENT INFORMATION RFC 1155: SMIv1
111 © 2006, Cisco Systems, Inc. All rights reserved. OSPF-MTR-MIB-IETF OSPFv2 MIB for Multi Topology Routing (MTR) Namita Rawat Rashmi Shrivastava David.
Abierman-rmonwg-11dec00 1 RMONMIB WG 49th IETF San Diego, CA USA December 11 & 13, 2000 Discussion: Admin:
Lecture 2 Recap.
Dept. of Computer Science and Engineering
Lec 2: Infrastructure of Network Management Part1 from : Computer Networking: A Top Down Approach 6 th edition – Chapter 9 1 Organized by: Nada Alhirabi.
1 Kyung Hee University Prof. Choong Seon HONG SNMPv2 MIBs and Conformance SNMPv3 Architecture and Applications.
CGA-MIBCSI, IETF-72 1 CGA-MIB draft-garcia-martinez-cgamib-00 Alberto Garcia-Martinez
Topic 11 Network Management. SNMPv1 This information is specific to SNMPv1. When using SNMPv1, the snmpd agent uses a simple authentication scheme to.
IPCDN Cable Device MIB Update February 13, 2003 Richard Woundy Comcast Cable.
1 Kyung Hee University Prof. Choong Seon HONG SNMPv2 Management Information.
Jaringan Telekomunikasi, Sukiswo ST, MT Sukiswo
Simple Network Management Protocol
Network management Communication model
SNMP.
Lec7: SNMP Management Information
Network Management Computer Networks.
Introduction to Internet Network Management
SNMPv2 These slides are based in parts upon slides of Prof. Dssouli (Concordia university)
Chapter 6 SNMPv2 6-1 Network Management: Principles and Practice
Presentation transcript:

1 SNMPv2 by Behzad Akbari Fall 2008 In the Name of the Most High

2 Overview SNMPv1 was developed as an interim solution to an eventual adoption of OSI. This never came about: OSI was not as widely adopted as originally hoped. SNMPv2, released in 1996, was basically major revisions added to SNMP.

3 SNMPv1 SNMPv1 Protocol  RFC 1157  RFC 1157 – Simple Network Management Protocol RFC 1157 RFC 1157 SMIv1 Data Definition Language Full Standards:  RFC 1155  RFC Structure of Management Information RFC 1155 RFC 1155  RFC 1212  RFC Concise MIB Definitions RFC 1212 RFC 1212 Informational:  RFC A Convention for Defining Traps RFC 1215 SMIv1 MIB Modules Full Standards:  RFC 1213  RFC Management Information Base II RFC 1213 RFC 1213  RFC Ethernet-Like Interface Types MIB RFC 1643

4 SNMPv2 SMIv2 Data Definition Language Full Standards:  RFC 2578  RFC Structure of Management Information RFC 2578 RFC 2578  RFC Textual Conventions RFC 2579  RFC Conformance Statements RFC 2580 SMIv2 MIB Modules Full Standards:  RFC 2819  RFC Remote Network Monitoring MIB RFC 2819 RFC 2819  RFC SNMP Framework MIB RFC 3411  RFC SNMPv3 MPD MIB RFC 3412  RFC SNMP Applications MIBs RFC 3413  RFC SNMPv3 USM MIB RFC 3414  RFC SNMP VACM MIB RFC 3415  RFC SNMP MIB RFC 3418

5 Major Changes Bulk data transfer  Manager-to-manager message  Enhancements to SMI: SMIv2  Module definitions : MODULE-IDENTITY macro (information)  Object definitions : OBJECT-TYPE macro (managed object)  Trap definitions : NOTIFICATION-TYPE macro  Textual conventions (Help define new data types)  Conformance statements (Compatibility to standard)  Row creation and deletion in table  MIB enhancements (added security & snmpv2)  Transport mappings  Security features, originally to be in SNMPv2, moved to SNMPv3 – Hence, SNMPv2, like SNMPv1, uses a community-based administrative framework  RFC 2578 SMIv2

6 SMIv1, SMIv2 SMIv1:  SMI (RFC 1155)RFC 1155  Concise MIB (RFC 1212)RFC 1212  Trap-Type (RFC 1215)RFC 1215 SMIv2:  SMIv2 (RFC 2578)RFC 2578  Textual Conventions (RFC 2579)RFC 2579  Conformance Statements (RFC 2580)RFC 2580

7 Three Parts of SMIv2 Module definitions  MODULE-IDENTITY Object definitions  OBJECT-TYPE Notification definitions  NOTIFICATION-TYPE

8 MODULE-IDENTITY

9 MODULE-IDENTITY Example

10 OBJECT-TYPE OBJECT-TYPE MACRO ::= BEGIN TYPE NOTATION ::= "SYNTAX" Syntax UnitsPart "MAX-ACCESS" Access "STATUS" Status "DESCRIPTION" Text ReferPart IndexPart DefValPart VALUE NOTATION ::= value(VALUE ObjectName)

11 "SYNTAX" Syntax Syntax ::= -- Must be one of the following: -- a base type (or its refinement), -- a textual convention (or its refinement), or -- a BITS pseudo-type type | "BITS" "{" NamedBits "}“ NamedBits ::= NamedBit | NamedBits "," NamedBit NamedBit ::= identifier "(" number ")“ -- number is nonnegative

12 (Example) SYNTAX BITS protocolDirType OBJECT-TYPE SYNTAXBITS { extensible(0), addressRecognitionCapable(1) } MAX-ACCESS read-only STATUS current DESCRIPTION “…” ::= { protocolDirEntry 5 }

13 UnitsPart: UNITS hrDiskStorageCapacity OBJECT-TYPE SYNTAX KBytes UNITS "KBytes" MAX-ACCESS read-only STATUS current DESCRIPTION "The total size for this long-term storage device. If the media is removable and is currently removed, this value should be zero." ::= { hrDiskStorageEntry 4 } UnitsPart ::= "UNITS" Text | empty Back to OBJECT-TYPE

14 "MAX-ACCESS" Access Access ::= "not-accessible" | "accessible-for-notify" | "read-only" | "read-write" | "read-create" ordered from least to greatest: not-accessible "not-accessible": indicates an auxiliary object accessible-for-notify "accessible-for-notify": accessible only via a notification read-only "read-only": read only read-write "read-write": read and write, but create does not. read-create "read-create": read, write and create

15 "STATUS" Status Status ::= "current" | "deprecated" | "obsolete" current “current”: the definition is current and valid. deprecated “deprecated”:indicates an obsolete definition, it permits new/continued implementation. obsolete “obsolete”: the definition is obsolete and should not be implemented.

16 ReferPart ReferPart ::= "REFERENCE" Text | empty ipForwardTable OBJECT-TYPE SYNTAX SEQUENCE OF IpForwardEntry MAX-ACCESS not-accessible STATUS obsolete DESCRIPTION "This entity's IP Routing table." REFERENCE "RFC 1213 Section 6.6, The IP Group“ ::= { ipForward 2 }

17 NOTIFICATION-TYPE NOTIFICATION-TYPE MACRO ::= BEGIN TYPE NOTATION ::= ObjectsPart "STATUS" Status "DESCRIPTION" Text ReferPart VALUE NOTATION ::= value(VALUE NotificationName) ObjectsPart ::= "OBJECTS" "{" Objects "}“ | empty Objects ::= Object | Objects "," Object Object ::= value(ObjectName) Status ::= "current" | "deprecated" | "obsolete" ReferPart ::= "REFERENCE" Text | empty Text ::= value(IA5String) END NotificationName ::= OBJECT IDENTIFIER

18 Reference: SNMPv2-MIB (RFC 1907) NOTIFICATION-TYPE Example

19 OBJECT-IDENTITY Macro The OBJECT-IDENTITY macro is there to define information about an object identifier in the MIB. Recall that an OBJECT IDENTIFIER defines the administrative identification of a node in the MIB – For example let’s consider a class of router that is manufactured by InfoTech Services Inc. that is identified by the OBJECT IDENTIFIER isiRouter isiRouter OBJECT-IDENTITY STATUS current DESCRIPTION "An 8-slot IP router in the IP router family." REFERENCE "ISI Memorandum No. ISI-R123 dated January. 20, 1997" ::= {private.enterprises.isi 1} (a) Example of OBJECT-IDENTITY Macro

20 OBJECT-TYPE OBJECT-TYPE details the description needed for implementation of the managed object. It defines the type of a managed object. routerIsi123 OBJECT-TYPE SYNTAX DisplayString MAX-ACCESS read-only STATUS current DESCRIPTION "An 8-slot IP router that can switch up to100 million packets per second. ::= {isiRouter 1} (b) Example of OBJECT-TYPE Macro

21 Table Aggregation SNMPv2 also defines a very powerful concept known as aggregate objects that support compound tables. This allows, for example, to define parameters associated with interface cards in a router. 3 types of table aggregation is supported: – Augmentation of a table (dependent table) adds additional columns to an existing table (base table) – Dense table enables addition of more rows to base table – Sparse table supplements less rows to a base table

22 Table Aggregation (…) Can happen when all of the following are true: – Number of rows is not affected by the addition – Rows match one-to-one – The INDEX of the first table can be used for second one as well. Table 1: base table Table 2: augmented table

23 Augmentation of Tables: Example For example the parameters of the interface of the router, RouterIsi123, adds proprietary information to the standard ipAddrTable. This new table, ipAugAddrTable has the same number of rows as ipAddrTable and adds information that defines the board and port number associated with the ipAdEntAddr Figure 6.13 Example of Augmentation of Tables

24 Dense Tables In this case, the number of rows of an augmented table is more than that of the base table. The INDEX for the combined table is the combination of the 2 INDEX values of the tables.

25 Sparse Tables In this case the number of rows of an augmented table is less than that of the base table. The INDEX for the combined table is the same of the base table.

26 hrDeviceTable OBJECT-TYPE SYNTAX SEQUENCE OF HrDeviceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The (conceptual) table of devices…" ::= { hrDevice 2 } hrDeviceEntry OBJECT-TYPE SYNTAX HrDeviceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A (conceptual) entry for one device contained by the host. …" INDEX { hrDeviceIndex } ::= { hrDeviceTable 1 } hrDiskStorageTable OBJECT-TYPE SYNTAX SEQUENCE OF HrDiskStorageEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "The (conceptual) table of long-term storage devices contained by the host..." ::= { hrDevice 6 } hrDiskStorageEntry OBJECT-TYPE SYNTAX HrDiskStorageEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A (conceptual) entry for one long-term storage devices contained by the host..." INDEX { hrDeviceIndex } ::= { hrDiskStorageTable 1 } Appending a Spare Table

27 Textual Convention Enables defining new data types Makes semantics of data types consistent and human readable Creates new data types using existing ones and applies restrictions to them An important textual convention in SNMPv2, RowStatus creates and deletes rows

28 SNMPv2: SNMPV1: Also see Page 251 DisplayString ::= OCTET STRING -- This data type is used to model textual information taken -- from the NVT ASCII character set. By convention, objects -- with this syntax are declared as having -- SIZE (0..255)

29 InterfaceIndex ::= TEXTUAL-CONVENTION DISPLAY-HINT "d" STATUS current DESCRIPTION "A unique value, greater than zero, for each interface or interface sub-layer in the managed system. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub-layer must remain constant at least from one re-initialization of the entity's network management system to the next re-initialization." SYNTAX Integer32 ( )

30 Creation of Row: RowStatus

31

32 Create-and-Go Row Creation SetRequest ( status.3 = 4, index.3 = 3, data.3 = DefData ) Response ( status.3 = 1, index.3 = 3, data.3 = DefData ) Manager Process Agent Process Managed Entity Create Instance Instance Created

33 Create-and-Wait: Row Creation

34 Row Deletion