POSTECH DP&NM Lab 1 Simple Network Management Protocol (SNMP) Mi-Jung Choi Dept. of Computer Science KNU

Slides:



Advertisements
Similar presentations
Communication and Functional Models
Advertisements

SNMP Operations * * Mani Subramanian “Network Management: Principles and practice”, Addison-Wesley, 2000.
SNMPv2 Network Management Spring 2014 Bahador Bakhshi CE & IT Department, Amirkabir University of Technology This presentation is based on the slides listed.
This presentation is based on the slides listed in references.
Chapter 19: Network Management Business Data Communications, 5e.
CCNA – Network Fundamentals
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 24 Network Management: SNMP.
Dr Alejandra Flores-Mosri Network Monitoring Internet Management & Security 06 Learning outcomes At the end of this session, you should be able to: –Explain.
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.
Management Architecture and Standards II IACT 418 IACT 918 Corporate Network Planning Gene Awyzio Spring 2001.
CSEE W4140 Networking Laboratory Lecture 11: SNMP Jong Yul Kim
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
1 Pertemuan 07 Model Komunikasi Matakuliah: H0372/Manajemen Jaringan Tahun: 2005 Versi: 1/0.
Pertemuan 10 Perbedaan antar versi SNMP
1 SNMP Simple Network Management Protocol. 2 SNMP Overview Define mechanism for remote management of network devices (routers, bridges, etc.) Fundamental.
SNMP PROTOCOL Copyright © 2001 by Aiko Pras These sheets may be used for educational purposes.
COMP4690, by Dr Xiaowen Chu, HKBU
SNMP PROTOCOL Copyright © 2001 by Aiko Pras These sheets may be used for educational purposes.
1 Network Management and SNMP  What is Network Management?  ISO Network Management Model (FCAPS)  Network Management Architecture  SNMPv1 and SNMPv2.
SNMP Simple Network Management Protocol
Network Management: SNMP
SNMPv1 Communication and Functional Models
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.
Simple Network Management Protocol Week 6.  MIB data is input in encoded form.  Information is then compiled into the central MIB in the NCS.
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 Communication and Functional Models
1.  TCP/IP network management model: 1. Management station 2. Management agent 3. „Management information base 4. Network management protocol 2.
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.
Lec8: SNMP v1.
1 Introduction to Internet Network Management Mi-Jung Choi Dept. of Computer Science KNU
1 © 1999 BMC SOFTWARE, INC. 2/10/00 SNMP Simple Network Management Protocol.
ECE Prof. John A. Copeland Office: Klaus or call.
Communication and Functional Models
BAI513 - PROTOCOLS SNMP BAIST – Network Management.
1 Network Management Security Behzad Akbari Fall 2009 In the Name of the Most High.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
SNMP n Where did it come from ? –Internet Engineering Task Force »Network Management Area –SNMP V1 –MIB definitions –SNMPV2.
1 Network Management: SNMP The roots of education are bitter, but the fruit is sweet. - Aristotle.
1 Chapter 8 Network Management Security. 2 Outline Basic Concepts of SNMP SNMPv1 Community Facility SNMPv3 Recommended Reading and WEB Sites.
Simple Network Management Protocol (SNMP) SNMP v1 (RFC 1157) UDP Port 161 Operation supported by SNMP – Get: retrieves a scalar object value – Set: updates.
1 Based on Behzad Akbari Fall 2011 Network Management lectures.
SNMP.
Network Management  introduction  Internet SNMP: Simple Network Management Protocol  required reading: section 7.3 in text.
CITA 440 Week 6 SNMPv1. Internet SNMP Management Internet Engineering Task Force (IETF) –1990SNMPv1 –1996SNMPv2 –1998SNMPv3 Internet documents: –Request.
1 Kyung Hee University Prof. Choong Seon HONG SNMP Management Information.
Dept. of Computer Science and Engineering
Common Management Protocol W.lilakiatsakun. Topics SNMP (Widely used) SNMP (Widely used) Command Line Interface (CLI) Command Line Interface (CLI) Syslog.
Process-to-Process Delivery:
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
Extra Lecture and examples
Jaringan Telekomunikasi, Sukiswo ST, MT Sukiswo
Computer and Information Security
Network management Communication model
Simple Network Management Protocol (SNMP)
Simple Network Management Protocol (SNMP)
Network Management: SNMP
SNMPv1 Network Management: Communication and Functional Models
Lec 5: SNMP Network Management
SNMPv1 Network Management: Communication and Functional Models
Lec 5: SNMP Network Management
SNMP (Simple Network Management Protocol) based Network Management
Network Management Security
CT1305 Computer Network Management Dr. Mostafa H. Dahshan
Presentation transcript:

