Network Management: SNMP

Slides:



Advertisements
Similar presentations
Chapter 19: Network Management Business Data Communications, 5e.
Advertisements

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.
1 ITC242 – Introduction to Data Communications Week 12 Topic 18 Chapter 19 Network Management.
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.
File Transfer: FTP and TFTP
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 18 Host Configuration: DHCP.
COMP4690, by Dr Xiaowen Chu, HKBU
Network Management: SNMP
Ch. 31 Q and A IS 333 Spring 2015 Victor Norman. SNMP, MIBs, and ASN.1 SNMP defines the protocol used to send requests and get responses. MIBs are like.
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.
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.
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.
Process-to-Process Delivery:
McGraw-Hill©The McGraw-Hill Companies, Inc., 2000 Chapter 16 Network Management.
ECE Prof. John A. Copeland Office: Klaus or call.
Communication and Functional Models
BAI513 - PROTOCOLS SNMP BAIST – Network Management.
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.
SNMP 1. SNMP is an Internet protocol developed by the IETF. It is designed to facilitate the exchange of management information between network elements.
TCP/IP Protocol Suite 1 Chapter 16 Upon completion you will be able to: Host Configuration: BOOTP and DHCP Know the types of information required by a.
Network Management Security
Advanced Network Protocols CSCI 5132 Chapter 30 Simple Network Management Protocol By Chetan Singh Haaris Sheikh Lakshmi Menon Kavita Sarma.
CITA 440 Week 6 SNMPv1. Internet SNMP Management Internet Engineering Task Force (IETF) –1990SNMPv1 –1996SNMPv2 –1998SNMPv3 Internet documents: –Request.
 Introduction  Structure of Management Information  Practical Issues  Summary 2.
TCP/IP Protocol Suite 1 Chapter 11 Upon completion you will be able to: User Datagram Protocol Be able to explain process-to-process communication Know.
Chapter 36 Network Management & SNMP. Network management monitors network related hardware & software; troubleshoot network problems Detects major failures.
Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
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.
IST 201 Chapter 11 Lecture 2. Ports Used by TCP & UDP Keep track of different types of transmissions crossing the network simultaneously. Combination.
Jaringan Telekomunikasi, Sukiswo ST, MT Sukiswo
or call for office visit, or call Kathy Cheek,
Network management Communication model
SNMP.
Lec7: SNMP Management Information
SNMPv1 Network Management: Communication and Functional Models
Advanced Network Protocols
Host Configuration: BOOTP and DHCP
Network Management Computer Networks.
TCP Transport layer Er. Vikram Dhiman LPU.
System and Network Management
SNMPv1 Network Management: Communication and Functional Models
User Datagram Protocol (UDP)
Host Configuration: DHCP
Host Configuration: BOOTP and DHCP
UNIT V APPLICATION LAYER.
Process-to-Process Delivery:
SNMP Examples.
Tutorial 3.
SNMP (Simple Network Management Protocol) based Network Management
Tutorial 2.
Internet Control Message Protocol
SNMP (Simple Network Management Protocol) based Network Management
Chapter 14 User Datagram Program (UDP)
Internet Control Message Protocol
Domain Name System: DNS
Process-to-Process Delivery: UDP, TCP
Simple Network Management Protocol
TCP/IP Protocol Suite 1 Chapter 9 Upon completion you will be able to: Internet Control Message Protocol Be familiar with the ICMP message format Know.
Standards, Models and Language
Presentation transcript:

Network Management: SNMP Chapter 6 Network Management: SNMP Objectives Upon completion you will be able to: Understand the SNMP manager and the SNMP agent Understand the roles of SMI and MIB in network management Be familiar with SMI object attributes and encoding methods Know how an MIB variable is accessed Be familiar with the SNMP PDU and format TCP/IP Protocol Suite

6.1 CONCEPT SNMP defines a manager, usually a host, that controls and monitors a set of agents, usually routers. The topics discussed in this section include: Managers and Agents TCP/IP Protocol Suite

Figure 6.1 SNMP concept TCP/IP Protocol Suite

6.2 MANAGEMENT COMPONENTS SNMP requires the use of two other protocols: Structure of Management Information (SMI) and Management Information Base (MIB). Network management on the Internet is done through the cooperation of SNMP, SMI, and MIB. The topics discussed in this section include: Role of SNMP Role of SMI Role of MIB An Analogy An Overview TCP/IP Protocol Suite

Figure 6.2 Components of network management on the Internet TCP/IP Protocol Suite

Note: 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. TCP/IP Protocol Suite

Note: SMI defines the general rules for naming objects, defining object types (including range and length), and showing how to encode objects and values. SMI defines neither the number of objects an entity should manage, nor names the objects to be managed nor defines the association between the objects and their values. TCP/IP Protocol Suite

Note: MIB creates a collection of named objects, their types, and their relationships to each other in an entity to be managed. TCP/IP Protocol Suite

Note: 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. TCP/IP Protocol Suite

Figure 6.3 Management overview TCP/IP Protocol Suite

6.3 SMI SMI is a component used in network management. It names objects, defines the type of data that can be stored in an object, and shows how data can be encoded for transmission over the network The topics discussed in this section include: Name Type Encoding Method TCP/IP Protocol Suite

