# Installing the master agent under Windows

Complete the following steps to install the SNMP master agent under Windows:

Step | Action
1 | Click Start > Control Panel > Add or Remove Programs.
2 | Click the Add or Remove Programs icon in the Control Panel menu. The Add or Remove Programs dialog box displays.
3 | Click Add/Remove Windows Components in the bar to the left of the window. The Windows Components Wizard dialog box display the Windows packages you can install.
4 | Select the Management and Monitoring Tools package, and click Next. The Management and Monitoring Tools package is installed. During installation, you are prompted to insert the Windows CD. Reboot the system after installation.
5 | (Optional) Configure the SNMP master agents by completing the following steps: In the Control Panel > Administrative Tools menu, click Services. The Services dialog box displays. Right-click on SNMP Service and select Properties. The SNMP Properties dialog displays. Select the Traps tab. Add a Community Name. For example: public Add the addresses of the hosts that you want to send traps to (if any) to the Trap Destination list. In the Security tab, you can modify the access rights. When you are finished, click Apply, then click OK. Open a command prompt window. Enter the following command to stop or start the SNMP service: net stop snmp net start snmp
6 | Enter the following command to stop or start the SNMP trap service: net stop snmptrap net start snmptrap The SNMP trap service is not required if you use only NMS subagents. However, you will need it if other standard subagents are attached to the master agent.
7 | Enter the following command to verify that SNMP service is started: netstat -a The following text displays: UDP snmplab_3:snmp-trap *:* UDP snmplab_3:snmp *:*
8 | Verify that the SNMP master agent is properly installed. To do so, use any SNMP management station. You can also use the snmpwalk demonstration program (installed with the SNMP package) to enumerate the contents of the Mib II agents.
9 | Install the NMS subagents and multiplexer. Note: Make sure to add the installed components to the registry as described in Modifying the Windows registry.

When you first install the SNMP service under Windows, the public community has only READ_ONLY access.

Note: For detailed configuration information, see the Windows documentation for SNMP.