H3C Technologies H3C Intelligent Management Center User Manual
Page 685
671
Macro Value
$s
Trap severity level
$x
Date when the trap was generated
$X
Time when the trap was generated
$@
Time when the numerical trap was generated
$E
Trap Enterprise ID
$S
Trap Specific ID
$G
Trap Generic ID
$#
Number of trap variables
$P Interface
description
7.
Modify the cause for the condition for which this trap was sent in the Trap Cause field.
Maximum length of this field is 512 characters.
8.
Modify the remediation suggestion for the resolution to the condition indicated by this trap in the
Remediation Suggestion field.
Maximum field length is 128 characters.
9.
If you want to set parameters for this trap definition, click the checkbox next to Set Parameters
to define the parameters for this trap definition.
10.
Click Add under the Set Parameter checkbox.
11.
Modify the name for the parameter in the Parameter Name field.
Maximum length is 64 characters.
12.
Modify the parameter OID in the Parameter OID field.
13.
Select the type of parameter from the Parameter Type list.
Parameter types for SNMP traps include, UInteger32, Integer32, Counter32, Gauge32, TimeTicks,
IPAddress, OID, OctetString, Counter64, Opaque, and Others.
14.
Set the key parameter setting by selecting Yes from the Key Parameter list if this is a key parameter.
Select No if it is not.
The Key Parameter field is used by IMC to pair or match traps sent by the same device or
component of a device. For example, devices can generate Link Down and Link Up traps for every
interface. You want IMC to process the Link Down trap and generate alarms for every interface
that reports this condition.
You also want IMC to process the Link Up traps that the device sends so that IMC can automatically
clear or recover the Link Down alarm condition for the correct interface as soon as it receives the
Link UP trap. To do so, you must use the same Object ID for the key parameter in the Link Down
definition as you use for the trap definition that identifies the Link Up trap. For the system-defined
Link Down/Link Up trap definitions, the Interface Index Object ID is used as the Key Parameter.
15.
Specify whether the trap is an interface index.
If you select Yes, the trap will be configured as an interface index, and the trap will affect the link
status in the topology. If you select No, the trap is not configured as an interface index.
16.
Click OK.
17.
Click the checkbox to the left of the parameters you want to move.
18.
Click Delete to delete the parameters.