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 section on SNMP protocol operations described the way that SNMP messages are employed to communicate network management information. Those discussions focused primarily on the logical processes by which different tasks are accomplished using these messages. Let's now take a closer look at the lower-level details of exactly how these messages are created, addressed and sent by an SNMP device.
Message generation in SNMP is a bit different than the typical TCP/IP client/server model used for most other protocols. There aren't really any formal clients and servers in SNMP, since management information can be obtained from any deviceit is distributed. Most of the message exchanges use a matched pair of request and reply messages. The network management station (NMS) usually acts as the client in these exchanges, sending a particular get or set request to an SNMP agent, which plays the role of server for the information it contains. However, SNMP agents aren't usually considered servers in the conventional sense of the term.
SNMP traps deviate from the normal request/reply model of message generation entirely. When a trap is triggered, an SNMP agent sends a trap message to a network management station on its own, not in reaction to receiving a request. Since trap messages are unconfirmed there is no reply. Note, however, that the SNMPv2/v3 InformRequest-PDU message is confirmed, and a response message is thus sent back to the NMS that generates it.
Once a message has been generated, it is sent using the protocols at the levels below the application layer where SNMP resides. As we saw in the overview of the SNMP Protocol, the current SNMP standard set separates description of protocol operations and PDUs from the methods used to actually send them. Starting with version 2, SNMP has defined several transport mappings that describe how SNMP PDUs can be sent over a variety of internetworking protocol suites, including TCP/IP, OSI, IPX/SPX (Novell) and Appletalk.
Many of the specific details of SNMP messaging depend on the transport mapping that is used in a particular implementation. SNMP is of course primarily used on TCP/IP internetworks, and TCP/IP is where our main interest lies in this part of the Guide. I will therefore continue this discussion by looking at transport issues when SNMP is used over IP.