For a description of traps, refer to “Traps” on page 790. This section defines the traps that may be returned to the SM by a device's SMA.
When a SubnTrap(Notice) is sent to the SM by a device's SMA, the Notice attribute delivered in the packet has the format defined in Table 28-9 on page 798. The following information is delivered in the Notice's various elements:
The IsGeneric flag = 1, indicating that this is not a vendor-specific event.
The Type element indicates that this is Subnet Management trap.
The TrapNumber element identifies the type of event that occurred.
The IssuerLID element identifies the port address of the port that sent the trap.
Table 29-7 on this page lists the various event types that may be sent to the Master SM by a device's SMA. Table 29-8 on page 846 through Table 29-12 on page 848 provide a description of the fields that are returned in the Notice.DataDetails attribute element.
Trap Number | Device Type | Description |
---|---|---|
64 | subnet | <LIDADDR><PORTNO> is now in service. |
65 | subnet | <LIDADDR><PORTNO> is out of service. |
128 | switch | Link state of at least one port of switch at <LIDADDR> has changed. |
129 | any | Local Link Integrity threshold reached at <LIDADDR><PORTNO>. |
130 | any | Excessive Buffer Overrun threshold reached at <LIDADDR><PORTNO>. |
131 | switch | Flow Control Update watchdog timer expired at <LIDADDR><PORTNO>. |
256 | any | Bad M_Key, <MKEY> from <LIDADDR> attempted <METHOD> with <ATTRIBUTEID> and <ATTRIBUTEMODIFIER>. |
257 | any | Bad P_Key, <KEY> from <LIDADDR1> /<GIDADDR1>/<QP1> <LIDADDR2>/<GIDADDR2>/<QP2> on <SL>. |
258 | any | Bad Q_Key, <KEY> from <LIDADDR1>/<GIDADDR1>/<QP1> to <LIDADDR2>/<GIDADDR2>/<QP2> on <SL>. |
Field | Length (bits) | Description |
---|---|---|
LIDADDR | 16 | Local Identifier |
PORTNO | 8 | Port number |
Padding | 408 | Shall be ignored on read. Content is unspecified. |
Field | Length (bits) | Description |
---|---|---|
LIDADDR | 16 | Local Identifier |
Padding | 416 | Shall be ignored on read. Content is unspecified. |
Field | Length (bits) | Description |
---|---|---|
Reserved0 | 16 | Shall be filled with zeroes |
LIDADDR | 16 | Local Identifier |
PORTNO | 8 | Port number |
Padding | 392 | Shall be ignored on read. Content is unspecified. |
Field | Length (bits) | Description |
---|---|---|
Reserved0 | 16 | Shall be filled with zeroes |
LIDADDR | 16 | Local Identifier |
Reserved1 | 16 | Shall be filled with zeroes |
METHOD | 8 | Method |
Reserved2 | 8 | Shall be filled with zeroes |
ATTRIBUTEID | 16 | Attribute ID |
ATTRIBUTEMODIFIER | 32 | Attribute Modifier |
MKEY | 64 | M_Key |
Padding | 256 | Ignored on read. Content is unspecified. |
Field | Length (bits) | Description |
---|---|---|
Reserved0 | 16 | Shall be filled with zeroes |
LIDADDR1 | 16 | Local Identifier |
LIDADDR2 | 16 | Local Identifier |
KEY | 32 | Q_Key or P_Key. If P_Key, the 16 most-significant bits of the field shall be set to 0 and the 16 least-significant bits of the field shall be set to the P_Key. |
SL | 4 | Service Level |
Reserved2 | 4 | Must be filled with zeroes |
QP1 | 24 | Queue Pair |
Reserved3 | 8 | Must be filled with zeroes |
QP2 | 24 | Queue Pair |
GIDADDR1 | 128 | Global Identifier. If no GRH is present in the offending packet, this field shall be filled with zeroes. |
GIDADDR2 | 128 | Global Identifier. If no GRH is present in the offending packet, this field shall be filled with zeroes. |
Padding | 32 | Shall be ignored on read. Content is unspecified. |