Configuring the Simple Network Management Protocol (SNMP)

The SNMP protocol

SNMP is a simple protocol with four basic operations: get, getnext, set, and trap. Each operation is encoded in a separate Protocol Data Unit (PDU). An additional PDU (getResponse) is defined for replying to get, getnext, and set operations. The PDUs are carried across a network in User Datagram Protocol (UDP) datagrams over IP, or in IPX packets. UDP ports 161 and 162, and IPX sockets 36879 and 36880 are normally used by SNMP.

Although using an unreliable protocol such as UDP or IPX may initially seem counter intuitive, it has definite advantages. For example, sending UDP packets over an unreliable network is faster than establishing a TCP connection. This is because SNMP requires only one packet for the request and a second one for the response. On the other hand, all TCP implementations require three packets just to establish a connection.


© 1999 The Santa Cruz Operation, Inc. All rights reserved.
UnixWare 7 Release 7.1.1 - 5 November 1999