Skip to main content

9. Appendix

This appendix details the TCP packet transfers required to perform a single SNMP operation assuming that the connection is established only for that operation and that a single SNMP operation (e.g., get request) is performed. We also assume that all operations are "normal" i.e., that there are no lost packets, no simultaneous opens, no half opens, and no simultaneous closes. We also ignore the possibility of TCP segmentation and IP fragmentation.

The nomenclature used to illustrate the packet transactions is the same as that used in the TCP Specification [4].

          Packet  Management                         Managed
Number Station Object
Connection Open...
1 >--<CTL=SYN>----------------------->
2 <--<CTL=SYN,ACK>-------------------<
3 >--<CTL=ACK>----------------------->
Connection now open,
SNMP Request is sent.
4 >--<DATA=SNMP Request>------------->
Response comes back
5 <--<DATA=SNMP Response, CTL=ACK>---<
6 >--<CTL=ACK>----------------------->
Operation is complete,
Management station initiates the
close.
7 >--<CTL=FIN,ACK>------------------->
8 <--<CTL=ACK>-----------------------<
9 <--<CTL=FIN,ACK>-------------------<
10 >--<CTL=ACK>----------------------->
Wait 2 MSL
Connection now closed.

Some optimizations are possible IF the TCP has knowledge of the type of operation. However, a general purpose TCP would not be tuned to SNMP operations so those optimizations would not be done.