H3C Technologies H3C Intelligent Management Center User Manual

Page 682

Advertising
background image

668

Macro Value

$E

Trap Enterprise ID

$S

Trap Specific ID

$G

Trap Generic ID

$#

Number of trap variables

$P Interface

description

8.

Enter the cause for the condition for which this trap was sent in the Trap Cause field.
Maximum length of this field is 512 characters.

9.

Enter the remediation suggestion for the resolution to the condition indicated by this trap in the

Remediation Suggestion field.
Maximum field length is 128 characters.

10.

If you want to define the parameters for this trap definition, click the checkbox next to Set
Parameter to define the parameters for this trap definition.

11.

Click Add under the Set Parameter checkbox.

12.

Enter a name for the parameter in the Parameter Name field.
Maximum length is 64 characters.

13.

Enter the parameter's Object ID in the Parameter OID field.

14.

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.
The trap parameter Object ID and parameter type can be found in the vendor's MIB definition file.

15.

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.

16.

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.

17.

Click OK.

18.

If the trap you are configuring is to clear or recover an event, click the checkbox next to Restore
Trap to establish this trap definition as a clear/recover or restore trap definition.
When configuring a restore trap definition, you must include the traps that are cleared, recovered,
or restored by this trap definition.

19.

Click Select Trap under the Restore Trap checkbox.

Advertising