HP (Hewlett-Packard) M208 Switch User Manual


 
144 USING THE M208’S ADDITIONAL OPTIONS: Managing With SNMP
SNMP Security
SNMP does not include any formal type of security definition. However, security can
be accomplished using communities. A community is a string that is sent with every
SNMP request and is used to define a certain view of the MIB. By doing this, you can
control what parts of the MIB are accessed by SNMP managers.
To access the M208’s custom MIB, the public community string can be used to read
any variable that have read access. To restrict write access, there is an additional
security step implemented. This involves defining a user named snmp on the M208
with root privileges. The password defined for this snmp user will then be used as the
community string which allows write access.
If no snmp user is defined with root privileges, no write requests will be accepted by
the M208.
Adding an SNMP User
To add a user named snmp with root privileges, please follow the steps below:
1 Login to the M208 as a root user.
2 Add a user named snmp.
set user add snmp
3 Set the user type to root.
set user type snmp root
4 Set the password for the snmp user.
set user passwd snmp
snmppassword
5 Save the changes.
save
The user snmp is now created and snmppassword is the only community string which
will allow write access.
Compiling and Monitoring the Custom MIB
For read-only SNMP functionality, please follow the steps below:
1 Copy the M208 MIB definition file from the host software disk in a file called
m208mib.txt. This file can also be downloaded from the Microplex FTP site
(ftp.microplex.com: support/m208/misc/mplxmib.txt) or can be accessed via
N
o
t
e