Owner manual

244 HP VMA SAN Gateway Users Guide AM456-9026A
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:
gateway-a [hw-vmga: master] > enable
gateway-a [hw-vmga: master] # conf terminal
gateway-a [hw-vmga: 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
gateway-a [violin1: master] (config) # snmp-server traps event fc-port-
state-change
*gateway-a [violin1: master] (config) # wr mem