Specifications
SNMP Overview
March 28, 2011 Page 3 of 27
informationforaspecificvariable.Theagent,uponreceivingaGetorGetNextmessage,willissue
aGetResponsemessagetothemanagerwitheithertheinformationrequestedoranerror
indicationaboutwhytherequestcannotbeprocessed.
ASetmessageallowsthemanagertorequestachangeto
aspecificvariable.Theagentthen
respondswithaGetResponsemessageindicatingthechangehasbeenmadeoranerror
indicationaboutwhythechangecannotbe made.
Atraporinformmessageallowstheagenttospontaneouslyinformthemanagerofan
“important”eventinthenetwork.
TheSNMPmanager
andagentuseinformationintheMIBtoperformtheoperationsdescribedin
Table 1.
Trap Versus Inform Messages
Ascomparedtoearlierversions,SNMPv3providesahigherdegreeofreliabilityfornotifying
managementstationswhencriticaleventsoccur.Traditionally,SNMPagentscommunicated
eventstoSNMPmanagersvia“traps.”However,ifatemporarynetworkproblempreventedthe
managerfromreceivingthe trap,thenthetrapwouldbelost.SNMPv3provides
“informs”,which
areamorereliableformoftraps.TheSNMPagentinitiatestheinformprocessbysendingan
informrequesttothemanager.Themangerrespondstotheinformrequesttoacknowledge
receiptofthemessage.Iftheinformisnotreceivedbythemanager,theinformrequestwill
timeoutandanewinformrequestwillbesent.Subsequentinformrequestswillbesentas
previousrequeststime‐outuntileitheranacknowledgementisreceivedfromthemanager,or
untilapre‐specifiedretry‐countisreached.
Access to MIB Objects
SNMPusesthe f ollowingauthenticationmethodstograntuseraccesstoMIBobjectsand
functions.
Table 1 SNMP Message Functions
Operation Function
get-request Retrieves a value from a specific variable.
get-next-request Retrieves a value from a variable within a table.
1
1. With this operation, an SNMP manager does not need to know the exact variable name. A sequential search is
performed to find the needed variable from within a table.
get-bulk-request
2
2. The get-bulk operation is only supported in SNMPv2c or later.
Retrieves large blocks of data, such as multiple rows in a table, that would otherwise
require the transmission of many small blocks of data.
get-response Replies to a get-request, get-next-request, and set-request sent by a management
station.
set-request Stores a value in a specific variable.
trap | inform
3
3. Inform notifications are only supported in SNMPv3.
Unsolicited message sent by an SNMP agent to an SNMP manager when an event
has occurred.