POSTECH DP&NM Lab 1 Simple Network Management Protocol (SNMP) Mi-Jung Choi Dept. of Computer Science KNU

POSTECH DP&NM Lab 2 Table of Contents SNMP Operations Protocol Specification Transport-Level Support Limitations of SNMPv1

POSTECH DP&NM Lab 3 SNMP Operations Operations supported in SNMP are the inspection and modification of variables GET operation –retrieves management information (values of scalar objects) SET operation –updates management information (values on scalar objects) TRAP operation –sends unsolicited scalar object values to notify problems

POSTECH DP&NM Lab 4 SNMP Operations (cont’d) Not possible to change the structure of a MIB –cannot add or delete object instances No explicit action is supported Access is provided only to leaf objects in the MIB tree –not possible to access an entire table or a row of a table with a single atomic action These simplify the implementation of SNMP but limit the capability of the NMS

POSTECH DP&NM Lab 5 SNMP Security Concepts Authentication service –agent may wish to limit access to the MIB to authorized managers Access policy –agent may wish to give different access privileges to different managers Proxy service –agent may act as a proxy to other managed devices –this may require authentication service and access policy for other managed devices on the proxy SNMP provides only a primitive and limited security capability via the concept of community

POSTECH DP&NM Lab 6 SNMP Community is a relationship between an agent and a set of managers that defines authentication, access control & proxy characteristics a community is locally defined by the agent –each community is given a unique community name –an agent may establish a number of communities –the community name is needed for all get and set operations –the same community name may be used by different agents SNMP authentication service –every SNMP message from a manager includes a community name (used as a password) --- very primitive –most agents only allow GET operations

POSTECH DP&NM Lab 7 SNMP Community (cont’d) SNMP Access Policy –an agent can provide different categories of MIB access using the following concepts: SNMP MIB View & Access Mode SNMP MIB View –a subset of objects within a MIB –different MIB views may be defined for each community –the set of objects in a view need not belong to a single subtree SNMP Access Mode –an access mode {READ-ONLY, READ-WRITE} is defined for each community –the access mode is applied uniformly to all objects in the MIB view SNMP Community Profile –a combination of a MIB view and an access mode

POSTECH DP&NM Lab 8 MIB ACCESS Category vs. SNMP Access Mode

POSTECH DP&NM Lab 9 SNMP Administrative Concepts set of SNMP managers SNMP Access Policy SNMP community (community name) SNMP community profile SNMP agent SNMP MIB view SNMP access mode

POSTECH DP&NM Lab 10 Object Instance Identification SNMP defines two techniques for identifying a specific object instance –Serial access technique (via lexicographic ordering of objects) –Random access technique Random access technique –objects in MIB tables are referred to as columnar objects –the object identifier is not sufficient to identify the instance –SNMP convention concatenate the scalar object identifier with the values of INDEX objects, listed in the order which the INDEX objects are defined see the example in Table 7.2 on page 169

POSTECH DP&NM Lab 11 Lexicographical Ordering is used for accessing MIB objects serially given the tree structure of a MIB, the OID for a particular object may be derived by tracing a path from the root to the object lexicographical ordering is also referred to as: –preorder traversal (root, left, right) of a tree –depth-first search useful for examining MIBs whose structure is not known to NMS

POSTECH DP&NM Lab 12 Lexicographical Ordering Example root Start End

POSTECH DP&NM Lab 13 Protocol Specification SNMP Message Formats SNMP manager and agent exchange requests and management information using SNMP messages SNMP message includes a version number (e.g., 0 for SNMPv1, 1 for SNMPv2), a community name and one of five types of protocol data units (PDUs) PDU Types: GetRequest, GetNext-Request, SetRequest, GetResponse, Trap

POSTECH DP&NM Lab 14 SNMP Message Formats valueNnameN...value2name2value1name1 variablebindings time stamp specific trap generic trap agent addr enter- prise PDU type variablebindings error index error status request id PDU type variablebindings00 request id PDU type SNMP PDUVersionCommunity (a) SNMP message (b) GetRequest PDU, GetNextRequest PDU, and SetRequest PDU (c) GetResponse PDU (d) Trap PDU (e) variablebindings

POSTECH DP&NM Lab 15 SNMP Message Fields

POSTECH DP&NM Lab 16 SNMP Message Fields (cont’d)