Figure 6.4 Object attributes TCP/IP Protocol Suite

Figure 6.5 Object identifier TCP/IP Protocol Suite

All objects managed by SNMP are given an object identifier. Note: All objects managed by SNMP are given an object identifier. The object identifier always starts with 1.3.6.1.2.1. TCP/IP Protocol Suite

Figure 6.6 Data type TCP/IP Protocol Suite

Table 6.1 Data types TCP/IP Protocol Suite

Figure 6.7 Conceptual data types TCP/IP Protocol Suite

Figure 6.8 Encoding format TCP/IP Protocol Suite

Table 6.2 Codes for data types TCP/IP Protocol Suite

Figure 6.9 Length format TCP/IP Protocol Suite

Figure 6.10 shows how to define INTEGER 14. Example 1 Figure 6.10 shows how to define INTEGER 14. See Next Slide TCP/IP Protocol Suite

Figure 6.10 Example 1, INTEGER 14 TCP/IP Protocol Suite

Figure 6.11 shows how to define the OCTET STRING “HI.” Example 2 Figure 6.11 shows how to define the OCTET STRING “HI.” See Next Slide TCP/IP Protocol Suite

Figure 6.11 Example 2, OCTET STRING “HI” TCP/IP Protocol Suite

Example 3 Figure 6.12 shows how to define ObjectIdentifier 1.3.6.1 (iso.org.dod.internet). See Next Slide TCP/IP Protocol Suite

Figure 6.12 Example 3, ObjectIdentifier 1.3.6.1 TCP/IP Protocol Suite

Figure 6.13 shows how to define IPAddress 131.6.14.8. Example 4 Figure 6.13 shows how to define IPAddress 131.6.14.8. See Next Slide TCP/IP Protocol Suite

Figure 6.13 Example 4, IPAddress 131.6.14.8 TCP/IP Protocol Suite

6.4 MIB MIB is a component used in network management. Each agent has its own MIB, a collection of all the objects that the manager can manage. The topics discussed in this section include: Accessing MIB Variables Lexicographic Ordering TCP/IP Protocol Suite

Figure 6.14 mib-2 TCP/IP Protocol Suite

Figure 6.15 udp group TCP/IP Protocol Suite

Figure 6.16 udp variables and tables TCP/IP Protocol Suite

Figure 6.17 Indexes for udpTable TCP/IP Protocol Suite

Figure 6.18 Lexicographic ordering TCP/IP Protocol Suite

6.5 SNMP SNMP is an application program that allows 1) a manager to retrieve the value of an object defined in an agent; 2) a manager to store a value in an object defined in an agent; and 3) an agent to send an alarm message about an abnormal situation to the manager The topics discussed in this section include: PDUs Format TCP/IP Protocol Suite

Figure 6.19 SNMP PDUs TCP/IP Protocol Suite

Figure 6.20 SNMP PDU format TCP/IP Protocol Suite

Table 6.3 Types of errors TCP/IP Protocol Suite

6.6 MESSAGES A message in SNMP is made of four elements: version, header, security parameters, and data (which includes the encoded PDU). TCP/IP Protocol Suite

Figure 6.21 SNMP message TCP/IP Protocol Suite

Table 6.4 Codes for SNMP messages TCP/IP Protocol Suite

Example 5 In this example, a manager station (SNMP client) uses the GetRequest message to retrieve the number of UDP datagrams that a router has received. There is only one VarBind entity. The corresponding MIB variable related to this information is udpInDatagrams with the object identifier 1.3.6.1.2.1.7.1.0. The manager wants to retrieve a value (not to store a value), so the value defines a null entity. Figure 6.22 shows the conceptual view of the packet showing the hierarchical nature of sequences. We have used white and color boxes for the sequence and a gray one for the PDU. See Next Slide TCP/IP Protocol Suite

Example 5 The VarBind list has only one VarBind. The variable is of type 06 and length 09. The value is of type 05 and length 00. The whole is a sequence of length 0D (13). The VarBind list is also a sequence of length 0F (15). The GetRequest PDU is of length 1D (29). Now we have three OCTET STRINGs related to security parameter, security model, and flags. Then we have two integers defining maximum size (1024) and message ID (64). The header is a sequence of length 12, which we left blank for simplicity. There is one integer, version (version 3). The whole message is a sequence of 52 bytes. Figure 6.23 shows the actual message sent by the manager station (client) to the agent (server). See Next Slide TCP/IP Protocol Suite

Figure 6.22 Example 5 TCP/IP Protocol Suite

Figure 6.23 GetRequest message TCP/IP Protocol Suite

6.7 UDP PORTS SNMP uses the services of UDP on two well-known ports, 161 and 162. The well-known port 161 is used by the server (agent), and the well-known port 162 is used by the client (manager). TCP/IP Protocol Suite

Figure 6.24 Port numbers for SNMP TCP/IP Protocol Suite

6.8 SECURITY The main difference between SNMPv3 and SNMPv2 is the enhanced security. SNMPv3 provides two types of security: general and specific. SNMPv3 provides message authentication, privacy, and manager authorization. TCP/IP Protocol Suite