HP StorageWorks Command View XP Command Line Interface (CLI) reference guide (B9357-96161, January 2006)

184 CLI Commands for the XP48 and XP512
list traps
Description This command displays all the events from the disk array that have resulted in an SNMP trap.
Syntax list traps [-n <componentname...>] [-r <refcode...>]
[-s <statustype...>] [-c <category>]
Arguments [-n <componentname...>]
Lists traps for the specified components.
[-r <refcode...>]
Lists traps with the specified reference code.
[-s <statustype...>]
Lists traps with the specified status types (for example, acute or acute:service). Values are normal,
acute, service, moderate, and serious.
[-c <category>]
Lists traps in the specified category. <category> must be one value (for example, CHA
Processor Error).
Example
Component,STATUS,REFCODE,CATEGORY,ERROR
CHA-1P, Moderate,399D00,CHA Processor Error, Injustice DC Voltage Control
CHA-1Q, Moderate,399E10,CHA Processor Error, Injustice CE MODE
R120,Service EF2200,Drive error (normal R/W), Drive Blockade (Effect of Dynamic
sparing normal end)
DRRA1-1D,Moderate,3D9C21,DKA Processor Error,MPA slave error
CHA-1Q,Moderate,399E10,CHA Processor Error, Injustice CE MODE
NOTE: For some traps, the component name, Status, or Category may not be available for display.
In those cases, these fields are displayed as --.