SW traps
There are six specific traps defined in HP SW-TRAP:
•
swfault (no longer supported)
•
swSensorScn (no longer supported)
•
swFCPortScn: This trap is generated by a port state change.
•
swEventTrap: This trap is generated by any switch event reported to the system error log.
•
swFabricWatchTrap: This trap is generated when any Fabric Watch threshold is reached.
•
swTrackChangesTrap: This trap is generated by a login or a logout.
The SW-TRAP can be configured to send traps using the snmpConfig command. See the HP
StorageWorks Fabric OS 5.x command reference guide for more information on this command.
Object instances
MIB objects are defined by the OID, which is the type of object, and by the instance number, which is an
instance of that MIB object. A Fibre Channel port is a MIB object, and port 0 is an instance of that object.
The following is an OID number and an instance number:
1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11.5
where:
1.3.6.1.4.1.1588.2.1.1.1.6.2.1.11 is the object ID (of swFCPortTxWords) and
5 is the instance ID for port 4.
NOTE:
You must add 1 to the port number to get its instance number in SNMP, because SNMP
numbering starts at 1; switch port numbering starts at 0.
Loading HP MIBs
The HP MIB is a set of variables that are private extensions to the Internet standard MIB-II. The MIB-II
standard is documented in Request for Comment (RFC) 1213, Management Information Base for Network
Management of TCP/IP-based Internets: MIB-II. The HP agents support many other Internet-standard MIBs.
These standard MIBs are defined in RFC publications. To find specific MIB information, examine the HP
MIB structure and the standard RFC MIBs supported by HP.
This section describes the requirements and dependencies when loading MIBs and includes:
• "Before loading
• "MIB loading
Before loading MIBs
Before loading HP MIB files, ensure that you have the correct version of SNMP for your Fabric OS version
(see
Table
2).
Table 2
Fabric OS supported SNMP versions
Firmware
Fabric OS 2.6.2 and previous
Fabric OS 3.2.0 and previous
Fabric OS 4.2.0 and previous
Fabric OS 4.4.0
Fabric OS 5.0
1
The corresponding Fabric OS has SNMPv2 capabilities, but it is not officially supported by HP.
2
Fabric OS 4.4.0 and 5.0 support SNMPv3-USM (snmpUsmMIB) MIB, which is available as RFC 3414.
32
Understanding HP SNMP
MIBs" on page 32
order" on page 33
SNMPv1
Yes
Yes
Yes
Yes
Yes
SNMPv2
SNMPv3
1
Yes
No
1
Yes
No
No
No
1
2
Yes
Yes
1
2
Yes
Yes