CSEE W4140 Networking Laboratory Lecture 11: SNMP Jong Yul Kim 04.19.2010.

Slides:



Advertisements
Similar presentations
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Monitoring the Network Connecting Networks.
Advertisements

TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 24 Network Management: SNMP.
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.
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.
1 System support & Management Protocols Lesson 13 NETS2150/2850 School of Information Technologies.
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 Simple Network Management Protocol
Guide to TCP/IP, Third Edition Chapter 11: Monitoring and Managing IP Networks.
Introduction to SNMP AfNOG 11, Kigali/Rwanda.
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.
1 Network Management Computer Networks. 2 OSI Network Management Model Performance Management e.g. utilization Fault Management e.g. SNMP traps Configuration.
Chapter 6 Overview Simple Network Management Protocol
McGraw-Hill The McGraw-Hill Companies, Inc., 2000 SNMP Simple Network Management Protocol.
SNMP Management. 2 Overview u Growth of network size led to need for management techniques u Five main areas u Configuration management u Deals with installing,
SNMP ( Simple Network Management Protocol ) based Network Management.
Emanuele Pasqualucci Extending AppManager Monitoring with the SNMP Toolkit.
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.
SNMP Simple Network Management Protocol Team: Matrix CMPE-208 Fall 2006.
Basic tasks that fall under this category are: What is Network Management? Fault Management Dealing with problems and emergencies in the network (router.
SNMP (Simple Network Management Protocol)
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.
ECE Prof. John A. Copeland Office: Klaus or call.
Simple Network Management Protocol By - Suparna Sri.
Communication and Functional Models
BAI513 - PROTOCOLS SNMP BAIST – Network Management.
Networks and Protocols CE Week 9b. SNMP Agenda Looking at Today What is a management protocol and why is it needed Simple Network Management Protocol.
1 Network Management Security Behzad Akbari Fall 2009 In the Name of the Most High.
SNMP Simple Network Management Protocol. SNMP and UDP Uses UDP as transport protocol Connectionless Connectionless Port 161 for sending and receiving.
CS 453 Computer Networks Lecture 22 Network Management.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
1 Network Management: SNMP The roots of education are bitter, but the fruit is sweet. - Aristotle.
SNMP Simple Network Management Protocol SNMP Simple Network Management Protocol Haris Ribic.
Internet Standard Management Framework
APRICOT 2008 Network Management Taipei, Taiwan February 20-24, 2008 Introduction to SNMP.
Management Information Base for Version 2 of the Simple Network Management Protocol (MIB for SNMPv2)
Network Management Security
CCNA4 v3 Module 6 v3 CCNA 4 Module 6 JEOPARDY K. Martin.
CITA 440 Week 6 SNMPv1. Internet SNMP Management Internet Engineering Task Force (IETF) –1990SNMPv1 –1996SNMPv2 –1998SNMPv3 Internet documents: –Request.
Ch 9. Network Management Myungchul Kim
 Introduction  Structure of Management Information  Practical Issues  Summary 2.
Text Overview of SNMP, FTP, Telnet. Text Overview of SNMP.
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.
Topic 11 Network Management. SNMPv1 This information is specific to SNMPv1. When using SNMPv1, the snmpd agent uses a simple authentication scheme to.
Chapter 27 Network Management Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
or call for office visit, or call Kathy Cheek,
Network management Communication model
Lec7: SNMP Management Information
SNMPv1 Network Management: Communication and Functional Models
SNMP M Clements ENS.
SNMP M Clements ENS.
Network Management Computer Networks.
System and Network Management
SNMP M Clements ENS.
Chapter 8: Monitoring the Network
SNMP (Simple Network Management Protocol) based Network Management
SNMP (Simple Network Management Protocol) based Network Management
COMS/CSEE 4140 Networking Laboratory Lecture 10
Simple Network Management Protocol
Presentation transcript:

CSEE W4140 Networking Laboratory Lecture 11: SNMP Jong Yul Kim

Annoucements  Schedule change April 26: Semester review + extra May 3: Trip to Computer Center  During regular class time on Monday.  Not your regular campus tour: it’s a great opportunity to learn!  HW: write one (or more) question(s) to ask a campus network administrator and it to me by May 2. Week of May 10: Final Exam  Date and place: TBD

Network management  Network operators need tools to monitor and manage networks remotely. True even if the network is relatively small.  Examples: How many IP fragments did this router create? How long has the server been running? Which host is about to shutdown?  Types of management Performance Fault

Network management architecture

Components of the network management architecture  Managing entity is the central management station within the network: “the administrator’s console”  Managed device is the machine we’re interested in monitoring / controlling  Managed objects are pieces of hardware and software within the managed device, e.g. network interface card and the TCP stack, and the set of configurations for hardware and software  Management Information Base (MIB) is the information of interest related to managed objects, e.g. routing table  Network management agent is a program that runs on the managed device which communicates with the managing entity.  Network management protocol is the protocol used between the agent and the managing entity

Four parts of SNMP 1.Network management objects Management Information Base (MIB) This is the value that we’re interested in monitoring or controlling. A MIB module is a collection of related MIBs. 2.Data definition language Structure of Management Information (SMI) This defines the format of MIBs such as data type and object model.

Four parts of SNMP 3.Protocol Simple Network Management Protocol (SNMP) This is the protocol used between the managing entity and the agent. 4.Security and administration capabilities  MIB and SMI are independent of the protocol. The protocol is independent of MIB and SMI.

SMI  SMI is used to define the syntax and semantics of management objects.  It defines basic data types and higher level constructs, such as OBJECT-TYPE and MODULE-TYPE.  SMI is a subset of ASN.1 (Abstract Syntax Notation 1), which adopts a {machine,OS,language}-independent method for describing data and rules for transmitting that data

SMI basic data types

SMI OBJECT-TYPE ipForwDatagrams OBJECT-TYPE SYNTAX Counter ACCESS read-only STATUS current DESCRIPTION "The number of input datagrams for which this entity was not their final IP destination, as a result of which an attempt was made to find a route to forward them to that final destination. In entities which do not act as IP Gateways, this counter will include only those packets which were Source-Routed via this entity, and the Source- Route option processing was successful." ::= { ip 6 } MIB module Object Identifier (OID)

Organization of managed objects  Organized in a tree-like hierarchy  Each node is named with an OID.  OIDs reflect the structure of the hierarchy.  The OID (iso.org.dod.internet.mgm t.mib-2) is at the top of the hierarchy for all managed objects of the MIB-II.  Manufacturers of networking equipment can add product specific objects to the hierarchy.

MIBs  A MIB specifies the managed objects, which have OIDs.  The OID is specified in a MIB file.  In Linux, MIB files are in the directory /usr/share/snmp/mibs Multiple MIB files MIB-II (defined in RFC 1213) defines the managed objects of TCP/IP networks  When an SNMP manager requests an object, it sends the OID to the SNMP agent.

UDP Example

SNMP Protocol  SNMP manager and an SNMP agent communicate using the SNMP protocol Generally: Manager sends queries and agent responds Exception: Traps are initiated by agent. Notice UDP port 161

SNMP message types

Traps  Traps are messages that are asynchronously sent by an agent to a manager  Traps are triggered by an event  Defined traps include: linkDown: Even that an interface went down coldStart - unexpected restart (i.e., system crash) warmStart - soft reboot linkUp - the opposite of linkDown (SNMP) AuthenticationFailure

SNMP Versions  Three versions are in use today: SNMPv1 (1990) SNMPv2c (1996)  Adds “GetBulk” function and some new types  Adds RMON (remote monitoring) capability SNMPv3 (2002)  SNMPv3 started from SNMPv1 (and not SNMPv2c)  Addresses security  All versions are still used today  Many SNMP agents and managers support all three versions of the protocol.

Format of SNMP Packets  SNMPv1 Get/Set messages: Cleartext string that is used as a password PDU type, e.g.: 32: SNMPv1 Get 64: SNMPv2 Get Unique ID to match requests with replies Sequence of name-value pairs

SNMP Security  SNMPv1 uses plain text community strings for authentication as plain text without encryption  SNMPv2 was supposed to fix security problems, but effort derailed (The “c” in SNMPv2c stands for “community”).  SNMPv3 has numerous security features: Ensure that a packet has not been tampered with (integrity), Ensures that a message is from a valid source (authentication) Ensures that a message cannot be read by unauthorized (privacy).

SNMP Security  Security model of SNMPv3 has two components: 1.Instead of granting access rights to a community, SNMPv3 grants access to users. 2. Access can be restricted to sections of the MIB (Version-based Access Control Module (VACM). Access rights can be limited  by specifying a range of valid IP addresses for a user or community,  or by specifying the part of the MIB tree that can be accessed.

Security levels in SNMPv2 SNMP has three security levels:  noAuthNoPriv: Authentication with matching a user name.  authNoPriv: Authentication with MD5 or SHA message digests.  authPriv: Authentication with MD5 or SHA message digests, and encryption with DES encryption Compare this to SNMPv1 and SNMPv2c:  SNMPv1, SNMPv2: Authentication with matching a community string.

Main Points of Lab 9  SNMP MIBs SNMP requests and responses Security Traps  Note: You need to download files from web and bring it to the lab

Homework  No prelabs due this Friday.  Homework: question for tour.  Lab report 9 due next week before lab times.