HP (Hewlett-Packard) M208 Switch User Manual


 
USING THE M208’S ADDITIONAL OPTIONS: Managing With SNMP 145
the Microplex Web site (http://www.microplex.com/).
2 Compile this MIB description file to work with your SNMP manager.
3 Using your SNMP manager, view the particular MIB variables that you wish to
monitor.
If you are using Sun’s SunNet Manager, you will need to download a special MIB
file (ftp.microplex.com: support/m208/misc/mplxmib.txt.SNM) from the
Microplex FTP site. This file can also be accessed via the Microplex Web site.
If you are using Castle Rock Computing’s SNMPc, you will need to rename the
MIB variable UInteger32 to another name such as U32.
Writing to the Custom MIB
The following example explains how to use the custom MIB variables to set the
M208’s parameters. For example, to set the M208’s com2 properties to 19200, cs8,
ixon, please follow the steps below:
This example assumes that the snmp password has been defined as custommib, that
the M208’s ipname is spike, and that the SNMP manager is the Tricklets package.
1 Set up an snmp user with root privileges on the M208. Please see Adding an
SNMP User on page 144 for details.
2 Issue the following configuration commands using the snmp user’s password as
the community string.
echo “m208IfComSpeed[1.4]=19200” | snmp-set spike
custommib
echo “m208IfComCharS[1.4]=8” | snmp-set spike custommib
echo “m208IfComIxon[1.4]=2” | snmp-set spike custommib
Setting the M208 to Send Traps to an SNMP Manager
The M208 continuously generates traps but unless the trap table is filled in, no SNMP
manager will receive this information. To set the M208 to send traps to a particular
SNMP manager, please follow the steps below:
This example assumes that the snmp password has been defined as custommib, that
the M208’s ipname is spike, and that the SNMP manager is the Tricklets package.
1 Set up a snmp user with root privileges on the M208. Please see Adding an
N
o
t
e
N
o
t
e
N
o
t
e
N
o
t
e