25.02.2013 Views

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

TCP/IP Tutorial and Technical Overview - IBM Redbooks

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The interaction between a subagent <strong>and</strong> the SNMP agent is illustrated in<br />

Figure 11-5.<br />

SNMP<br />

Agent<br />

SNMP<br />

DPI<br />

Figure 11-5 SNMP DPI overview<br />

Open<br />

Response<br />

Register<br />

Response<br />

Get/Getnext/Set<br />

Response<br />

Trap<br />

ARE_YOU_THERE<br />

Response<br />

Unregister<br />

Response<br />

Close<br />

DPI<br />

Interface<br />

Client or<br />

SNMP<br />

subagent<br />

An SNMP subagent, running as a separate process (potentially on another<br />

machine), can set up a connection with the agent. The subagent has an option to<br />

communicate with the SNMP agent through UDP, <strong>TCP</strong> sockets, or other<br />

mechanisms.<br />

After the connection is established, the subagent issues a DPI OPEN <strong>and</strong> one or<br />

more REGISTER requests to register one or more MIB subtrees with the SNMP<br />

agent. The SNMP agent responds to DPI OPEN <strong>and</strong> REGISTER requests with a<br />

RESPONSE packet, indicating success or failure.<br />

As the SNMP agent receives queries from remote management stations, any<br />

requests for an object in a subtree registered by a subagent are forwarded<br />

through the DPI to that subagent. These requests are in the form of GET,<br />

GENEXT, or SET.<br />

Chapter 11. Application structure <strong>and</strong> programming interfaces 421

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!