POSTECH DP&NM Lab 17 Transmission of SNMP Message 1. The PDU is constructed using ASN.1 2. This PDU is passed to an authentication service with a community name and source & destination transport addresses passed –the authentication service performs any required transformations such as encryption or the inclusion of an authentication code 3. The protocol entity then constructs a message, consisting of a version field, the community name, and the result from step 2 4. This new ASN.1 object is then encoded using BER and passed to the transport service

POSTECH DP&NM Lab 18 Receipt of SNMP Message 1. The SNMP entity performs basic syntax-check of the message and discards it if it fails to parse 2. It verifies the version number and discards it if there is a mismatch 3. It then passes the community name, the PDU portion of the message and the source/destination transport address to an authentication service –if authentication fails, the message is discarded –if authentication succeeds, the authentication service returns a PDU in the form of an ASN.1 object 4. If the PDU passes a basic syntax-check, the appropriate SNMP access policy is selected and the PDU is processed accordingly

POSTECH DP&NM Lab 19 SNMP PDU Sequences Manager Agent GetRequest PDU GetResponse PDU Manager Agent SetRequest PDU GetResponse PDU Manager Agent GetNextRequest PDU GetResponse PDU Manager Agent Trap PDU (a) Get values (b) Get next values (c) Set values (d) Send trap

POSTECH DP&NM Lab 20 GetRequest PDU is issued by an SNMP manager on behalf of NMS to retrieve information from an agent includes PDU type, request-id & variablebindings GetResponse PDU containing the same request- id is used for the reply operation is atomic ( all values are returned or none is) possible error-status: –noSuchName: object instance cannot be found or it is an aggregate type –tooBig: the size of resulting values exceed a local limitation –genErr: may not be able to supply a value for at least one of the objects for some other reason

POSTECH DP&NM Lab 21 GetNextRequest PDU is also issued by an SNMP manager on behalf of NMS to retrieve information from an agent the PDU is the same as GetRequest PDU except: –In the GetRequest PDU, each variable in the variablebindings list refers to an object instance whose value is to be returned –In the GetNextRequest PDU, for each variable in the variablebindings, the value of the object instance that is next in lexicographic order is returned allows NMS to discover the structure of a MIB view dynamically provides an efficient mechanism for searching a table whose entries are unknown

POSTECH DP&NM Lab 22 SetRequest PDU is issued by an SNMP manager on behalf of NMS to modify information in an agent the operation is also atomic –if any one of the values can’t be set, then the whole operation fails GetResponse PDU containing the same request- id is used for the reply –if the operation succeeds, a GetResponse PDU is returned with the same variablebindings as in the original SetRequest PDU possible error-status: –noSuchName, tooBig, genErr plus –badValue: PDU contains at least one pair of variable name and value that is inconsistent

POSTECH DP&NM Lab 23 Trap PDU is issued by an SNMP agent to notify NMS of some significant event Trap PDU does not require a response and is not acknowledged  can get lost Generic Trap types: –coldStart (0): unexpected restart due to a crash or major fault –warmStart (1): routine restart –linkDown (2): a communication link is inoperational –linkUp (3): the link is back in operation –authenticationFailure (4): received authentication-failed message –egpNeighborLoss (5): EGP neighbor is down –enterpriseSpecific (6): some enterprise-specific event occurred

POSTECH DP&NM Lab 24 Transport-Level Support SNMP requires the use of a transport service for the delivery of SNMP messages. –SNMP makes no assumption about whether the underlying service is reliable or unreliable, connectionless or connection- oriented Most SNMP implementations use UDP It is possible to use CLTS UDP –Unreliable, connectionless transport service in Internet CLTS –Unreliable, connectionless transport service in the OSI architecture

POSTECH DP&NM Lab 25 Issues in using UDP Since UDP provides unreliable transport service, SNMP messages can get lost What happens if a GetRequest or GetNextRequest message is lost? What happens if a SetRequest message is lost? What happens if a Trap message is lost?

POSTECH DP&NM Lab 26 Limitations of SNMP SNMP may not be suitable for the mgmt of truly large networks because of the performance limitations of polling SNMP is not well suited for retrieving large volumes of data, such as an entire routing table SNMP traps are unacknowledged & may not be delivered SNMP provides only trivial authentication SNMP does not support explict actions SNMP MIB model is limited (does not support mgmt queries based on object types or values) SNMP does not support manager-to-manager communications Many of these problems are addressed in SNMPv2!

POSTECH DP&NM Lab 27 READING Read Chapter 7 of Stallings