Configuring and testing traps – HP VMA-series Memory Arrays User Manual
Page 248

248
AM456-9007B Rev 02
HP VMA SAN Gateway Installation and User Guide
Configuring and Testing Traps
Use the
snmp command to configure traps, which can be sent to multiple hosts:
Enabling Traps
Use the
snmp-server traps event command to enable traps:
Testing Traps
Use the
snmp-server traps send-test command to test traps:
lab-stein6-acma [hw-stein6: master] > enable
lab-stein6-acma [hw-stein6: master] # conf terminal
lab-stein6-acma [hw-stein6: master] (config) # snmp ?
community Set the read-only community string
contact Set a value for the syscontact variable in MIB-II
enable Enable SNMP-related functionality
host Configure hosts to which to send SNMP traps
listen Configure SNMP server interface access restrictions
location Set a value for the syslocation variable in MIB-II
traps Configure trap-related settings
user Configure SNMP access on a per-user basis█
lab-vs3-n2 [lab-vs3: master] (config) # snmp-server traps event fc-port-state-change
*lab-vs3-n2 [lab-vs3: master] (config) # wr mem█
lab-stein6-acma [hw-stein6: master] (config) # snmp-server traps ?
community Set the default community for traps sent to hosts which do not have
a custom community string set
event Specify which events will be sent as traps
send-test Send a test trap
lab-stein6-acma [hw-stein6: master] (config) # snmp-server traps send-test█