Sns College of Engineering: Department of Information Technology
Sns College of Engineering: Department of Information Technology
Topic 2 - SNMP
SNMP
Simple Network Management Protocol
SNMP is a well-known and widely used network management protocol that allows monitoring and configuring
network devices such as routers, switches, servers, printers, etc.
SNMP is an application layer protocol that uses User Datagram Protocol as the transport protocol on ports
161/162.
Managed Devices
• SNMP Agent that runs on the device
• Management Information Base (MIB)
Managed Device
It is the device that is being managed and runs a software called SNMP Agent.
SNMP Agent
It is a management software module installed on a managed device. Managed devices can be network devices
like PC, routers, switches, servers, etc. The managed device contains the MIB which has all the information of
the device attributes to be managed.
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.
GETBULK Request: Sent by the SNMP manager to the agent to efficiently obtain a potentially large amount of
data, especially large tables. It is introduced in SNMPv2c.
SetRequest: The SetRequest message is sent from a manager to the agent to set a value in a variable.
RESPONSE: Sent by the agent to the SNMP manager, issued in reply to a GET Request, GETNEXT Request,
GETBULK Request and a SET Request. Contains the values of the requested variables.
InformRequest –
It was introduced in SNMPv2c, used to identify if the trap message has been received by the manager or not.
The agents can be configured to send trap message continuously until it receives an Inform message. It is the
same as a trap but adds an acknowledgement that the trap doesn’t provide.
MIB Variables
• SNMP is a connectionless protocol which uses UDP as the transport protocol, making it unreliable as there
was no support for acknowledgement of requests.
• MIBs often lack writable objects without which device configuration is not possible using SNMP.
• Retrieving the current configuration from a device can be difficult with SNMP.