Simple Network Management Protocol (SNMP)
Simple Network Management Protocol (SNMP)
➢ Several network management standards have been devised during the last few
decades.
➢ The most important one is Simple Network Management Protocol (SNMP), used by
the Internet.
➢ SNMP is a framework for managing devices in an internet using the TCP/IP protocol
suite.
internet.
➢ That is, a manager, usually a host, controls and monitors a set of agents, usually
of agents.
➢ The protocol is designed at the application level so that it can monitor devices made
➢ A management station, called a manager, is a host that runs the SNMP client
program.
➢ A managed station, called an agent, is a router (or a host) that runs the SNMP server
program.
agent.
➢ For example, a router can store in appropriate variables the number of packets
➢ The manager can fetch and compare the values of these two variables to see if the
➢ The manager can also make the router perform certain actions.
➢ For example, a router periodically checks the value of a reboot counter to see when
➢ The manager can use this feature to reboot the agent remotely at any time.
➢ The server program running on the agent can check the environment and, if it notices
something unusual, it can send a warning message (called a Trap) to the manager.
of the agent.
database.
unusual situation.
Management Components
Role of SNMP
versa.
➢ It also interprets the result and creates statistics (often with the help of other
management software).
➢ The packets exchanged contain the object (variable) names and their status (values).
Role of SMI
structure (an object may have a parent object and some child objects).
➢ What types of objects are handled by SNMP? Can SNMP handle simple types or
structured types? How many simple types are available? What are the sizes of these
types? What is the range of these types? In addition, how are each of these types
encoded?
➢ We need these universal rules because we do not know the architecture of the
➢ The sender may be a powerful computer in which an integer is stored as 8-byte data;
the receiver may be a small computer that stores an integer as 4-byte data.
➢ However, we must understand that SMI only defines the rules; it does not define
how many objects are managed in an entity or which object uses which type.
Role of MIB
➢ For each entity to be managed, this protocol must define the number of objects,
name them according to the rules defined by SMI, and associate a type to each
named object.
➢ This protocol is MIB. MIB creates a set of objects defined for each entity in a manner
without values).
An Analogy
➢ Before discussing each of these protocols in more detail, let us give an analogy.
➢ The three network management components are similar to what we need when we
➢ Before we write a program, the syntax of the language (such as C or Java) must be
predefined.
➢ The language also defines the structure of variables (simple, structured, pointer, and
➢ For example, a variable name must be 1 to n characters in length and start with a
➢ The language also defines the type of data to be used (integer, real, character, etc.).
➢ In programming, the rules are defined by the syntax of the language. In network
➢ Most computer languages require that objects be declared and defined in each
specific program.
➢ Declaration and definition create objects using predefined types and allocate
➢ For example, if a program has two variables (an integer named counter and an array
named grades of type char), they must be declared at the beginning of the program:
➢ MIB names each object and defines the type of the objects.
➢ Because the type is defined by SMI, SNMP knows the range and size.
➢ SNMP stores, changes, and interprets the values of objects already declared by MIB
An Overview
➢ A manager station (SNMP client) wants to send a message to an agent station (SNMP
server) to find the number of UDP user datagrams received by the agent.
➢ MIB is responsible for finding the object that holds the number of UDP user
➢ Of course, things are more complicated than this simple overview, but we first need