FIGURE 8-1Sun Server MIB Tree

SNMP Messages

SNMP is a protocol, not an operating system, so you need some type of application to use SNMP messages. Your SNMP management software might provide this functionality, or you can use an open-source tool like net-SNMP, which is available at

http://net-snmp.sourceforge.net/

Both management stations and agents use SNMP messages to communicate. Management stations can send and receive information. Agents can respond to requests and send unsolicited messages in the form of a trap. There are five functions that management stations and agent, use:

Get

GetNext

GetResponse

Set

Trap

By default, port 161 is used for SNMP messages, and port 162 is used to listen for SNMP traps.

Chapter 8 Using Simple Network Management Protocol 91

Page 107
Image 107
Sun Microsystems X4150 manual Snmp Messages, 1Sun Server MIB Tree