This step-by-step article describes how to configure traps on a Simple Network Management Protocol (SNMP) service. You can configure the SNMP service to send a trap when it receives a request for information that does not contain the correct community name and does not match an accepted host name for the service.
Configure SNMP Agent Information
To configure SNMP agent information:
- Right-click My Computer, and then click Manage.
- Expand the Services and Applications node, and then click Services.
- In the Details pane, double-click SNMP Service.
- On the Agent tab, type the computer user's name in the Contact box, and then type the computer's physical location in the Location box. Note that these comments are treated as text and are optional.
- Check all of the boxes that indicate network capabilities that are provided by your Microsoft Windows NT-based computer. Service options are:
NOTE: If you have installed additional TCP/IP network devices, such as a switch or a router, you should view the following RFC 1213 Web site for additional information:
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
- Physical: Specifies that the computer manages any physical TCP/IP devices, such as a hard disk partition or a repeater.
- Applications: Specifies whether this computer uses any programs that send data by using TCP/IP, such as electronic mail.
- Datalink and subnetwork: Specifies whether this computer manages a TCP/IP subnetwork or datalink, such as a bridge.
- Internet: Specifies whether this computer acts as an IP gateway (router).
- End-to-end: Specifies whether this computer acts as an IP host.
After you complete these steps, click the Traps
tab to continue to the next task.
Configure SNMP Communities and Traps
- To create a community, type the case-sensitive community name in the Community name box, and then click Add to list. Repeat this step if you want to create additional community names.
- In SNMP Service Properties, click Add on the Traps tab.
- In the Host name, IP or IPX address box, type information for the host, and then click Add to list.
- Click Add, type the host name, IP address, or IPX address in the appropriate box under SNMP Service Configuration, and then click Add. The host name or address appears in the Trap destinations list. Repeat this step until you have added all of the hosts that you want to add.
- Repeat steps 3 and 4 until you configure all the SNMP communities you want, and then click the Security tab to continue to the next task.
Configure SNMP Security
To configure SNMP security for a community:
- In SNMP Service Properties, on the Security tab, click Send authentication trap if you want a trap message sent whenever authentication fails.
- Under Accepted community names, click Add.
- Under Community Rights, click a permission level for this host to process SNMP requests from the selected community. To view a description of a dialog box item, right-click the item, and then click What's This?.
- In the Community Name box, type a case-sensitive community name, and then click Add.
- Under SNMP Service Properties, specify whether or not to accept SNMP packets from a host:
- To accept SNMP requests from any host on the network, regardless of identity, click Accept SNMP packets from any host.
- To limit acceptance of SNMP packets, click Accept SNMP packets from these hosts, click Add, type the appropriate host name, IP or IPX address, and then click Add again.
Although the SNMP service and SNMP security are now ready without rebooting, you should still restart your computer.IMPORTANT
: If you remove all of the community names, including the default name Public, SNMP does not respond to any community names that are presented.
For additional information about SNMP services, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
How to Troubleshoot SNMP Security Issues
How to Send SNMP Trap with Variable Bindings from Testdll.dll
How to Programmatically Trigger a SNMP Trap
The Management Information Base (MIB) Support in Windows 2000
Installing the SNMP Agents on a 3Com Server
Duplicate SNMP Traps Sent on Windows 2000
SNMP Service Will Not Start with Event ID: 7024
Article ID: 315154 - Last Review: November 1, 2006 - Revision: 3.3
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
|kbenv kbhowto kbhowtomaster kbnetwork KB315154|