Professional Documents
Culture Documents
SNMP-simple Network Management Protocol
SNMP-simple Network Management Protocol
SNMP-simple Network Management Protocol
(SNMP).
• Role of 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.
• Role of SMI: SMI defines the general rules for naming
objects, defining object types (including range and
length), and showing how to encode objects and
values.
• Role of MIB: MIB creates a collection of named
objects, their types, and their relationships to each
other in an entity to be managed.
• A network is a complex system, both in • It is easy to imagine wanting to know
terms of the number of nodes that are about the state of various protocols on
involved and in terms of the suite of different nodes.
protocols that can be running on any • For example, you might want to monitor
one node. the number of IP datagram reassemblies
• Even if we consider nodes within a that have been aborted,
single administrative domain, such as a • so as to determine if the timeout that
campus, there might be dozens of garbage collects partially assembled
routers and hundreds—or even datagrams needs to be adjusted.
thousands—of hosts to keep track of.
• As another example, you might want to
• If you think about all the state that is keep track of the load on various nodes
maintained and address translation (i.e., the number of packets sent or
tables, routing tables, TCP connection received) so as to determine if new
state, and so on—managing all of this routers or links need to be added to the
information is very difficult network.
• Of course, watch for evidence of faulty
hardware and misbehaving software.
• What we have just described is the • SNMP is a specialized request/reply
problem of network management, protocol that supports two kinds of
• problem of network management is request messages: GET and SET.
an issue that pervades the entire • GET is used to retrieve a piece of state
network architecture. from some node, and
• use the network to manage the • SET is used to store a new piece of
network. This means we need a state in some node.
protocol that allows us to read, and • SNMP also supports a third operation,
possibly write, various pieces of state GET-NEXT
information on different network
nodes.
• The most widely used protocol for this
purpose is the Simple Network
Management Protocol (SNMP).
• . A system administrator
interacts with a client program
that displays information about
the network.
• This client program usually has
a graphical interface. playing user
the same role as a web informati
browser. SYSTEM INTERACT CLIENT DISPLAY
on about
• Whenever the administrator ADMINISTRATO PROGRAM the
selects a certain piece of network.
information that he or she
wants to see, the client
program uses SNMP to request GRAPHICAL SNMP to node
that information from the node INTERFACE request that
in question ROLE OF information SNMP
• An SNMP server running on WEB from the node server
that node receives the request, SERVER in question
locates the appropriate piece of
information, and returns it to receives the
the client program, which then request,
selects a certain piece of information locates the
displays it to the user.
returns appropriate
piece of
information
• SNMP depends on a companion
specification called the management
information base (MIB).
• The MIB defines the specific pieces of
information—the MIB variables—that
you can retrieve from a network node.
• The current version of MIB, called
MIB-II, organizes variables into 10
different groups.
• The objects in MIB2 are categorized
under 10 different groups: system,
interface, address translation, ip, icmp,
tcp, udp, egp, transmission, and snmp.
This object defines
general information
related to SNMP itself