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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SNMP agent implementations provide no means for a user to make new objects<br />

available. The SNMP DPI addresses this issue by providing a lightweight<br />

mechanism that permits users to dynamically add, delete, or replace<br />

application-specific or user-specific management variables in the local MIB<br />

without requiring recompilation of the SNMP agent. This is achieved by writing a<br />

subagent that communicates with the agent through the SNMP distributed<br />

programming interface (DPI), described in RFC 1592.<br />

The SNMP DPI allows a process to register the existence of a MIB object with<br />

the SNMP agent. When requests for this object are received by the SNMP agent,<br />

it will pass the query on to the process acting as a subagent. This subagent then<br />

returns an appropriate answer to the SNMP agent, which then packages an<br />

SNMP response packet <strong>and</strong> sends it to the remote network management station<br />

that initiated the request.<br />

The DPI communication between the SNMP agent <strong>and</strong> the subagent is<br />

transparent to the remote network management stations. This communication<br />

can occur over a variety of transports, including stream, datagram, <strong>and</strong> UNIX<br />

sockets.<br />

Using the SNMP DPI, a subagent can:<br />

► Create <strong>and</strong> delete subtrees in the application-specific or user-specific MIB<br />

► Create a register request packet to inform the SNMP agent of the MIB<br />

supported by the subagent<br />

► Create response packet to answer requests received from the SNMP agent<br />

► Create a TRAP request packet to be delivered by the SNMP agent to remote<br />

management stations<br />

420 <strong>TCP</strong>/<strong>IP</strong> <strong>Tutorial</strong> <strong>and</strong> <strong>Technical</strong> <strong>Overview</strong>

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

Saved successfully!

Ooh no, something went wrong!