SNMP
SNMP
SNMP Concept
Management Components
Management is not achieved only through the SNMP protocol but also the use of other protocols that can
cooperate with the SNMP protocol. Management is achieved through the use of the other two protocols: SMI
(Structure of management information) and MIB(management information base).
Management is a combination of SMI, MIB, and SNMP. All these three protocols such as abstract syntax
notation 1 (ASN.1) and basic encoding rules (BER).
SMI
MIB
The MIB (Management information base) is a second component for the network management.
Each agent has its own MIB, which is a collection of all the objects that the manager can manage.
MIB is categorized into eight groups: system, interface, address translation, ip, icmp, tcp, udp, and egp.
These groups are under the mib object.
SNMP
GetRequest
GetNextRequest
SetRequest
GetResponse
Trap.
GetRequest:
The GetRequest message is sent from a manager (client) to the agent (server) to retrieve the value of a
variable.
GetNextRequest:
The GetNextRequest message is sent from the manager to agent to retrieve the value of a variable.
This type of message is used to retrieve the values of the entries in a table.
If the manager does not know the indexes of the entries, then it will not be able to retrieve the values.
In such situations, GetNextRequest message is used to define an object.
GetResponse:
The GetResponse message is sent from an agent to the manager in response to the GetRequest and
GetNextRequest message.
This message contains the value of a variable requested by the manager.
SetRequest:
The SetRequest message is sent from a manager to the agent to set a value in a variable.
Trap:
The Trap message is sent from an agent to the manager to report an event.
For example, if the agent is rebooted, then it informs the manager as well as sends the time of rebooting.