# 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 > Programs.
2 | Click the Programs icon in the Control Panel menu. The Programs dialog box displays.
3 | Click Turn Windows features on or off in the Programs and Features section. The Server Manager dialog box displays the server information.
4 | Click Features on the left pane. The Features dialog box displays on the right pane, listing the features installed on the server.
5 | Click Add Features on the right. The Add Features Wizard dialog box displays. In the Features scroll down list, select SNMP Services > Next.
6 | View the features selected in the Confirm Installation Selections dialog box and click Install. After the installation succeeded message displays, click Close and reboot the server.
7 | (Optional) Configure the SNMP master agents by completing the following steps: In the Control Panel (Classic View) > 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
8 | 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.
9 | 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 *:*
10 | 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.
11 | 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.