Please Whitelist This Site?
I know everyone hates ads. But please understand that I am providing premium content for free that takes hundreds of hours of time to research and write. I don't want to go to a pay-only model like some sites, but when more and more people block ads, I end up working for free. And I have a family to support, just like you. :)
If you like The TCP/IP Guide, please consider the download version. It's priced very economically and you can read all of it in a convenient format without ads.
If you want to use this site for free, I'd be grateful if you could add the site to the whitelist for Adblock. To do so, just open the Adblock menu and select "Disable on tcpipguide.com". Or go to the Tools menu and select "Adblock Plus Preferences...". Then click "Add Filter..." at the bottom, and add this string: "@@||tcpipguide.com^$document". Then just click OK.
Thanks for your understanding!
Sincerely, Charles Kozierok
Author and Publisher, The TCP/IP Guide
The GetRequest-PDU, GetNextRequest-PDU,and GetBulkRequest-PDU messages are the three members of the SNMP Read class of PDUsthey are used to let an SNMP manager read MIB objects from an MIB agent. The opposite function is represented by the SNMP Write class, which contains a single member: the SNMP SetRequest-PDU message.
The use of this PDU is fairly obvious; where one of the three Get PDUs specifies a variable whose value is to be retrieved, the SetRequest-PDU message contains a specification for variables whose values are to be modified by the network administrator. Remember that SNMP does not include specific commands to let a network administrator control a managed device. This is in fact the control method, by setting variables that affect the operation of the managed device.
The set process is the complement of the get process; the same basic idea, pretty much, but a reversal in how the object values travel and what is done with them. The process follows these steps (see Figure 275):
Figure 275: SNMP Object Modification Process
The communication process for setting a MIB object value is very similar to that used for reading one. The main difference is that, of course, the object values are sent from the SNMP Manager to the SNMP Agent, carried in the SetRequest-PDU message.
Obviously, telling a device to change a variable's value is a more significant request than just asking the device to read the value. For this reason, the managed device must very carefully analyze and verify the information in the request to ensure that the request is valid. The checks performed include:
This is also a place where general protocol security issues become more important.
Key Concept: SNMP network management stations control the operation of managed devices by changing MIB objects on those devices. This is done using the SetRequest-PDU message, which specifies the objects to be modified and their values.