You are here: SwitchKit SNMP User’s Guide > 4 System Customization > Changing the Password on Windows®

Changing the Password on Windows®

This procedure describes how to change the password for your SNMP Agent on a Windows® system.

Before you begin

Decide what password you want to use. The password should contain a maximum of eight alphanumeric characters.

Changing the Password on Windows®

Follow the steps below to change your SNMP Agent password on Windows®:

1 Stop the SNMP Master Agent by opening a Command Prompt window and typing the following:

# net stop snmpdm

After stopping the SNMP Master Agent, the following messages should be displayed:

# The SNMP EMANATE Master Agent service is stopping.

# The SNMP EMANATE Master Agent service was stopped successfully.

2 With a text editor, open snmpd.cnf which is found in the directory:
C:\Program Files\Cantata\SNMP\srconf\agt.

3 Using the editor, search for CSPAdmin (or the current password).

Replace all instances of CSPAdmin (or the password) with the new password. The password should contain a maximum of eight alphanumeric characters.

4 Save the snmpd.cnf file. Save a backup copy. The Master Agent will modify the file if there are any errors.

5 From the same Command Prompt window, start the SNMP Master Agent by typing the following:

# net start snmpdm

After starting the SNMP Master Agent, the following message should be displayed:

# The SNMP EMANATE Master Agent service was started successfully.

You do not need to start and stop CSPEventManager and CSPAgent. Once the password has been changed, this is the password that you must use whenever you want to do a Set command. Changing the password only applies to the local system. If you want to change the password globally, you must do this on each destination.

6 To test the new password, open a Command Prompt window and type the following:

# cd c:\Program Files\Cantata\
SNMP\srconf\bin

7 Type the following:

# setany -v1 localhost <new password> cspEventMax.0 -i 300

The result of this command should be:

# cspEventMax.0 = 300