Download presentation
Presentation is loading. Please wait.
1
SNMP
2
SNMP is an Internet protocol developed by the IETF
SNMP is an Internet protocol developed by the IETF. It is designed to facilitate the exchange of management information between network elements. By transporting information over the SNMP protocol (such as packets per second and network error rates), network administrators can easily manage network performance and accounting, find and solve network problems, and plan for network growth
3
SNMP uses the concept of manager and agent
SNMP uses the concept of manager and agent. That is, a manager, usually a host, controls and monitors a set of agents, usually routers or servers (see Figure 24.1).
4
Figure SNMP concept
5
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. 3. An agent to send an alarm message about an abnormal situation to the manager.
6
SNMP & The OSI Model
7
Ports & UDP SNMP uses User Datagram Protocol (UDP) as the transport mechanism for SNMP messages Ethernet Frame IP Packet SNMP Message CRC UDP Datagram Like FTP, SNMP uses two well-known ports to operate: UDP Port SNMP Messages UDP Port SNMP Trap Messages
8
Encapsulation
9
To do management tasks, SNMP uses two other protocols: Structure of Management Information (SMI) and Management Information Base (MIB). In other words, management on the Internet is done through the cooperation of three protocols: SNMP, SMI, and MIB, as shown in Figure 24.2.
10
Figure 24.2 Companion of network management on the Internet
11
SNMP SNMP defines the format of packets exchanged between a manager and an agent. It reads and changes the status of objects (values of variables) in SNMP packets.
12
SMI SMI defines the general rules for naming objects, defining object types (including range and length), and showing how to encode objects and values.
13
MIB MIB creates a collection of named objects, their types, and their relationships to each other in an entity to be managed.
14
Figure 24.3 Comparing computer programming and network management
15
Figure 24.4 Management overview
16
SMI The Structure of Management Information is a component for network management. Its functions are: 1. To name objects. 2. To define the type of data that can be stored in an object. 3. To show how to encode data for transmission over the network. SMI is a guideline for SNMP. It emphasizes three attributes to handle an object: name, data type, and encoding method.
17
SMI SMI data types are divided into three categories: Simple types
Application-wide types Simply constructed types.
18
simple types Integer— A unique value that is a positive or negative whole number (including 0). OctetString— A unique value that is an ordered sequence of zero or more octets, more commonly called bytes. ObjectID— A unique value from the set of all object identifiers allocated according to the rules specified in ASN.1. Bits— New in SMIv2, these are zero or more named bits that specify a value.
19
application-wide types
Network address— Represents an address from a particular protocol family. Examples are InetAddressType and InetAddress. Counter— A nonnegative integer that increments by +1 until it reaches a maximum value, when it is reset to 0 Gauge— A nonnegative integer that can increase or decrease but that latches at a maximum value. The interface load is an example of a gauge. Timetick— Hundredths of a second since an event. The time since an interface entered its current state is an example of a tick. INTEGER— Represents signed, integer-valued information. Unsigned integer— Represents unsigned integer-valued information.
20
simply constructed types
Row— References a row in a table. Each element of the row can be a simple type or an application-wide type. Table— References a table of zero or more rows. Each row has the same number of columns.
21
TCP/IP Protocol Suite
22
Figure 24.7 Encoding format
TCP/IP Protocol Suite
23
TCP/IP Protocol Suite
24
Interactions between manager and agent
Interactions between the SNMP manager and managed network elements (SNMP agents) can be any of three different types of commands: • Read— To monitor managed network elements, SNMP managers read MIB variables maintained by the SNMP agents. • Write— To control managed network elements, SNMP managers write MIB variables stored within the SNMP agents. • Notification— SNMP agents use traps or informs to asynchronously report certain events to SNMP managers. Traps are unacknowledged notifications, and informs are notifications acknowledged by the SNMP manager.
25
Client Pull & Server Push
SNMP is a “client pull” model The management system (client) “pulls” data from the agent (server). SNMP is a “server push” model The agent (server) “pushes” out a trap message to a (client) management system
26
objects All objects managed by SNMP are given an object identifier.
The object identifier always starts with
27
Figure 24.5 Object identifier
28
Figure mib-2 TCP/IP Protocol Suite
29
Figure udp group TCP/IP Protocol Suite
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.