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

Command View XP Command Line Interface (CLI) reference guide 117
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. <componentname> can be one value or a set of values
(for example, CHA-1P or CHA-1P:DRR80-1D).
[-r <refcode...>]
Lists traps with the specified reference codes. <refcode> can be one value or a set of values
(for example, BF1211 or BF1211-FFF01C).
[-s <statustype...>]
Lists traps with the specified status types. <statustype> can be one value or a set of values
(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,Date,Time
CHA-1P, Moderate,399D00,CHA Processor Error, Injustice DC Voltage
Control,10/03/2001,04:95
CHA-1Q, Moderate,399E10,CHA Processor Error, Injustice CE MODE, 10/03/2001,04:95
R120,Service EF2200,Drive error (normal R/W), Drive Blockade (Effect of Dynamic
sparing normal end), 10/03/2001,04:95
DRRA1-1D,Moderate,3D9C21,DKA Processor Error,MPA slave error, 10/03/2001,04:95
CHA-1Q,Moderate,399E10,CHA Processor Error, Injustice CE MODE, 10/03/2001,04:95
NOTE: For some traps, the component name, Status, or Category may not be available for display.
In those cases, these fields are displayed as --.